diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/partials/files.ejs | 11 | ||||
| -rw-r--r-- | views/partials/settings.ejs | 16 |
2 files changed, 19 insertions, 8 deletions
diff --git a/views/partials/files.ejs b/views/partials/files.ejs index 5b55f4b..456fe17 100644 --- a/views/partials/files.ejs +++ b/views/partials/files.ejs @@ -21,7 +21,16 @@ <script class="templateTotal" type="text/html"> <tr class="total"> <td colspan="5"> - total size: <span class="{{size_class}}">{{size}}</span> + <div> + <span> + <i>sort by</i> + <a href="#" class="{{nameClass}}" id="sortByName">name</a> + <a href="#" class="{{dateClass}}" id="sortByDate">date</a> + </span> + <span> + total size: <span class="{{size_class}}">{{size}}</span> + </span> + </div> </td> </tr> </script> diff --git a/views/partials/settings.ejs b/views/partials/settings.ejs index 3964429..d3833e1 100644 --- a/views/partials/settings.ejs +++ b/views/partials/settings.ejs @@ -30,28 +30,30 @@ </div> <div> <label for="thread_hootbox">hoot style</label> - <input id="thread_hootbox" name="hootbox" value="0" type="hidden"> <input id="thread_hootbox" name="hootbox" value="1" type="checkbox"> </div> <div> <label for="thread_noupload">disable uploads</label> - <input id="thread_noupload" name="noupload" value="0" type="hidden"> <input id="thread_noupload" name="noupload" value="1" type="checkbox"> </div> <div> <label for="thread_shorturls">shorten urls</label> - <input id="thread_shorturls" name="shorturls" value="0" type="hidden"> <input id="thread_shorturls" name="shorturls" value="1" type="checkbox"> </div> <div> <label for="thread_privacy">private?</label> - <input id="thread_privacy" name="privacy" value="0" type="hidden"> <input id="thread_privacy" name="privacy" value="1" type="checkbox"> </div> - <div class="allowed"> + <div class="allowed_field_container"> + <label for="allowed_field">allow names:</label> + <input id="allowed_field" name="allowed_field" type="text" /> + </div> + <div class="allowed_names"> <script type="text/html" class="allowedTemplate"> - <label for="user_{{username}}">{{username}}</label> - <input id="user_{{username}}" name="allowed" value="{{username}}" type="checkbox"> + <div> + <label for="user_{{username}}">{{username}}</label> + <input id="user_{{username}}" name="allowed" value="{{username}}" type="checkbox" checked> + </div> </script> </div> <div> |
