Unify timestamper formatting

This commit is contained in:
nathangray 2019-05-02 10:17:32 -06:00
parent c8589b6439
commit b5762a6337
3 changed files with 21 additions and 0 deletions

View File

@ -42,6 +42,9 @@ var et2_timestamper = (function(){ "use strict"; return et2_button.extend([],
default: et2_no_init,
description: "Timezone. Default is user time."
},
statustext: {
default: "Insert timestamp into description field"
},
image: {
default: "timestamp"
},
@ -57,6 +60,8 @@ var et2_timestamper = (function(){ "use strict"; return et2_button.extend([],
*/
init: function() {
this._super.apply(this, arguments);
this.btn.addClass('et2_timestamper');
},
/**

View File

@ -704,6 +704,7 @@ insert new row after this one common en Insert new row after
insert new row in front of first line common en Insert new row before first line
insert row after common en Insert row after
insert row before common en Insert row before
insert timestamp into description field common en Insert timestamp into description field
install common en Install
integer common en Integer
international common en International

View File

@ -490,6 +490,21 @@ span.et2_date_duration input.et2_date_duration{
border: none;
}
/**
* Timestamper widget
*/
button.et2_button_with_image.et2_timestamper {
background-position: center;
background-size: 16px;
padding: 0px;
width: 24px;
height: 24px;
}
button.et2_timestamper:hover {
background-size: 16px;
}
/**
* Dialog widget
* It uses jQueryUI, so this is just our little bits - icon on left