mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-01-30 00:51:14 -05:00
Use bootstrap icons in datepicker
This commit is contained in:
8
web/skins/classic/js/jquery-ui-1.11.3.js
vendored
8
web/skins/classic/js/jquery-ui-1.11.3.js
vendored
@@ -5423,8 +5423,8 @@ $.extend(Datepicker.prototype, {
|
||||
|
||||
prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
|
||||
"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
|
||||
" title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>" :
|
||||
(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w") + "'>" + prevText + "</span></a>"));
|
||||
" title='" + prevText + "'><span class='glyphicon glyphicon-menu-left'></span></a>" :
|
||||
(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+ prevText +"'><span class='glyphicon glyphicon-menu-left'></span></a>"));
|
||||
|
||||
nextText = this._get(inst, "nextText");
|
||||
nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
|
||||
@@ -5433,8 +5433,8 @@ $.extend(Datepicker.prototype, {
|
||||
|
||||
next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
|
||||
"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
|
||||
" title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>" :
|
||||
(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e") + "'>" + nextText + "</span></a>"));
|
||||
" title='" + nextText + "'><span class='glyphicon glyphicon-menu-right'></span></a>" :
|
||||
(hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+ nextText + "'><span class='glyphicon glyphicon-menu-right'></span></a>"));
|
||||
|
||||
currentText = this._get(inst, "currentText");
|
||||
gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
|
||||
|
||||
Reference in New Issue
Block a user