removed ucp template

This commit is contained in:
pixeldesu 2014-08-18 14:30:29 +02:00
parent f7ad70a1bd
commit a54b2d5a6c
4 changed files with 82 additions and 72 deletions

View File

@ -1,9 +1,23 @@
<h4>Answers you got:</h4>
<table class="table table-responsive table-bordered table-condensed">
<tbody>
{loop="$words"}
<td>{$value.author} wrote that you are <span class="label label-default">{$value.first}</span>, <span class="label label-default">{$value.second}</span> and <span class="label label-default">{$value.third}</span></td>
{/loop}
</tbody>
</table>
{include="layout"}
{include="navbar"}
<div class="container">
<div class="row">
<div class="col-md-3">
<ul class="nav nav-pills nav-stacked nav-justified">
<li class="active">Inbox</li>
<li>Settings</li>
</ul>
</div>
<div class="col-md-9">
<h4>Answers you got:</h4>
<table class="table table-responsive table-bordered table-condensed">
<tbody>
{loop="$words"}
<td>{$value.author} wrote that you are <span class="label label-default">{$value.first}</span>, <span class="label label-default">{$value.second}</span> and <span class="label label-default">{$value.third}</span></td>
{/loop}
</tbody>
</table>
</div>
</div>
</div>
{include="footer"}

View File

@ -1,12 +1,17 @@
<form role="form" method="POST">
<div class="form-group">
<label for="InputUsername">Username</label>
<input type="text" class="form-control" id="InputUsername" name="user_name" placeholder="Enter username">
</div>
<div class="form-group">
<label for="InputPassword">Password</label>
<input type="password" class="form-control" id="InputUsername" name="password" placeholder="Enter password">
</div>
<input type="hidden" name="login">
<button type="submit" class="btn btn-default btn-block">Login</button>
</form>
{include="layout"}
{include="navbar"}
<div class="container">
<form role="form" method="POST">
<div class="form-group">
<label for="InputUsername">Username</label>
<input type="text" class="form-control" id="InputUsername" name="user_name" placeholder="Enter username">
</div>
<div class="form-group">
<label for="InputPassword">Password</label>
<input type="password" class="form-control" id="InputUsername" name="password" placeholder="Enter password">
</div>
<input type="hidden" name="login">
<button type="submit" class="btn btn-default btn-block">Login</button>
</form>
</div>
{include="footer"}

View File

@ -1,29 +1,44 @@
<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">
{include="layout"}
{include="navbar"}
<div class="container">
<div class="row">
<div class="col-md-3">
<ul class="nav nav-pills nav-stacked nav-justified">
<li>Inbox</li>
<li class="active">Settings</li>
</ul>
</div>
<div class="checkbox">
<label>
<input id="recent_check" type="checkbox"> Showing Recent Answers
</label>
<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">
</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>
<!-- 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>
{include="footer"}

View File

@ -1,24 +0,0 @@
{include="layout"}
{include="navbar"}
<div class="container">
{if="$logged_in"}
<div class="row">
<div class="col-md-3">
<ul class="nav nav-pills nav-stacked nav-justified">
<li {if="$ucp_page === 'inbox'"} class="active"{/if}>Inbox</li>
<li {if="$ucp_page === 'settings'"} class="active"{/if}>Settings</li>
</ul>
</div>
<div class="col-md-9">
{if="$ucp_page === 'inbox'"}
{include="inbox"}
{else}
{include="settings"}
{/if}
</div>
</div>
{else}
{include="login"}
{/if}
</div>
{include="footer"}