fipamo/themes/dash/settings.pug

28 lines
1.4 KiB
Text
Raw Normal View History

2018-10-31 17:00:31 +01:00
extends frame
block main-content
#settings-index
#settings-index-wrapper
#member-avatar-drop
img(src=member.avi)
input(id="avatar-upload" type="file" name="avatar-image-upload")
#member-settings
input(type='text', name='handle' class='settings-handle', placeholder='handle', value=member.handle, autofocus)
input(type='text', name='email' class='settings-email', placeholder='email', value=member.email, autofocus)
#site-settings
label OPTIONS
br
input(type='text', name='base-url' class='settings-url', placeholder='url', value=settings.url, autofocus)
input(type='text', name='base-title' class='settings-title', placeholder='site title', value=settings.title, autofocus)
textarea(id="settings_desc" type='text', name='settings_desc' class='settings-dec', placeholder='description stuff', autofocus)
=settings.description
button#privacy-toggle SITE IS PUBLIC
#theme-settings
label THEMES
br
- var index = 0;
- for ( index; index < themes.length; index++)
a.theme-select(href="#" id=themes[index].theme.name)
= themes[index].theme["display-name"]
button#save-toggle SAVE SETTINGS
2018-10-31 17:00:31 +01:00