TimeTrex Community Edition v16.2.0

This commit is contained in:
2022-12-13 07:10:06 +01:00
commit 472f000c1b
6810 changed files with 2636142 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
( function( $ ) {
$.fn.SeparatedBox = function( options ) {
var opts = $.extend( {}, $.fn.SeparatedBox.defaults, options );
var $this = this;
var label = '';
var field;
this.getField = function() {
return field;
};
this.setValue = function() {
};
this.getValue = function() {
};
this.setErrorStyle = function( errStr, show ) {
};
this.showErrorTip = function( sec ) {
};
this.hideErrorTip = function() {
};
this.clearErrorStyle = function() {
};
this.each( function() {
var o = $.meta ? $.extend( {}, opts, $( this ).data() ) : opts;
field = o.field;
var label_span = $( this ).find( '.label' );
label = o.label;
label_span.text( label );
} );
return this;
};
$.fn.SeparatedBox.defaults = {};
$.fn.SeparatedBox.html_template = `
<div class="separated-box">
<span class="label"></span>
</div>
`;
} )( jQuery );