| @@ -8,16 +8,17 @@ app.templates.settingsPage = (settings) -> """ · 7 unmodified lines |
| 8 | <label class="_settings-label"> | 8 | <label class="_settings-label"> |
| 9 | <input type="checkbox" name="dark" value="1"#{if settings.dark then ' checked' else ''}>Enable dark theme | 9 | <input type="checkbox" name="dark" value="1"#{if settings.dark then ' checked' else ''}>Enable dark theme |
| 10 | </label> | 10 | </label> |
| 11 | <label class="_settings-label _settings-max-width"> | 11 | <label class="_settings-label _setting-max-width"> |
| 12 | <input type="checkbox" name="layout" value="_max-width"#{if settings['_max-width'] then ' checked' else ''}>Enable fixed-width layout | 12 | <input type="checkbox" name="layout" value="_max-width"#{if settings['_max-width'] then ' checked' else ''}>Enable fixed-width layout |
| 13 | </label> | 13 | </label> |
| 14 | <label class="_settings-label"> | 14 | <label class="_settings-label _hide-on-mobile"> |
| 15 | <input type="checkbox" name="layout" value="_sidebar-hidden"#{if settings['_sidebar-hidden'] then ' checked' else ''}>Automatically hide and show the sidebar | 15 | <input type="checkbox" name="layout" value="_sidebar-hidden"#{if settings['_sidebar-hidden'] then ' checked' else ''}>Automatically hide and show the sidebar |
| | 16 | <small>Tip: drag the edge of the sidebar to resize it.</small> |
| 16 | </label> | 17 | </label> |
| 17 | </div> | 18 | </div> |
| 18 | </div> | 19 | </div> |
| 19 | | 20 | |
| 20 | <div class="_settings-fieldset"> | 21 | <div class="_settings-fieldset _hide-on-mobile"> |
| 21 | <h2 class="_settings-legend">Scrolling:</h2> | 22 | <h2 class="_settings-legend">Scrolling:</h2> |
| 22 | | 23 | |
| 23 | <div class="_settings-inputs"> | 24 | <div class="_settings-inputs"> |
| @@ -31,11 +32,6 @@ app.templates.settingsPage = (settings) -> """ · 7 unmodified lines |
| 31 | </div> | 32 | </div> |
| 32 | </div> | 33 | </div> |
| 33 | | 34 | |
| 34 | <div class="_settings-fieldset"> | 35 | <p> |
| 35 | <h2 class="_settings-legend">Advanced:</h2> | 36 | <a href="#" class="_reset-link" data-behavior="reset">Reset all settings and data</a> |
| 36 | | | |
| 37 | <div class="_settings-inputs"> | | |
| 38 | <a href="#" class="_settings-link" data-behavior="reset">Reset all settings and data</a> | | |
| 39 | </div> | | |
| 40 | </div> | | |
| 41 | """ | 37 | """ |