1
{% extends "xhtml1-strict.html" %}
7
{% endblock javascript %}
9
{% block title %}bashoneliners.com{% endblock %}
14
<a href="/"><span>home</span></a> ;
15
<a href="/main/rules"><span>rules</span></a> ;
16
{% if user.is_authenticated %}
17
<a class="comingsoon" href="/accounts/profile/"><span>profile</span></a> ;
18
<a href="/main/post"><span>post a one-liner</span></a> ;
19
<a href="/accounts/logout/"><span>logout</span></a>
21
<a href="/accounts/login/"><span>login / sign up</span></a>
24
<a href="/main/top/50/"><span>top 50</span></a> ;
25
<a href="/"><span>latest 50</span></a> ;
26
<a class="comingsoon" href="#"><span>random</span></a> ;
27
<a class="comingsoon" href="#"><span>search</span></a>
30
<div class="hr"></div>
34
<h2>{% block pagetitle %}{% endblock %}</h2>
36
{% block content %}{% endblock %}
40
<div class="hr"></div>
1
{% extends "html5.html" %}
3
{% block title %}Bash One-Liners :: {% block pagetitle %}{% endblock %}{% endblock %}
7
<div class="navbar navbar-fixed-top">
8
<div class="navbar-inner">
9
<div class="container">
10
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
11
<span class="icon-bar"></span>
12
<span class="icon-bar"></span>
13
<span class="icon-bar"></span>
16
<a class="brand" href="/">Bash One-Liners</a>
18
<div class="nav-collapse">
20
{% if user.is_superuser %}
21
<li><a href="/admin/">Admin</a></li>
23
{% if user.is_authenticated %}
24
<li><a href="{% url oneliners.views.oneliner_new %}">Post</a>
26
<li><a href="{% url oneliners.views.oneliner_list %}">One-Liners</a></li>
27
<li><a href="{% url oneliners.views.question_list %}">Questions</a></li>
28
<li><a href="{% url oneliners.views.feeds %}">Feeds</a></li>
29
<li><a href="{% url oneliners.views.sourcecode %}">Source code</a></li>
33
<form class="navbar-search pull-left" method="get" action="{% url oneliners.views.search %}">
34
<input name="query" maxlength="100" placeholder="Search" type="text" class="search-query" id="id_query" />
38
{% if user.is_authenticated %}
39
<p class="navbar-text pull-right">Logged in as <a href="{% url oneliners.views.profile %}">{{ user.hackerprofile.get_display_name }}</a>—<a href="{% url oneliners.views.logout %}">Logout</a></p>
41
<p class="navbar-text pull-right"><a href="{% url oneliners.views.login %}">Login</a></p>
52
<div class="page-header"><h1>{% block pageheader %}{% endblock %}</h1></div>
54
{% block content %}{% endblock %}
59
<div class="container-fluid">
60
<p class="pull-right validators">
61
<a href="http://wiki.dreamhost.com/index.php/DHSOTM#2012_Winners"><img alt="DreamHost Site of the Month for March!" src="/media/images/dhsotm2.gif" /></a>
62
<a href="http://www.dreamhost.com/r.cgi?455568"><img alt="This site hosted by DreamHost. Unlimited storage and bandwidth for only $8.95" src="/media/images/dreamhost.gif" /></a>
63
<a href="http://www.dreamhost.com/donate.cgi?id=15533"><img border="0" alt="Donate towards my web hosting bill!" src="/media/images/hosting.gif" /></a>
64
<a href="http://www.dreamhost.com/green.cgi"><img alt="Green Web Hosting! This site hosted by DreamHost." src="/media/images/green1.gif" height="31" /></a>
65
<a href="http://validator.w3.org/check?uri=referer"><img src="/media/images/valid-xhtml10.png" alt="Valid HTML5" /></a>