added basic functionality

This commit is contained in:
nilsding
2014-08-18 15:55:54 +02:00
parent ab910fa13c
commit e0224f867b
3 changed files with 63 additions and 16 deletions

View File

@ -5,22 +5,25 @@
<div class="alert alert-info">{$message}</div>
{/if}
<h1 class="text-center">{$site_name}!</h1>
<p class="text-center">Want to tell them who you are? <input id="author" type="text" class="input-xs" placeholder="Anonymous"></p>
<div class="row">
<div class="col-md-4 rowm">
<input id="word1" type="text" class="form-control" placeholder="First Word">
<form method="POST">
<p class="text-center">Want to tell them who you are? <input name="author" type="text" class="input-xs" placeholder="Anonymous"></p>
<div class="row">
<div class="col-md-4 rowm">
<input name="word1" type="text" class="form-control" placeholder="First Word">
</div>
<div class="col-md-4 rowm">
<input name="word2" type="text" class="form-control" placeholder="Second Word">
</div>
<div class="col-md-4 rowm">
<input name="word3" type="text" class="form-control" placeholder="Third Word">
</div>
</div>
<div class="col-md-4 rowm">
<input id="word2" type="text" class="form-control" placeholder="Second Word">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<button type="submit" class="btn btn-primary btn-block btn-lg">Submit</button>
</div>
</div>
<div class="col-md-4 rowm">
<input id="word3" type="text" class="form-control" placeholder="Third Word">
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<button type="submit" class="btn btn-primary btn-block btn-lg">Submit</button>
</div>
</div>
<input type="hidden" name="words">
</form>
</div>
{include="footer"}

View File

@ -18,7 +18,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$user_name}<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="ucp.php">Inbox{if="$new_words_count > 0"} ({$new_words_count}){/if}</a></li>
<li><a href="ucp.php">Inbox{if="$inbox_count > 0"} ({$inbox_count}){/if}</a></li>
<li><a href="ucp.php?page=settings">Settings</a></li>
<li class="divider"></li>
<li><a href="ucp.php?page=logout">Logout</a></li>