mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Bring date/time format help modal back.
This commit is contained in:
parent
838ee5cae9
commit
a4b0da02d1
1 changed files with 124 additions and 2 deletions
|
@ -137,12 +137,12 @@
|
|||
<div class="form-group">
|
||||
<label for="date_format">Date Format</label>
|
||||
<input type="text" id="date_format" name="date_format" value="${config['date_format']}" size="30">
|
||||
<p class="help-block">Set your preferred date format. Click here to see the parameter list.</p>
|
||||
<p class="help-block">Set your preferred date format. <a href="#dateTimeOptionsModal" data-toggle="modal">Click here</a> to see the parameter list.</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="date_format">Time Format</label>
|
||||
<input type="text" id="time_format" name="time_format" value="${config['time_format']}" size="30">
|
||||
<p class="help-block">Set your preferred time format. Click here to see the parameter list.</p>
|
||||
<p class="help-block">Set your preferred time format. <a href="#dateTimeOptionsModal" data-toggle="modal">Click here</a> to see the parameter list.</p>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
@ -203,6 +203,128 @@
|
|||
</div>
|
||||
</div>
|
||||
<input type="button" class="btn btn-medium btn-primary" value="Save" onclick="doAjaxCall('configUpdate',$(this),'tabs',true);return false;" data-success="Changes saved successfully">
|
||||
<div id="dateTimeOptionsModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="dateTimeOptionsModal" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
||||
<i class="fa fa-remove"></i>
|
||||
</button>
|
||||
<h3 id="myModalLabel">Date & Time Format Options</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="span6">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="3"><h5>Day</h5></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>DD</strong></td>
|
||||
<td width="300">Numeric, with leading zeros</td>
|
||||
<td>01 to 31</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>D</strong></td>
|
||||
<td>Numeric, without leading zeros</td>
|
||||
<td>1 to 31</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>Do</strong></td>
|
||||
<td>The English suffix for the day of the month</td>
|
||||
<td>st, nd or th in the 1st, 2nd or 15th.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="3"><h5>Month</h5></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>MM</strong></td>
|
||||
<td>Numeric, with leading zeros</td>
|
||||
<td>01 to 31</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>M</strong></td>
|
||||
<td>Numeric, without leading zeros</td>
|
||||
<td>1 to 31</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>MMMM</strong></td>
|
||||
<td>Textual full</td>
|
||||
<td>January to December</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>MMM</strong></td>
|
||||
<td>Textual three letters</td>
|
||||
<td>Jan to Dec</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="3"><h5>Year</h5></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>YYYY</strong></td>
|
||||
<td>Numeric, 4 digits</td>
|
||||
<td>Eg., 1999, 2003</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>YY</strong></td>
|
||||
<td>Numeric, 2 digits</td>
|
||||
<td>Eg., 99, 03</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="3"><h5>Time</h5></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>a</strong></td>
|
||||
<td width="300">am/pm Lowercase</td>
|
||||
<td>am, pm</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>A</strong></td>
|
||||
<td>AM/PM Uppercase</td>
|
||||
<td>AM, PM</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>h</strong></td>
|
||||
<td>Hour, 12-hour, without leading zeros</td>
|
||||
<td>1-12</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>hh</strong></td>
|
||||
<td>Hour, 12-hour, with leading zeros</td>
|
||||
<td>01-12</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>H</strong></td>
|
||||
<td>Hour, 24-hour, without leading zeros</td>
|
||||
<td>0-23</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>HH</strong></td>
|
||||
<td>Hour, 24-hour, with leading zeros</td>
|
||||
<td>00-23</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>mm</strong></td>
|
||||
<td>Minutes, with leading zeros</td>
|
||||
<td>00-59</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>ss</strong></td>
|
||||
<td>Seconds, with leading zeros</td>
|
||||
<td>00-59</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong>zz</strong></td>
|
||||
<td>Timezone abbreviation</td>
|
||||
<td>Eg., EST, MDT ...</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<div role="tabpanel" class="tab-pane" id="tabs-5">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue