mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 15:09:47 +00:00
minor fixes
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,600,800';
|
||||
|
||||
.stopwatch {
|
||||
text-align: center;
|
||||
padding: 1em;
|
||||
@@ -22,18 +20,4 @@
|
||||
.playpause {
|
||||
border-right: 1px dashed #fff;
|
||||
border-bottom: 1px dashed #fff;
|
||||
}
|
||||
|
||||
.playpause .play {
|
||||
display: inline-block;
|
||||
border-top: 19px solid transparent;
|
||||
border-left: 28px solid #000;
|
||||
border-bottom: 19px solid transparent;
|
||||
}
|
||||
|
||||
.playpause .pause {
|
||||
display: inline-block;
|
||||
border-right: 3px solid #000;
|
||||
border-left: 3px solid #000;
|
||||
padding: 20px 11px;
|
||||
}
|
||||
@@ -6,5 +6,6 @@
|
||||
<span class="seconds">00</span>
|
||||
</div>
|
||||
<div class="playpause text-center">
|
||||
<button class= "btn btn-default btn-start"> {{ __("Start") }} </button>
|
||||
<button class= "btn btn-primary btn-start"> {{ __("Start") }} </button>
|
||||
<button class= "btn btn-primary btn-complete"> {{ __("Complete") }} </button>
|
||||
</div>
|
||||
|
||||
@@ -155,7 +155,7 @@ frappe.ui.form.on("Timesheet Detail", {
|
||||
$('.form-grid')
|
||||
.find('[data-fieldname="timer"]')
|
||||
.append(frappe.render_template("timesheet"));
|
||||
frm.trigger("control_timer");
|
||||
frm.trigger("control_timer");
|
||||
})
|
||||
},
|
||||
hours: function(frm, cdt, cdn) {
|
||||
|
||||
Reference in New Issue
Block a user