mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
Make web app display mode configurable
The change is visible after reinstalling the web app. It's not compatible with all browsers. See https://developer.mozilla.org/en-US/docs/Web/Manifest/display
This commit is contained in:
parent
053b1d0f8d
commit
0d935a863f
23 changed files with 182 additions and 12 deletions
|
@ -43,6 +43,14 @@
|
|||
{{ end }}
|
||||
</select>
|
||||
|
||||
<label for="form-display-mode">{{ t "form.prefs.label.display_mode" }}</label>
|
||||
<select id="form-display-mode" name="display_mode">
|
||||
<option value="fullscreen" {{ if eq "fullscreen" $.form.DisplayMode }}selected="selected"{{ end }}>{{ t "form.prefs.select.fullscreen" }}</option>
|
||||
<option value="standalone" {{ if eq "standalone" $.form.DisplayMode }}selected="selected"{{ end }}>{{ t "form.prefs.select.standalone" }}</option>
|
||||
<option value="minimal-ui" {{ if eq "minimal-ui" $.form.DisplayMode }}selected="selected"{{ end }}>{{ t "form.prefs.select.minimal_ui" }}</option>
|
||||
<option value="browser" {{ if eq "browser" $.form.DisplayMode }}selected="selected"{{ end }}>{{ t "form.prefs.select.browser" }}</option>
|
||||
</select>
|
||||
|
||||
<label for="form-entry-direction">{{ t "form.prefs.label.entry_sorting" }}</label>
|
||||
<select id="form-entry-direction" name="entry_direction">
|
||||
<option value="asc" {{ if eq "asc" $.form.EntryDirection }}selected="selected"{{ end }}>{{ t "form.prefs.select.older_first" }}</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue