Created
September 9, 2010 18:50
-
-
Save engleek/572321 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>${title}</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<link rel="shortcut icon" type="image/png" href="/public/images/favicon.png" /> | |
<link rel="stylesheet" href="http://yui.yahooapis.com/2.8.1/build/reset-fonts-grids/reset-fonts-grids.css" /> | |
<link rel="stylesheet" href="/public/stylesheets/main.css"> | |
<script src="http://w.sharethis.com/button/buttons.js"></script> | |
<script type="text/javascript">stLight.options({publisher:'3b22fc8f-0f0f-4fc9-a599-f59f5d8fc1c9'});</script> | |
</head> | |
<body> | |
<header> | |
<h1 id="title"><a href="/">Debate It!</a></h1> | |
<menu> | |
#{if user} | |
<li><strong>${user.name}</strong></li> | |
<li>#{a @Debate.listRooms()}&{'myRooms'}#{/a}</li> | |
<li>{| #{a @Debate.newThread()}&{'createThread'}#{/a}</li> | |
<li>#{a @Debate.followThreads()}&{'followedThreads'}#{/a}}</li> | |
<li>#{a @Dbtit.profile(request.url)}&{'profile'}#{/a}</li> | |
<li>#{a @Dbtit.logout()} &{'logout'} #{/a}</li> | |
#{/if} | |
#{else} | |
<li><a href="/login?url=/">Connexion</a></li> | |
#{get 'moreNav' /} | |
#{/else} | |
</menu> | |
</header> | |
#{if flash.success} | |
<div class="flash success"> | |
${flash.success} | |
</div> | |
#{/if} | |
#{if flash.error} | |
<div class="flash error"> | |
${flash.error} | |
</div> | |
#{/if} | |
<article> | |
#{doLayout /} | |
</article> | |
<footer> | |
<p>© 2010 — <a href="mailto:julien.rf@no-log.org">Julien Richard-Foy</a></p> | |
</footer> | |
#{script 'jquery-1.4.min.js' /} | |
#{script 'thread.js' /} | |
#{get 'moreScripts' /} | |
#{i18n /} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment