Changeset 462:18d70a19b1f5
- Timestamp:
- 17.05.2012 00:37:44 (6 days ago)
- Branch:
- t220_bootstrap
- Tags:
- tip
- Location:
- djangobb_forum/templates/djangobb_forum
- Files:
-
- 3 edited
-
base.html (modified) (3 diffs)
-
forum.html (modified) (3 diffs)
-
index.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
djangobb_forum/templates/djangobb_forum/base.html
r444 r462 68 68 <body> 69 69 70 {% include 'djangobb_forum/header.html' %} 70 71 <div id="djangobbwrap"> 72 <div id="djangobbindex" class="djangobb"> 73 <div id="brdheader" class="block"> 74 <div class="box"> 75 <div id="brdtitle" class="inbox"> 76 <p><span>{{ forum_settings.TAGLINE|safe }}</span></p> 77 </div> 78 <div id="brdwelcome" class="inbox"> 79 <ul class="conl"> 80 {% if user.is_authenticated %} 81 <li>{% trans "Logged in as" %} <strong>{{ user.username }}</strong></li> 82 <li>{% trans "Last visit:" %} {% forum_time user.last_login %}</li> 83 {% if forum_settings.PM_SUPPORT and messages_inbox_count > 0 %} 84 <ul><li class="pmlink"><strong><a href="{% url messages_inbox %}">{% trans "There are new messages" %} ({{ messages_inbox_count }})</a></strong></li></ul> 85 {% endif %} 86 {% else %} 87 <li>{% trans "You are not logged in." %}</li> 88 {% endif %} 89 {% if user.is_superuser and reports %} 90 <li class="reportlink"><strong><a href="{% url admin:index %}">{% trans "There are new reports" %} ({% new_reports %})</a></strong></li> 91 {% endif %} 92 </ul> 93 {% if user.is_authenticated %} 94 <ul class="conr"> 95 <li><a href="{% url djangobb:search %}?action=show_new">{% trans "Show new posts since last visit" %}</a></li> 96 <li><a href="{% url djangobb:misc %}?action=markread">{% trans "Mark all topics as read" %}</a></li> 97 </ul> 98 {% endif %} 99 <div class="clearer"></div> 100 </div> 101 </div> 102 </div> 103 104 71 105 <div class="navbar navbar-fixed-top"> 72 106 <div class="navbar-inner"> … … 77 111 <span class="icon-bar"></span> 78 112 </a> 79 <a class="brand" href=" #">Project name</a>113 <a class="brand" href="{% url djangobb:index %}">{{ forum_settings.HEADER|safe }}</a> 80 114 <div class="nav-collapse"> 81 115 <ul class="nav"> 82 <li class="active"><a href="#">Home</a></li> 83 <li><a href="#about">About</a></li> 84 <li><a href="#contact">Contact</a></li> 116 {% block menu %} 117 <li class="active"><a href="{% url djangobb:index %}">{% trans "Home" %}</a></li> 118 <li><a href="{% url djangobb:forum_users %}">{% trans "User list" %}</a></li> 119 <li><a href="{% url djangobb:search %}">{% trans "Search" %}</a></li> 120 {% if user.is_superuser %} 121 <li><a href="{% url admin:index %}">{% trans "Administration" %}</a></li> 122 {% endif %} 123 {% if user.is_authenticated %} 124 <li><a href="{% url djangobb:forum_profile request.user %}">{% trans "Profile" %}</a></li> 125 {% if forum_settings.PM_SUPPORT %} 126 <li><a href="{% url messages_inbox %}">{% trans "PM" %}</a></li> 127 {% endif %} 128 {% endif %} 129 {% endblock %} 85 130 </ul> 86 131 </div><!--/.nav-collapse --> … … 90 135 91 136 <div class="container"> 137 138 {% if forum_settings.NOTICE %} 139 <div class="alert alert-info"> 140 <a class="close" data-dismiss="alert" href="#">×</a> 141 <h4 class="alert-heading">{% trans "Notice" %}</h4> 142 {{ forum_settings.NOTICE }} 143 </div> 144 {% endif %} 92 145 93 146 {% block content %}{% endblock %} -
djangobb_forum/templates/djangobb_forum/forum.html
r442 r462 13 13 <p class="postlink conr"><a href="{% url djangobb:add_topic forum.id %}">{% trans "New topic" %}</a></p> 14 14 {% endif %} 15 <ul><li><a href="{% url djangobb:index %}">{% trans "Root" %}</a> </li><li>»{{ forum.name }}</li></ul>15 <ul class="breadcrumb"><li><a href="{% url djangobb:index %}">{% trans "Root" %}</a><span class="divider"> »</span> </li><li>{{ forum.name }}</li></ul> 16 16 <div class="clearer"></div> 17 17 </div> … … 27 27 <thead> 28 28 <tr> 29 <th class=" tcl" scope="col">{% trans "Topic" %}</th>30 <th class=" tc2" scope="col">{% trans "Replies" %}</th>31 <th class=" tc3" scope="col">{% trans "Views" %}</th>32 <th class=" tcr" scope="col">{% trans "Last post" %}</th>29 <th class="span6">{% trans "Topic" %}</th> 30 <th class="span2">{% trans "Replies" %}</th> 31 <th class="span2">{% trans "Views" %}</th> 32 <th class="span2">{% trans "Last post" %}</th> 33 33 </tr> 34 34 </thead> … … 71 71 <p class="postlink conr"><a href="{% url djangobb:add_topic forum.id %}">{% trans "New topic" %}</a></p> 72 72 {% endif %} 73 <ul><li><a href="{% url djangobb:index %}">{% trans "Root" %}</a> </li><li>»{{ forum.name }}</li></ul>73 <ul class="breadcrumb"><li><a href="{% url djangobb:index %}">{% trans "Root" %}</a><span class="divider"> »</span> </li><li>{{ forum.name }}</li></ul> 74 74 <div class="clearer"></div> 75 75 </div> -
djangobb_forum/templates/djangobb_forum/index.html
r383 r462 41 41 {% for iter in cats %} 42 42 <h2 id="category_head_{{ iter.id }}"> 43 <a class="toggle" href="#">Toggle shoutbox</a>44 43 <span> 45 44 {{ iter.cat }} … … 48 47 <div class="box" id="category_body_{{ iter.id }}"> 49 48 <div class="inbox"> 50 <table c ellspacing="0">49 <table class="table table-striped"> 51 50 <thead> 52 51 <tr> 53 <th class=" tcl" scope="col">{% trans "Forum" %}</th>54 <th class=" tc2" scope="col">{% trans "Topics" %}</th>55 <th class=" tc3" scope="col">{% trans "Posts" %}</th>56 <th class=" tcr" scope="col">{% trans "Last post" %}</th>52 <th class="span6">{% trans "Forum" %}</th> 53 <th class="span2">{% trans "Topics" %}</th> 54 <th class="span2">{% trans "Posts" %}</th> 55 <th class="span2">{% trans "Last post" %}</th> 57 56 </tr> 58 57 </thead>
Note: See TracChangeset
for help on using the changeset viewer.
