You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
4.5 KiB
Plaintext
90 lines
4.5 KiB
Plaintext
extends frame
|
|
block main-content
|
|
#settings-actions
|
|
#buttons
|
|
button#save-toggle
|
|
svg#submit-update(viewBox="0 0 20 20" class="icons")
|
|
use#submit-update(xlink:href='/assets/images/global/sprite.svg#entypo-save')
|
|
//button#privacy-toggle(data-private=settings.global.private)
|
|
-if (settings.global.private == 'false')
|
|
| SITE IS PRIVATE
|
|
-else
|
|
| SITE IS PUBLIC
|
|
button#publish-pages
|
|
svg#submit-update(viewBox="0 0 20 20" class="icons")
|
|
use#submit-update(xlink:href='/assets/images/global/sprite.svg#entypo-publish')
|
|
button#render-toggle(data-render=settings.global.renderOnSave)
|
|
svg#submit-update(viewBox="0 0 20 20" class="icons")
|
|
use#submit-update(xlink:href='/assets/images/global/sprite.svg#entypo-ccw')
|
|
|
|
#site-background
|
|
label FEATURE SITE IMAGE
|
|
img#background(src=settings.global.background, alt="image for site background", for="background-upload")
|
|
input(id="background-upload" type="file" name="backgrond-upload")
|
|
|
|
#settings-index
|
|
#settings-index-wrapper
|
|
#member-settings.columns
|
|
#member-settings-1.column
|
|
label AVATAR
|
|
#member-avatar-drop
|
|
img#avatar(src=member.avi, for="avatar-upload")
|
|
input(id="avatar-upload" type="file" name="avatar-upload")
|
|
#member-settings-2.column
|
|
label INFO
|
|
#member-info
|
|
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)
|
|
input(type='text', name='base-url' id='settings-url', placeholder='url', value=settings.global.base_url, autofocus)
|
|
input(type='text', name='base-title' id='settings-title', placeholder='site title', value=settings.global.title, autofocus)
|
|
textarea(id="settings-desc" type='text', name='settings_desc' class='settings-dec', placeholder='description stuff', autofocus)
|
|
=settings.global.descriptions
|
|
#member-utils.columns
|
|
#util-1.column
|
|
label MEMBER UTILS
|
|
br
|
|
button#create-backup CREATE BACKUP
|
|
br
|
|
-if(settings.global.last_backup != null)
|
|
br
|
|
| The last back up was
|
|
a(href='/api/v1/settings/download-backup')= last_backup
|
|
-else
|
|
br
|
|
span No back ups. Frowny face.
|
|
#util-2.column
|
|
<a href="">SOMETHING</a>
|
|
#option-settings.columns
|
|
#theme-settings.column
|
|
label THEMES
|
|
br
|
|
- var index = 0;
|
|
- for ( index; index < themes.length; index++)
|
|
-if(themes[index].current == "true")
|
|
a.theme-select(href="#" id=themes[index].theme.name, data-enabled="true")
|
|
= themes[index].theme["display-name"]
|
|
//svg(viewBox="0 0 20 20" class="icons")
|
|
use(xlink:href='/dash/assets/images/sprite.svg#entypo-check')
|
|
-else
|
|
a.theme-select(href="#" id=themes[index].theme.name, data-enabled="false")
|
|
= themes[index].theme["display-name"]
|
|
#mail-settings.column
|
|
label E-MAIL
|
|
-if(settings.email.active == "option-none")
|
|
a.mail-option#option-none(href="#", data-enabled='true') NONE
|
|
-else
|
|
a.mail-option#option-none(href="#", data-enabled='false') NONE
|
|
-if(settings.email.active == "option-mg")
|
|
a.mail-option#option-mg(href="#", data-enabled='true') MAILGUN
|
|
-else
|
|
a.mail-option#option-mg(href="#", data-enabled='false') MAILGUN
|
|
-if(settings.email.active == "option-smtp")
|
|
a.mail-option#option-smtp(href="#", data-enabled='true') SMTP
|
|
-else
|
|
a.mail-option#option-smtp(href="#", data-enabled='false') SMTP
|
|
include partials/mailforms
|
|
button#send-mail TEST MAIL
|
|
|
|
|
|
|