Browse Source
The code at the moment is very rough. I've only got the 'Enable Sign-Up' section set-up (front-end). The back-end part is not done yet .stable
Craig Oates
2 years ago
1 changed files with 25 additions and 0 deletions
@ -0,0 +1,25 @@
|
||||
{% extends "layouts/default.html" %} |
||||
{% block title %}Nicola Ellis & Ritherdon Archive{% endblock %} |
||||
{% block content %} |
||||
<h1>Site Settings</h1> |
||||
<a href="/dashboard">Dashboard</a> |
||||
|
||||
<form action="/settings/sign-up" method="post"> |
||||
<input type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}"> |
||||
<input type="checkbox" name="ENABLE-SIGN-UP" values="{{settings.enable-sign-up}}"> |
||||
<label>Enable Sign-Up</label> |
||||
<input type="submit" value="Save Changes"> |
||||
</form> |
||||
|
||||
<h2>Not Implemented</h2> |
||||
<form action="/settings/home-page" method="post"> |
||||
<input type="hidden" name="AUTHENTICITY-TOKEN" value="{{token}}"> |
||||
<label>Set Home Page</label> |
||||
<span>Currently set to: {{settings.home-page}}</span> |
||||
<select name="SET-HOME-PAGE"> |
||||
<option>Default</option> |
||||
</select> |
||||
<input type="submit" value="Set Home Page"> |
||||
</form> |
||||
|
||||
{% endblock %} |
Loading…
Reference in new issue