ro
e09d85292a
added some labels to login and set up forms for better accesibility and clarity about what info is being requested. found a bug in setting where the site would error out if it can't find the correct config files instead of going to set up, so when config files aren't present, it loads template files to continue to process. still thinking about a better fix for this also discovered that the init files needed for a fresh install had been removed, so those are back in place
16 lines
1.1 KiB
PHP
16 lines
1.1 KiB
PHP
<div>
|
|
<a href="/dashboard">
|
|
<img class="logo-medium" src="/assets/images/global/fipamo-logo-secondary.svg"/>
|
|
</a>
|
|
</div>
|
|
<form id="init-form" method="POST" onsubmit="return false;">
|
|
<label class="inline">handle</label><input type="text" class="inline" name="new_member_handle" id="new_member_handle" placeholder="handle"/>
|
|
<label class="inline">email</label><input type="text" class="inline" name="new_member_email" id="new_member_email" placeholder="email"/>
|
|
<label class="inline">password</label><input type="password" class="inline" name="new_member_pass" id="new_member_pass" placeholder="password"/>
|
|
<label class="inline">confirm</label><input type="password" class="inline" name="new_member_pass2" id="new_member_pass2" placeholder="password confirm"/>
|
|
<label class="inline">site title</label><input type="text" class="inline" name="new_member_title" id="new_member_title" placeholder="title"/>
|
|
<button id="init-blog" data-action='blog-init' type='submit'>SET UP YOUR SITE</button>
|
|
<br/><br/>
|
|
<button class="init-option" id="init-switch-restore">RESTORE FROM BACKUP</button>
|
|
</form>
|