2018-10-31 17:00:31 +01:00
|
|
|
extends frame
|
|
|
|
block main-content
|
|
|
|
#settings-index
|
|
|
|
#settings-index-wrapper
|
2018-12-11 18:35:29 +01:00
|
|
|
#member-avatar-drop
|
2018-12-18 18:52:59 +01:00
|
|
|
img(src=member.avi)
|
2018-12-11 18:35:29 +01:00
|
|
|
input(id="avatar-upload" type="file" name="avatar-image-upload")
|
2018-12-18 18:52:59 +01:00
|
|
|
#member-settings
|
2018-12-19 18:56:18 +01:00
|
|
|
input(type='text', name='handle' id='settings-handle', placeholder='handle', value=member.handle, autofocus)
|
|
|
|
input(type='text', name='email' id='settings-email', placeholder='email', value=member.email, autofocus)
|
2018-12-18 18:52:59 +01:00
|
|
|
#site-settings
|
|
|
|
label OPTIONS
|
|
|
|
br
|
2018-12-19 18:56:18 +01:00
|
|
|
input(type='text', name='base-url' id='settings-url', placeholder='url', value=settings.url, autofocus)
|
|
|
|
input(type='text', name='base-title' id='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)
|
2018-12-18 18:52:59 +01:00
|
|
|
=settings.description
|
2018-12-19 18:56:18 +01:00
|
|
|
button#privacy-toggle(data-private=settings.private) SITE IS PUBLIC
|
2018-12-18 18:52:59 +01:00
|
|
|
#theme-settings
|
|
|
|
label THEMES
|
|
|
|
br
|
|
|
|
- var index = 0;
|
|
|
|
- for ( index; index < themes.length; index++)
|
2018-12-19 18:56:18 +01:00
|
|
|
-if(themes[index].current == "true")
|
|
|
|
a.theme-select(href="#" id=themes[index].theme.name, data-enabled="true")
|
|
|
|
= themes[index].theme["display-name"]
|
|
|
|
-else
|
|
|
|
a.theme-select(href="#" id=themes[index].theme.name, data-enabled="false")
|
2018-12-18 18:52:59 +01:00
|
|
|
= themes[index].theme["display-name"]
|
|
|
|
button#save-toggle SAVE SETTINGS
|
2018-10-31 17:00:31 +01:00
|
|
|
|