chore: remove obsolete welcome page (#37143)
This commit is contained in:
parent
d0eac47483
commit
dd24a1b36e
@ -342,5 +342,6 @@ execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for
|
||||
erpnext.patches.v15_0.correct_asset_value_if_je_with_workflow
|
||||
erpnext.patches.v15_0.delete_woocommerce_settings_doctype
|
||||
erpnext.patches.v14_0.migrate_deferred_accounts_to_item_defaults
|
||||
execute:frappe.delete_doc("Page", "welcome-to-erpnext")
|
||||
# below migration patch should always run last
|
||||
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
||||
|
@ -1,13 +0,0 @@
|
||||
#page-welcome-to-erpnext ul li {
|
||||
margin: 7px 0px;
|
||||
}
|
||||
|
||||
#page-welcome-to-erpnext .video-placeholder-image {
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#page-welcome-to-erpnext .youtube-icon {
|
||||
width: 10%;
|
||||
cursor: pointer;
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
<div class="container welcome-to-erpnext text-center" style="padding: 30px 0px;">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-push-2 col-sm-12">
|
||||
<h1>{%= __("Welcome to ERPNext") %}</h1>
|
||||
<p class="text-muted">
|
||||
{%= __("To get the best out of ERPNext, we recommend that you take some time and watch these help videos.") %}
|
||||
<br><br>
|
||||
</p>
|
||||
|
||||
<div class="embed-responsive embed-responsive-16by9">
|
||||
<div class="video-placeholder embed-responsive-item">
|
||||
<img class="video-placeholder-image"
|
||||
src="/assets/erpnext/images/erpnext-video-placeholder.jpg">
|
||||
<img class="centered youtube-icon"
|
||||
src="/assets/erpnext/images/YouTube-icon-full_color.png">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<h3>{%= __("Next Steps") %}</h3>
|
||||
<ul class="list-unstyled">
|
||||
<li><a class="text-muted" href="#">{%= __("Go to the Desktop and start using ERPNext") %}</a></li>
|
||||
<li><a class="text-muted" href="https://erpnext.com/docs/user" target="_blank">{%= __("Read the ERPNext Manual") %}</a></li>
|
||||
<li><a class="text-muted" href="https://discuss.erpnext.com" target="_blank">{%= __("Community Forum") %}</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,20 +0,0 @@
|
||||
frappe.pages['welcome-to-erpnext'].on_page_load = function(wrapper) {
|
||||
var parent = $('<div class="welcome-to-erpnext"></div>').appendTo(wrapper);
|
||||
|
||||
parent.html(frappe.render_template("welcome_to_erpnext", {}));
|
||||
|
||||
parent.find(".video-placeholder").on("click", function() {
|
||||
window.erpnext_welcome_video_started = true;
|
||||
parent.find(".video-placeholder").addClass("hidden");
|
||||
parent.find(".embed-responsive").append('<iframe class="embed-responsive-item video-playlist" src="https://www.youtube.com/embed/videoseries?list=PL3lFfCEoMxvxDHtYyQFJeUYkWzQpXwFM9&color=white&autoplay=1&enablejsapi=1" allowfullscreen></iframe>')
|
||||
});
|
||||
|
||||
// pause video on page change
|
||||
$(document).on("page-change", function() {
|
||||
if (window.erpnext_welcome_video_started && parent) {
|
||||
parent.find(".video-playlist").each(function() {
|
||||
this.contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*');
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"content": null,
|
||||
"creation": "2015-10-28 16:27:02.197707",
|
||||
"docstatus": 0,
|
||||
"doctype": "Page",
|
||||
"modified": "2015-10-28 16:27:02.197707",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Setup",
|
||||
"name": "welcome-to-erpnext",
|
||||
"owner": "Administrator",
|
||||
"page_name": "welcome-to-erpnext",
|
||||
"roles": [],
|
||||
"script": null,
|
||||
"standard": "Yes",
|
||||
"style": null,
|
||||
"title": "Welcome to ERPNext"
|
||||
}
|
Loading…
Reference in New Issue
Block a user