3words/views/settings.html
2014-08-18 17:53:34 +02:00

48 lines
1.9 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="ucp.php?page=settings">Settings</a></li>
</ul>
</div>
<div class="col-md-9">
<form role="form" action="ucp.php?page=settings" method="POST">
<div class="form-group">
<label for="sitename">Site name</label>
<input type="text" class="form-control" name="sitename" placeholder="3 words about your mom" value="{$site_name}">
</div>
<div class="checkbox">
<label>
<input id="recent_check" name="recent_check" type="checkbox" onchange="a(!this.checked)"{if="$recent_public"} checked{/if}> Show recent words
</label>
</div>
<div class="form-group">
<label for="recent">Recent words</label>
<input type="number" class="form-control" id="recent-count" name="recent_count" value="{$recent_count}"{if="!$recent_public"} disabled{/if}>
</div>
<button type="submit" class="btn btn-default" id="recent-btn">Submit</button>
<input type="hidden" name="action" value="generic">
</form>
<hr/>
<form role="form" action="ucp.php?page=settings" method="POST">
<div class="form-group">
<label for="password_change">New password</label>
<input type="password" class="form-control" name="password_change" placeholder="Password">
</div>
<div class="form-group">
<label for="password_verify">Repeat new password</label>
<input type="password" class="form-control" name="password_verify" placeholder="Password">
</div>
<button type="submit" class="btn btn-default">Change password</button>
<input type="hidden" name="action" value="password">
</form>
</div>
</div>
</div>
{include="footer"}