3words/views/settings.html
2014-08-18 16:20:52 +02:00

47 lines
1.6 KiB
HTML

{include="layout"}
{include="navbar"}
<div class="container">
{if="$message"}
<div class="alert alert-info">{$message}</div>
{/if}
<div class="row">
<div class="col-md-3">
<ul class="nav nav-pills nav-stacked">
<li><a href="ucp.php?page=inbox">Inbox</a></li>
<li class="active"><a href="#">Settings</a></li>
</ul>
</div>
<div class="col-md-9">
<form role="form">
<div class="form-group">
<label for="sitename">Site Name</label>
<input type="text" class="form-control" id="sitename" placeholder="3 words about your mom" value="{$site_name}">
</div>
<div class="checkbox">
<label>
<input id="recent_check" type="checkbox"> Showing Recent Answers
</label>
</div>
<!-- TODO: Javascript disabling this form if above checkbox is unchecked -->
<div class="form-group">
<label for="recent">Recent Answers</label>
<input type="number" class="form-control" id="recent_count" value="5" disabled>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
<hr/>
<form role="form">
<div class="form-group">
<label for="password_change">New Password</label>
<input type="password" class="form-control" id="password_change" placeholder="Password">
</div>
<div class="form-group">
<label for="password_verify">Repeat New Password</label>
<input type="password" class="form-control" id="password_verify" placeholder="Password">
</div>
<button type="submit" class="btn btn-default">Change Password</button>
</form>
</div>
</div>
</div>
{include="footer"}