mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 05:26:22 +05:30
Added step=1 to the time input to add seconds selection.
Without the step modifier users on Chrome mobile couldn't edit blogs because the seconds were missing (hh:mm while hh:mm:ss was expected) This is my first commit, hope it worked :)
This commit is contained in:
parent
543084524a
commit
d378abac36
1 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ if (config('permalink.type') == 'post') {
|
|||
<input type="date" name="date" class="text" value="<?php echo date('Y-m-d', $postdate); ?>">
|
||||
<br>
|
||||
Hour, Minute, Second<br>
|
||||
<input type="time" name="time" class="text" value="<?php echo $time->format('H:i:s'); ?>">
|
||||
<input step="1" type="time" name="time" class="text" value="<?php echo $time->format('H:i:s'); ?>">
|
||||
<br><br>
|
||||
Meta Description (optional)<br>
|
||||
<textarea name="description" rows="3" cols="20"><?php if (isset($p->description)) { echo $p->description; } else { echo $olddescription;} ?></textarea>
|
||||
|
|
@ -170,4 +170,4 @@ if (config('permalink.type') == 'post') {
|
|||
<div id="wmd-preview" class="wmd-panel wmd-preview"></div>
|
||||
<!-- Declare the base path. Important -->
|
||||
<script type="text/javascript">var base_path = '<?php echo site_url() ?>';</script>
|
||||
<script type="text/javascript" src="<?php echo site_url() ?>system/admin/editor/js/editor.js"></script>
|
||||
<script type="text/javascript" src="<?php echo site_url() ?>system/admin/editor/js/editor.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue