Archived
1
0

added basic code to show the template

This commit is contained in:
nilsding
2014-08-18 14:51:00 +02:00
parent a54b2d5a6c
commit 2dfe16ef36
5 changed files with 51 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{include="layout"}
{include="navbar"}
<div class="container">
<h1>{$site_title}!</h1>
<h1>{$site_name}!</h1>
<p>Want to tell them who you are? <input id="author" type="text" class="form-control" placeholder="Anonymous"></p>
<div class="row">
<div class="col-md-4">

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{$site_title}</title>
<title>{$site_name}</title>
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>

View File

@@ -8,7 +8,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">{$site_title}</a>
<a class="navbar-brand" href="#">{$site_name}</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
@@ -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</a></li>
<li><a href="ucp.php">Inbox{if="$new_words_count > 0"}{$new_words_count}{/if}</a></li>
<li><a href="ucp.php?page=settings">Settings</a></li>
{else}
<li><a href="ucp.php?page=login">Login</a></li>