Unify timestamper formatting

This commit is contained in:
nathangray 2019-05-02 10:17:32 -06:00
parent fb0c4d7db7
commit c54201b7af
3 changed files with 22 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

@ -691,6 +691,8 @@ 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
introduction common en Introduction

View File

@ -488,6 +488,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