fix: create course button and search bar width
This commit is contained in:
@@ -180,8 +180,8 @@
|
||||
</label>
|
||||
|
||||
<div class="mt-4">
|
||||
<a class="btn btn-secondary btn-md" href=""> {{ _("Back to Lesson") }} </a>
|
||||
<button class="btn btn-primary btn-md btn-lesson pull-right"> {{ _("Save") }} </button>
|
||||
<button class="btn btn-primary btn-md btn-lesson pull-right ml-2"> {{ _("Save") }} </button>
|
||||
<button class="btn btn-secondary btn-md pull-right btn-back"> {{ _("Back to Lesson") }} </button>
|
||||
|
||||
<div class="attachments-parent">
|
||||
<div class="attachment-controls">
|
||||
|
||||
@@ -64,6 +64,10 @@ frappe.ready(() => {
|
||||
window.location.href = `${window.location.href}?edit=1`;
|
||||
});
|
||||
|
||||
$(".btn-back").click((e) => {
|
||||
window.location.href = window.location.href.split("?")[0];
|
||||
})
|
||||
|
||||
$(document).on("click", ".copy-link", (e) => {
|
||||
frappe.utils.copy_to_clipboard($(e.currentTarget).data("link"));
|
||||
$(".attachments").collapse("hide");
|
||||
|
||||
Reference in New Issue
Block a user