Change navbar

Let's see how this looks
This commit is contained in:
Tom Willemsen 2012-11-04 00:46:38 +01:00
parent 8a37fe840e
commit b959ce1a19

View file

@ -27,63 +27,68 @@
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css" />
</head> </head>
<body> <body>
<div class="navbar navbar-inverse navbar-static-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="."><TMPL_VAR TITLE></a>
<TMPL_IF HAVE_ACTIONS>
<ul class="nav">
<TMPL_IF EDITURL>
<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
</TMPL_IF>
<TMPL_IF RECENTCHANGESURL>
<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
</TMPL_IF>
<TMPL_IF HISTORYURL>
<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
</TMPL_IF>
<TMPL_IF GETSOURCEURL>
<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
</TMPL_IF>
<TMPL_IF PREFSURL>
<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
</TMPL_IF>
<TMPL_IF ACTIONS>
<TMPL_LOOP ACTIONS>
<li><TMPL_VAR ACTION></li>
</TMPL_LOOP>
</TMPL_IF>
<TMPL_IF COMMENTSLINK>
<li><TMPL_VAR COMMENTSLINK></li>
<TMPL_ELSE>
<TMPL_IF DISCUSSIONLINK>
<li><TMPL_VAR DISCUSSIONLINK></li>
</TMPL_IF>
</TMPL_IF>
</ul>
</TMPL_IF>
</div>
</div>
</div>
<div class="container"> <div class="container">
<ul class="breadcrumb"> <div class="row">
<TMPL_LOOP PARENTLINKS> <div class="span8">
<li> <ul class="breadcrumb">
<TMPL_IF URL> <TMPL_LOOP PARENTLINKS>
<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> <li>
<TMPL_ELSE> <TMPL_IF URL>
<TMPL_VAR PAGE> <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
</TMPL_IF> <TMPL_ELSE>
<span class="divider">/</span></li> <TMPL_VAR PAGE>
</TMPL_LOOP> </TMPL_IF>
<li class="active"> <span class="divider">/</span></li>
<TMPL_VAR TITLE> </TMPL_LOOP>
<TMPL_IF ISTRANSLATION> <li class="active">
&nbsp;(<TMPL_VAR PERCENTTRANSLATED>%) <TMPL_VAR TITLE>
</TMPL_IF> <TMPL_IF ISTRANSLATION>
</li> &nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
</ul> </TMPL_IF>
</li>
</ul>
</div>
<div class="span4">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<TMPL_IF HAVE_ACTIONS>
<ul class="nav">
<TMPL_IF EDITURL>
<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
</TMPL_IF>
<TMPL_IF RECENTCHANGESURL>
<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
</TMPL_IF>
<TMPL_IF HISTORYURL>
<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
</TMPL_IF>
<TMPL_IF GETSOURCEURL>
<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
</TMPL_IF>
<TMPL_IF PREFSURL>
<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
</TMPL_IF>
<TMPL_IF ACTIONS>
<TMPL_LOOP ACTIONS>
<li><TMPL_VAR ACTION></li>
</TMPL_LOOP>
</TMPL_IF>
<TMPL_IF COMMENTSLINK>
<li><TMPL_VAR COMMENTSLINK></li>
<TMPL_ELSE>
<TMPL_IF DISCUSSIONLINK>
<li><TMPL_VAR DISCUSSIONLINK></li>
</TMPL_IF>
</TMPL_IF>
</ul>
</TMPL_IF>
</div>
</div>
</div>
</div>
</div>
</div> </div>
<TMPL_IF SEARCHFORM> <TMPL_IF SEARCHFORM>