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">
<label for="browsing-settings-safety-safe">
2014-09-07 14:50:16 +02:00
<input <% print(settings.listPosts.safe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-safe" name="listSafePosts" value="1"/>
2014-09-04 19:07:57 +02:00
Safe
</label>
<label for="browsing-settings-safety-sketchy">
2014-09-07 14:50:16 +02:00
<input <% print(settings.listPosts.sketchy ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-sketchy" name="listSketchyPosts" value="2"/>
2014-09-04 19:07:57 +02:00
Sketchy
</label>
<label for="browsing-settings-safety-unsafe">
2014-09-07 14:50:16 +02:00
<input <% print(settings.listPosts.unsafe ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-safety-unsafe" name="listUnsafePosts" value="3"/>
2014-09-04 19:07:57 +02:00
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-07 14:50:16 +02:00
<label for="browsing-settings-endless-scroll">
<input <% print(settings.endlessScroll ? 'checked="checked"' : '') %> type="checkbox" id="browsing-settings-endless-scroll" name="endless-scroll" value="1"/>
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-07 14:50:16 +02:00
<label for="browsing-settings-hide-downvoted">
<input <% print(settings.hideDownvoted ? 'checked="checked"' : '') %>type="checkbox" id="browsing-settings-hide-downvoted" name="hide-downvoted" value="1"/>
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>