/forum/templates/forum/forum_page.html
HTML | 194 lines | 111 code | 7 blank | 76 comment | 0 complexity | 7f5091507b00dfb448c7e2103d681800 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0
1{% extends "forum/base.html" %} 2{% load customfilters %} 3 4{% block title %} 5{{forum.name}}--djPower?? 6{% endblock %} 7 8{% block boardlinks %} 9» <a href="{{forum.get_absolute_url}}">{{forum.name}}</a> 10{% endblock %} 11 12{% block content %} 13<div id="pageheader"> 14 <h2><a class="titles" href="{{forum.get_absolute_url}}">{{forum.name}}</a></h2> 15 <!--<p class="moderators">??: <a href="">Brendan</a>, <a href="">carbonBased</a>, <a href="">os64dev</a>, <a href="">Candy</a>, <a href="">JAAman</a>, <a href="">AJ</a>, <a href="">Combuster</a>, <a href="">chase</a>, <a href="">kmcguire</a>, <a href="">mystran</a></p>--> 16</div> 17<br clear="all" /><br /> 18 19<div id="pagecontent"> 20 <table width="100%" cellspacing="1"> 21 <tr> 22 <td align="left" valign="middle"><a href="/forum/{{forum.id}}/new_topic/"><img src="/site_media/styles/pandaxiaoxi/imageset/en/button_topic_new.gif" alt="Post new topic" title="Post new topic" /></a></td> 23 <td class="nav" valign="middle" nowrap="nowrap"> ? <strong>{{topics.number}}</strong> ?,? <strong>{{topics.paginator.num_pages}}</strong> ?<br /></td> 24 <td class="gensmall" nowrap="nowrap"> [ {{topics.paginator.count}}??? ] </td> 25 <td class="gensmall" width="100%" align="right" nowrap="nowrap"> 26 <b> 27 {% if topics.has_previous %} 28 <a href="?page={{ topics.previous_page_number }}">??</a> 29 {% endif %} 30 31 {% if topics.has_next %} 32 <a href="?page={{ topics.next_page_number }}">??</a> 33 {% endif %} 34 <!--<a href="#" onclick="jumpto(); return false;" title="Click to jump to page ">Go to page</a> <strong>1</strong><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=50">2</a><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=100">3</a><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=150">4</a><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=200">5</a> ... <a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=11300">227</a> <a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=50">Next</a>--> 35 </b> 36 </td> 37 </tr> 38 </table> 39 <table class="tablebg" width="100%" cellspacing="1"> 40 <tr> 41 <td class="cat" colspan="6"> 42 <table width="100%" cellspacing="0"> 43 <tr class="nav"> 44 <td valign="middle"> </td> 45 <td align="right" valign="middle"> </td> 46 </tr> 47 </table> 48 </td> 49 </tr> 50 <tr> 51 <th colspan="2"> ?? </th> 52 <th> ?? </th> 53 <th> ?? </th> 54 <th> ?? </th> 55 <th> ???? </th> 56 </tr> 57 58 <tr> 59 <td class="row3" colspan="6"><b class="gensmall">??</b></td> 60 </tr> 61 {% for topic in topics.object_list %} 62 <tr> 63 <td class="row1" width="25" align="center"><img src="/site_media/styles/pandaxiaoxi/imageset/sticky_read.gif" width="19" height="18" alt="No new posts" title="No new posts" /></td> 64 <td class="row1"> 65 <a title="Posted: {{ topic.datetime1|date:"Y-m-d H:i" }}" href="{{topic.get_absolute_url}}" class="topictitle">{{ topic.subject }}</a> 66 <!--<p class="gensmall"> [ <img src="/site_media/styles/pandaxiaoxi/imageset/icon_post_target.gif" width="12" height="9" alt="Go to page" title="Go to page" />Go to page: <a href="./viewtopic.php?f=1&t=6989&start=0">1</a> ... <a href="./viewtopic.php?f=1&t=6989&start=90">7</a><span class="page-sep">, </span><a href="./viewtopic.php?f=1&t=6989&start=105">8</a><span class="page-sep">, </span><a href="./viewtopic.php?f=1&t=6989&start=120">9</a> ] </p>--> 67 </td> 68 <td class="row2" width="130" align="center"><p class="topicauthor"><a href="/forum/member/{{ topic.author.id }}/">{{ topic.author }}</a></p></td> 69 <td class="row1" width="50" align="center"><p class="topicdetails">{{ topic.replies }}</p></td> 70 <td class="row2" width="50" align="center"><p class="topicdetails">{{ topic.views }}</p></td> 71 <td class="row1" width="140" align="center"> 72 <p class="topicdetails" style="white-space: nowrap;">{% if topic.last_datetime %}{{ topic.last_datetime|date:"Y-m-d H:i" }}{% else %}{{ topic.datetime1|date:"Y-m-d H:i" }}{% endif %}</p> 73 <p class="topicdetails">{% if topic.last_author %}<a href="/forum/member/{{topic.last_authorid}}/">{{ topic.last_author }}</a>{% else %}<a href="/forum/member/{{topic.author.id}}/">{{topic.author}}</a>{% endif %}<a href="/forum/post/{{topic.last_postid}}/#p{{topic.last_postid}}"><img src="/site_media/styles/pandaxiaoxi/imageset/icon_topic_latest.gif" width="18" height="9" alt="View the latest post" title="View the latest post" /></a> 74 </p> 75 </td> 76 </tr> 77 {% endfor %} 78 <tr align="center"> 79 <td class="cat" colspan="6"> 80 <!--<form method="post" action="./viewforum.php?f=1&start=0"><span class="gensmall">Display topics from previous:</span> <select name="st" id="st"><option value="0" selected="selected">All Topics</option><option value="1">1 day</option><option value="7">7 days</option><option value="14">2 weeks</option><option value="30">1 month</option><option value="90">3 months</option><option value="180">6 months</option><option value="365">1 year</option></select> <span class="gensmall">Sort by</span> <select name="sk" id="sk"><option value="a">Author</option><option value="t" selected="selected">Post time</option><option value="r">Replies</option><option value="s">Subject</option><option value="v">Views</option></select> <select name="sd" id="sd"><option value="a">Ascending</option><option value="d" selected="selected">Descending</option></select> <input class="btnlite" type="submit" name="sort" value="Go" /></form>--> 81 </td> 82 </tr> 83 </table> 84 <table width="100%" cellspacing="1"> 85 <tr> 86 <td align="left" valign="middle"><a href="/forum/{{forum.id}}/new_topic/"><img src="/site_media/styles/pandaxiaoxi/imageset/en/button_topic_new.gif" alt="Post new topic" title="Post new topic" /></a></td> 87 <td class="nav" valign="middle" nowrap="nowrap"> ? <strong>{{topics.number}}</strong> ?,? <strong>{{topics.paginator.num_pages}}</strong> ?<br /></td> 88 <td class="gensmall" nowrap="nowrap"> [ {{topics.paginator.count}}??? ] </td> 89 <td class="gensmall" width="100%" align="right" nowrap="nowrap"> 90 <b> 91 {% if topics.has_previous %} 92 <a href="?page={{ topics.previous_page_number }}">??</a> 93 {% endif %} 94 {% if topics.has_next %} 95 <a href="?page={{ topics.next_page_number }}">??</a> 96 {% endif %} 97 <!--<a href="#" onclick="jumpto(); return false;" title="Click to jump to page ">Go to page</a> <strong>1</strong><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=50">2</a><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=100">3</a><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=150">4</a><span class="page-sep">, </span><a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=200">5</a> ... <a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=11300">227</a> <a href="./viewforum.php?f=1&st=0&sk=t&sd=d&start=50">Next</a>--> 98 </b> 99 </td> 100 </tr> 101 </table> 102 <br clear="all" /> 103</div> 104<!-- 105<table class="tablebg" width="100%" cellspacing="1" cellpadding="0" style="margin-top: 5px;"> 106 <tr> 107 <td class="row1"> 108 <p class="breadcrumbs"><a href="./index.php">Board index</a> » <a href="./viewforum.php?f=16">Operating System Development</a> » <a href="./viewforum.php?f=1">OS Development</a></p> 109 110 <p class="datetime">All times are UTC - 6 hours </p> 111 </td> 112 </tr> 113 </table> <br clear="all" /> 114 115 116 <table class="tablebg" width="100%" cellspacing="1"> 117 <tr> 118 <td class="cat"><h4>Who is online</h4></td> 119 120 </tr> 121 <tr> 122 <td class="row1"><p class="gensmall">Users browsing this forum: <a href="./memberlist.php?mode=viewprofile&u=1977">M-Saunders</a> and 3 guests</p></td> 123 </tr> 124 </table> 125 <br clear="all" /> 126--> 127<!-- 128 <table width="100%" cellspacing="0"> 129 <tr> 130 <td align="left" valign="top"> 131 <table cellspacing="3" cellpadding="0" border="0"> 132 <tr> 133 <td width="20" style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_unread.gif" width="19" height="18" alt="New posts" title="New posts" /></td> 134 <td class="gensmall">New posts</td> 135 <td> </td> 136 137 <td width="20" style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_read.gif" width="19" height="18" alt="No new posts" title="No new posts" /></td> 138 <td class="gensmall">No new posts</td> 139 <td> </td> 140 <td width="20" style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/announce_read.gif" width="19" height="18" alt="Announce" title="Announce" /></td> 141 <td class="gensmall">Announcement</td> 142 </tr> 143 <tr> 144 <td style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_unread_hot.gif" width="19" height="18" alt="New posts [ Popular ]" title="New posts [ Popular ]" /></td> 145 146 <td class="gensmall">New posts [ Popular ]</td> 147 <td> </td> 148 <td style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_read_hot.gif" width="19" height="18" alt="No new posts [ Popular ]" title="No new posts [ Popular ]" /></td> 149 <td class="gensmall">No new posts [ Popular ]</td> 150 <td> </td> 151 <td style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/sticky_read.gif" width="19" height="18" alt="Sticky" title="Sticky" /></td> 152 <td class="gensmall">Sticky</td> 153 </tr> 154 155 <tr> 156 <td style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_unread_locked.gif" width="19" height="18" alt="New posts [ Locked ]" title="New posts [ Locked ]" /></td> 157 <td class="gensmall">New posts [ Locked ]</td> 158 <td> </td> 159 <td style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_read_locked.gif" width="19" height="18" alt="No new posts [ Locked ]" title="No new posts [ Locked ]" /></td> 160 <td class="gensmall">No new posts [ Locked ]</td> 161 <td> </td> 162 <td style="text-align: center;"><img src="/site_media/styles/pandaxiaoxi/imageset/topic_moved.gif" width="19" height="18" alt="Moved topic" title="Moved topic" /></td> 163 164 <td class="gensmall">Moved topic</td> 165 </tr> 166 </table> 167 </td> 168 169 170 </tr> 171 </table> 172 173<br clear="all" /> 174--> 175<table width="100%" cellspacing="0"> 176 <tr> 177 <td><form method="post" name="search" action="#"><span class="gensmall">??:</span> <input class="post" type="text" name="keywords" size="20" /> <input class="btnlite" type="submit" value="?" /></form></td> 178 <td align="right"> 179 <table cellspacing="0" cellpadding="0" border="0"> 180 <tr> 181 <td nowrap="nowrap"><span class="gensmall">???:</span> 182 <select name="f" onchange="window.location='/forum/'+this.value+'/topics/'"> 183 {% for f in all_forums %} 184 <option value="{{f.id}}">{{f.name}}</option> 185 {% endfor %} 186 </select> 187 </td> 188 </tr> 189 </table> 190 </td> 191 </tr> 192</table> 193 194{% endblock %}