szurubooru/public_html/templates/browsing-settings.tpl

53 lines
1.8 KiB
Smarty
Raw Normal View History

2014-09-07 09:57:01 +02:00
<div class="messages"></div>
2014-09-07 09:57:01 +02:00
<form class="form-wrapper browsing-settings">
2014-09-04 19:07:57 +02:00
<div class="form-row">
<label class="form-label">Safety:</label>
<div class="form-input">
2014-09-17 10:21:20 +02:00
<input <% print(settings.listPosts.safe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-safe" name="listSafePosts" value="safe"/>
2014-09-04 19:07:57 +02:00
<label for="browsing-settings-safety-safe">
Safe
</label>
2014-09-17 10:21:20 +02:00
<input <% print(settings.listPosts.sketchy ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-sketchy" name="listSketchyPosts" value="sketchy"/>
2014-09-04 19:07:57 +02:00
<label for="browsing-settings-safety-sketchy">
Sketchy
</label>
2014-09-17 10:21:20 +02:00
<input <% print(settings.listPosts.unsafe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-unsafe" name="listUnsafePosts" value="unsafe"/>
2014-09-04 19:07:57 +02:00
<label for="browsing-settings-safety-unsafe">
Unsafe
</label>
</div>
</div>
<div class="form-row">
2014-09-07 14:50:16 +02:00
<label class="form-label" for="browsing-settings-endless-scroll">Endless scroll:</label>
2014-09-04 19:07:57 +02:00
<div class="form-input">
2014-09-17 10:21:20 +02:00
<input <% print(settings.endlessScroll ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-endless-scroll" name="endlessScroll"/>
2014-09-07 14:50:16 +02:00
<label for="browsing-settings-endless-scroll">
2014-09-04 19:07:57 +02:00
Enabled
</label>
</div>
</div>
<div class="form-row">
2014-09-07 14:50:16 +02:00
<label class="form-label" for="browsing-settings-hide-downvoted">Hide down-voted:</label>
2014-09-04 19:07:57 +02:00
<div class="form-input">
2014-09-17 10:21:20 +02:00
<input <% print(settings.hideDownvoted ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-hide-downvoted" name="hideDownvoted"/>
2014-09-07 14:50:16 +02:00
<label for="browsing-settings-hide-downvoted">
2014-09-04 19:07:57 +02:00
Enabled
</label>
</div>
</div>
<div class="form-row">
<label class="form-label"></label>
<div class="form-input">
<button type="submit">Update settings</button>
2014-09-04 19:07:57 +02:00
</div>
</div>
</form>