3words/views/settings.html

48 lines
1.9 KiB
HTML
Raw Normal View History

2014-08-18 14:30:29 +02:00
{include="layout"}
{include="navbar"}
<div class="container">
{if="$message"}
<div class="alert alert-info">{$message}</div>
{/if}
2014-08-18 14:30:29 +02:00
<div class="row">
<div class="col-md-3">
2014-08-18 15:41:05 +02:00
<ul class="nav nav-pills nav-stacked">
2014-08-18 15:24:54 +02:00
<li><a href="ucp.php?page=inbox">Inbox</a></li>
2014-08-18 17:53:34 +02:00
<li class="active"><a href="ucp.php?page=settings">Settings</a></li>
2014-08-18 14:30:29 +02:00
</ul>
2014-08-18 01:19:03 +02:00
</div>
2014-08-18 14:30:29 +02:00
<div class="col-md-9">
2014-08-18 17:31:37 +02:00
<form role="form" action="ucp.php?page=settings" method="POST">
2014-08-18 14:30:29 +02:00
<div class="form-group">
2014-08-18 17:53:34 +02:00
<label for="sitename">Site name</label>
2014-08-18 17:49:20 +02:00
<input type="text" class="form-control" name="sitename" placeholder="3 words about your mom" value="{$site_name}">
2014-08-18 14:30:29 +02:00
</div>
<div class="checkbox">
<label>
2014-08-18 17:53:34 +02:00
<input id="recent_check" name="recent_check" type="checkbox" onchange="a(!this.checked)"{if="$recent_public"} checked{/if}> Show recent words
2014-08-18 14:30:29 +02:00
</label>
</div>
<div class="form-group">
2014-08-18 17:53:34 +02:00
<label for="recent">Recent words</label>
2014-08-18 17:49:20 +02:00
<input type="number" class="form-control" id="recent-count" name="recent_count" value="{$recent_count}"{if="!$recent_public"} disabled{/if}>
2014-08-18 14:30:29 +02:00
</div>
2014-08-18 17:49:20 +02:00
<button type="submit" class="btn btn-default" id="recent-btn">Submit</button>
<input type="hidden" name="action" value="generic">
2014-08-18 14:30:29 +02:00
</form>
<hr/>
2014-08-18 17:31:37 +02:00
<form role="form" action="ucp.php?page=settings" method="POST">
2014-08-18 14:30:29 +02:00
<div class="form-group">
2014-08-18 17:53:34 +02:00
<label for="password_change">New password</label>
2014-08-18 17:49:20 +02:00
<input type="password" class="form-control" name="password_change" placeholder="Password">
2014-08-18 14:30:29 +02:00
</div>
<div class="form-group">
2014-08-18 17:53:34 +02:00
<label for="password_verify">Repeat new password</label>
2014-08-18 17:49:20 +02:00
<input type="password" class="form-control" name="password_verify" placeholder="Password">
2014-08-18 14:30:29 +02:00
</div>
2014-08-18 17:53:34 +02:00
<button type="submit" class="btn btn-default">Change password</button>
2014-08-18 17:49:20 +02:00
<input type="hidden" name="action" value="password">
2014-08-18 14:30:29 +02:00
</form>
2014-08-18 01:19:03 +02:00
</div>
2014-08-18 14:30:29 +02:00
</div>
</div>
{include="footer"}