##// END OF EJS Templates
Small fix for the bumplimit bar.
neko259 -
r282:0414f856 default
parent child Browse files
Show More
@@ -1,334 +1,343 b''
1 1 html {
2 2 background: #555;
3 3 color: #ffffff;
4 4 }
5 5
6 6 #admin_panel {
7 7 background: #FF0000;
8 8 color: #00FF00
9 9 }
10 10
11 11 .input_field {
12 12
13 13 }
14 14
15 15 .input_field_name {
16 16
17 17 }
18 18
19 19 .input_field_error {
20 20 color: #FF0000;
21 21 }
22 22
23 23
24 24 .title {
25 25 font-weight: bold;
26 26 color: #ffcc00;
27 27 }
28 28
29 29 .link, a {
30 30 color: #afdcec;
31 31 }
32 32
33 33 .block {
34 34 display: inline-block;
35 35 vertical-align: top;
36 36 }
37 37
38 38 .tag {
39 39 color: #b4cfec;
40 40 }
41 41
42 42 .post_id {
43 43 color: #fff380;
44 44 }
45 45
46 46 .post, .dead_post, #posts-table {
47 47 background: #333;
48 48 margin: 5px;
49 49 padding: 10px;
50 50 border: solid 1px #888;
51 51 clear: left;
52 52 word-wrap: break-word;
53 53 }
54 54
55 55 .metadata {
56 56 padding: 5px;
57 57 margin-top: 10px;
58 58 border: solid 1px #666;
59 59 font-size: 0.9em;
60 60 color: #ddd;
61 61 display: table;
62 62 }
63 63
64 64 .navigation_panel, .tag_info {
65 65 background: #444;
66 66 margin: 5px;
67 67 padding: 10px;
68 68 border: solid 1px #888;
69 69 color: #eee;
70 70 }
71 71
72 72 .navigation_panel .link {
73 73 border-right: 1px solid #fff;
74 74 font-weight: bold;
75 75 margin-right: 1ex;
76 76 padding-right: 1ex;
77 77 }
78 78 .navigation_panel .link:last-child {
79 79 border-left: 1px solid #fff;
80 80 border-right: none;
81 81 float: right;
82 82 margin-left: 1ex;
83 83 margin-right: 0;
84 84 padding-left: 1ex;
85 85 padding-right: 0;
86 86 }
87 87
88 88 .navigation_panel::after, .post::after {
89 89 clear: both;
90 90 content: ".";
91 91 display: block;
92 92 height: 0;
93 93 line-height: 0;
94 94 visibility: hidden;
95 95 }
96 96
97 97 p {
98 98 margin-top: .5em;
99 99 margin-bottom: .5em;
100 100 }
101 101
102 102 .post-form-w {
103 103 display: table;
104 104 background: #333344;
105 105 border: solid 1px #888;
106 106 color: #fff;
107 107 padding: 10px;
108 108 margin: 5;
109 109 }
110 110
111 111 .form-row {
112 112 display: table-row;
113 113 }
114 114
115 115 .form-label, .form-input, .form-errors {
116 116 display: table-cell;
117 117 }
118 118
119 119 .form-label {
120 120 padding: .25em 1ex .25em 0;
121 121 vertical-align: top;
122 122 }
123 123
124 124 .form-input {
125 125 padding: .25em 0;
126 126 }
127 127
128 128 .form-errors {
129 129 padding-left: 1ex;
130 130 font-weight: bold;
131 131 vertical-align: middle;
132 132 }
133 133
134 134 .post-form input, .post-form textarea {
135 135 background: #333;
136 136 color: #fff;
137 137 border: solid 1px;
138 138 padding: 0;
139 139 width: 100%;
140 140 }
141 141
142 142 .form-submit {
143 143 border-bottom: 2px solid #ddd;
144 144 margin-bottom: .5em;
145 145 padding-bottom: .5em;
146 146 }
147 147
148 148 .form-title {
149 149 font-weight: bold;
150 150 }
151 151
152 152 input[type="submit"] {
153 153 background: #222;
154 154 border: solid 1px #fff;
155 155 color: #fff;
156 156 }
157 157
158 158 blockquote {
159 159 border-left: solid 2px;
160 160 padding-left: 5px;
161 161 color: #B1FB17;
162 162 margin: 0;
163 163 }
164 164
165 165 .post > .image {
166 166 float: left;
167 167 margin: 0 1ex .5ex 0;
168 168 min-width: 1px;
169 169 text-align: center;
170 170 display: table-row;
171 171
172 172 height: 150px;
173 173 }
174 174
175 175 .post > .metadata {
176 176 clear: left;
177 177 }
178 178
179 179 .get {
180 180 font-weight: bold;
181 181 color: #d55;
182 182 }
183 183
184 184 * {
185 185 text-decoration: none;
186 186 }
187 187
188 188 .dead_post {
189 189 background-color: #442222;
190 190 }
191 191
192 192 .mark_btn {
193 193 padding: 2px 4px;
194 194 border: 1px solid;
195 195 }
196 196
197 197 .mark_btn:hover {
198 198 background: #555;
199 199 }
200 200
201 201 .quote {
202 202 color: #92cf38;
203 203 font-style: italic;
204 204 }
205 205
206 206 .spoiler {
207 207 background: white;
208 208 color: white;
209 209 }
210 210
211 211 .spoiler:hover {
212 212 color: black;
213 213 }
214 214
215 215 .comment {
216 216 color: #eb2;
217 217 font-style: italic;
218 218 }
219 219
220 220 a:hover {
221 221 text-decoration: underline;
222 222 }
223 223
224 224 .last-replies {
225 225 margin-left: 3ex;
226 226 }
227 227
228 228 .thread {
229 229 margin-bottom: 3ex;
230 230 }
231 231
232 232 .post:target {
233 233 border: solid 2px white;
234 234 }
235 235
236 236 pre{
237 237 white-space:pre-wrap
238 238 }
239 239
240 240 li {
241 241 list-style-position: inside;
242 242 }
243 243
244 244 .fancybox-skin {
245 245 position: relative;
246 246 background-color: #fff;
247 247 color: #ddd;
248 248 text-shadow: none;
249 249 }
250 250
251 251 .fancybox-image {
252 252 border: 1px solid black;
253 253 }
254 254
255 255 .image-mode-tab {
256 256 background: #444;
257 257 color: #eee;
258 258 display: table;
259 259 margin: 5px;
260 260 padding: 5px;
261 261 border: 1px solid #888;
262 262 }
263 263
264 264 .image-mode-tab > label {
265 265 margin: 0 1ex;
266 266 }
267 267
268 268 .image-mode-tab > label > input {
269 269 margin-right: .5ex;
270 270 }
271 271
272 272 #posts-table {
273 273 margin: 5px;
274 274 }
275 275
276 276 .tag_info {
277 277 display: table;
278 278 }
279 279
280 280 .tag_info > h2 {
281 281 margin: 0;
282 282 }
283 283
284 284 .post-info {
285 285 color: #ddd;
286 286 }
287 287
288 288 .moderator_info {
289 289 color: #e99d41;
290 290 float: right;
291 291 border: dashed 1px;
292 292 padding: 3px;
293 293 }
294 294
295 295 .refmap {
296 296 font-size: 0.9em;
297 297 color: #ccc;
298 298 margin-top: 1em;
299 299 }
300 300
301 301 input[type="submit"]:hover {
302 302 background: #555;
303 303 }
304 304
305 305 .fav {
306 306 color: yellow;
307 307 }
308 308
309 309 .not_fav {
310 310 color: #ccc;
311 311 }
312 312
313 313 .role {
314 314 text-decoration: underline;
315 315 }
316 316
317 317 .form-email {
318 318 display: none;
319 319 }
320 320
321 321 .footer {
322 322 margin: 5px;
323 323 }
324 324
325 325 .bar-value {
326 326 background: rgba(50, 55, 164, 0.45);
327 padding: 2px;
328 327 font-size: 0.9em;
328 height: 1.5em;
329 329 }
330 330
331 331 .bar-bg {
332 position: relative;
332 333 border: solid 1px #888;
333 334 margin: 5px;
335 overflow: hidden;
336 }
337
338 .bar-text {
339 padding: 2px;
340 position: absolute;
341 left: 0;
342 top: 0;
334 343 } No newline at end of file
@@ -1,329 +1,339 b''
1 1 html {
2 2 background: rgb(238, 238, 238);
3 3 color: rgb(51, 51, 51);
4 4 }
5 5
6 6 #admin_panel {
7 7 background: #FF0000;
8 8 color: #00FF00
9 9 }
10 10
11 11 .input_field {
12 12
13 13 }
14 14
15 15 .input_field_name {
16 16
17 17 }
18 18
19 19 .input_field_error {
20 20 color: #FF0000;
21 21 }
22 22
23 23
24 24 .title {
25 25 font-weight: bold;
26 26 color: #333;
27 27 font-size: 2ex;
28 28 }
29 29
30 30 .link, a {
31 31 color: rgb(255, 102, 0);
32 32 }
33 33
34 34 .block {
35 35 display: inline-block;
36 36 vertical-align: top;
37 37 }
38 38
39 39 .tag {
40 40 color: #222;
41 41 }
42 42
43 43 .post_id:hover {
44 44 color: #11f;
45 45 }
46 46
47 47 .post_id {
48 48 color: #444;
49 49 }
50 50
51 51 .post, .dead_post, #posts-table {
52 52 margin: 5px;
53 53 padding: 10px;
54 54 background: rgb(221, 221, 221);
55 55 border: 1px solid rgb(204, 204, 204);
56 56 border-radius: 5px 5px 5px 5px;
57 57 clear: left;
58 58 word-wrap: break-word;
59 59 display: table;
60 60 }
61 61
62 62 .metadata {
63 63 padding: 5px;
64 64 margin-top: 10px;
65 65 border: solid 1px #666;
66 66 font-size: 0.9em;
67 67 display: table;
68 68 }
69 69
70 70 .navigation_panel, .tag_info {
71 71 margin: 5px;
72 72 padding: 10px;
73 73 border: 1px solid rgb(204, 204, 204);
74 74 border-radius: 5px 5px 5px 5px;
75 75 }
76 76
77 77 .navigation_panel .link {
78 78 border-right: 1px solid #000;
79 79 font-weight: bold;
80 80 margin-right: 1ex;
81 81 padding-right: 1ex;
82 82 }
83 83 .navigation_panel .link:last-child {
84 84 border-left: 1px solid #000;
85 85 border-right: none;
86 86 float: right;
87 87 margin-left: 1ex;
88 88 margin-right: 0;
89 89 padding-left: 1ex;
90 90 padding-right: 0;
91 91 }
92 92
93 93 .navigation_panel::after, .post::after {
94 94 clear: both;
95 95 content: ".";
96 96 display: block;
97 97 height: 0;
98 98 line-height: 0;
99 99 visibility: hidden;
100 100 }
101 101
102 102 p {
103 103 margin-top: .5em;
104 104 margin-bottom: .5em;
105 105 }
106 106
107 107 .post-form-w {
108 108 display: table;
109 109 padding: 10px;
110 110 margin: 5px
111 111 }
112 112
113 113 .form-row {
114 114 display: table-row;
115 115 }
116 116
117 117 .form-label, .form-input, .form-errors {
118 118 display: table-cell;
119 119 }
120 120
121 121 .form-label {
122 122 padding: .25em 1ex .25em 0;
123 123 vertical-align: top;
124 124 }
125 125
126 126 .form-input {
127 127 padding: .25em 0;
128 128 }
129 129
130 130 .form-errors {
131 131 padding-left: 1ex;
132 132 font-weight: bold;
133 133 vertical-align: middle;
134 134 }
135 135
136 136 .post-form input, .post-form textarea {
137 137 background: #fff;
138 138 color: #000;
139 139 border: solid 1px;
140 140 padding: 0;
141 141 width: 100%;
142 142 }
143 143
144 144 .form-submit {
145 145 border-bottom: 2px solid #ddd;
146 146 margin-bottom: .5em;
147 147 padding-bottom: .5em;
148 148 }
149 149
150 150 .form-title {
151 151 font-weight: bold;
152 152 }
153 153
154 154 input[type="submit"] {
155 155 background: #fff;
156 156 border: solid 1px #000;
157 157 color: #000;
158 158 }
159 159
160 160 blockquote {
161 161 border-left: solid 2px;
162 162 padding-left: 5px;
163 163 color: #B1FB17;
164 164 margin: 0;
165 165 }
166 166
167 167 .post > .image {
168 168 float: left;
169 169 margin: 0 1ex .5ex 0;
170 170 min-width: 1px;
171 171 text-align: center;
172 172 display: table-row;
173 173
174 174 height: 150px;
175 175 }
176 176
177 177 .post > .metadata {
178 178 clear: left;
179 179 }
180 180
181 181 .get {
182 182 font-weight: bold;
183 183 color: #d55;
184 184 }
185 185
186 186 * {
187 187 text-decoration: none;
188 188 }
189 189
190 190 .dead_post {
191 191 background-color: #ecc;
192 192 }
193 193
194 194 .quote {
195 195 color: #080;
196 196 font-style: italic;
197 197 }
198 198
199 199 .spoiler {
200 200 background: white;
201 201 color: white;
202 202 }
203 203
204 204 .spoiler:hover {
205 205 color: black;
206 206 }
207 207
208 208 .comment {
209 209 color: #8B6914;
210 210 font-style: italic;
211 211 }
212 212
213 213 a:hover {
214 214 text-decoration: underline;
215 215 }
216 216
217 217 .last-replies {
218 218 margin-left: 3ex;
219 219 }
220 220
221 221 .thread {
222 222 margin-bottom: 3ex;
223 223 }
224 224
225 225 .post:target {
226 226 border: solid 2px black;
227 227 }
228 228
229 229 pre{
230 230 white-space:pre-wrap
231 231 }
232 232
233 233 li {
234 234 list-style-position: inside;
235 235 }
236 236
237 237 .fancybox-skin {
238 238 position: relative;
239 239 background-color: #fff;
240 240 color: #ddd;
241 241 text-shadow: none;
242 242 }
243 243
244 244 .fancybox-image {
245 245 border: 1px solid black;
246 246 }
247 247
248 248 .image-mode-tab {
249 249 display: table;
250 250 margin: 5px;
251 251 padding: 5px;
252 252 background: rgb(221, 221, 221);
253 253 border: 1px solid rgb(204, 204, 204);
254 254 border-radius: 5px 5px 5px 5px;
255 255 }
256 256
257 257 .image-mode-tab > label {
258 258 margin: 0 1ex;
259 259 }
260 260
261 261 .image-mode-tab > label > input {
262 262 margin-right: .5ex;
263 263 }
264 264
265 265 #posts-table {
266 266 margin: 5px;
267 267 }
268 268
269 269 .tag_info {
270 270 display: table;
271 271 }
272 272
273 273 .tag_info > h2 {
274 274 margin: 0;
275 275 }
276 276
277 277 .moderator_info {
278 278 color: #e99d41;
279 279 border: dashed 1px;
280 280 padding: 3px;
281 281 }
282 282
283 283 .refmap {
284 284 font-size: 0.9em;
285 285 color: #444;
286 286 margin-top: 1em;
287 287 }
288 288
289 289 input[type="submit"]:hover {
290 290 background: #ccc;
291 291 }
292 292
293 293
294 294 .fav {
295 295 color: rgb(255, 102, 0);
296 296 }
297 297
298 298 .not_fav {
299 299 color: #555;
300 300 }
301 301
302 302 .role {
303 303 text-decoration: underline;
304 304 }
305 305
306 306 .form-email {
307 307 display: none;
308 308 }
309 309
310 310 .mark_btn {
311 311 padding: 2px 4px;
312 312 border: 1px solid;
313 313 }
314 314
315 315 .mark_btn:hover {
316 316 background: #ccc;
317 317 }
318 318
319 319 .bar-value {
320 320 background: rgba(251, 199, 16, 0.61);
321 321 padding: 2px;
322 322 font-size: 0.9em;
323 height: 1.5em;
323 324 }
324 325
325 326 .bar-bg {
327 position: relative;
326 328 border: 1px solid rgb(204, 204, 204);
327 329 border-radius: 5px 5px 5px 5px;
328 330 margin: 5px;
331 overflow: hidden;
332 }
333
334 .bar-text {
335 padding: 2px;
336 position: absolute;
337 left: 0;
338 top: 0;
329 339 } No newline at end of file
@@ -1,298 +1,310 b''
1 1 * {
2 2 font-size: inherit;
3 3 margin: 0;
4 4 padding: 0;
5 5 }
6 6 html {
7 7 background: #fff;
8 8 color: #000;
9 9 font: medium sans-serif;
10 10 }
11 11 a {
12 12 color: inherit;
13 13 text-decoration: underline;
14 14 }
15 15 li {
16 16 list-style-position: inside;
17 17 }
18 18
19 19 #admin_panel {
20 20 background: #182F6F;
21 21 color: #fff;
22 22 padding: .5ex 1ex .5ex 1ex;
23 23 }
24 24
25 25 .navigation_panel {
26 26 background: #182F6F;
27 27 color: #B4CFEC;
28 28 margin-bottom: 1em;
29 29 padding: .5ex 1ex 1ex 1ex;
30 30 }
31 31 .navigation_panel::after {
32 32 clear: both;
33 33 content: ".";
34 34 display: block;
35 35 height: 0;
36 36 line-height: 0;
37 37 visibility: hidden;
38 38 }
39 39
40 40 .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover {
41 41 text-decoration: none;
42 42 }
43 43
44 44 .navigation_panel .link {
45 45 border-right: 1px solid #fff;
46 46 color: #fff;
47 47 font-weight: bold;
48 48 margin-right: 1ex;
49 49 padding-right: 1ex;
50 50 }
51 51 .navigation_panel .link:last-child {
52 52 border-left: 1px solid #fff;
53 53 border-right: none;
54 54 float: right;
55 55 margin-left: 1ex;
56 56 margin-right: 0;
57 57 padding-left: 1ex;
58 58 padding-right: 0;
59 59 }
60 60
61 61 .navigation_panel .tag {
62 62 color: #fff;
63 63 }
64 64
65 65 .input_field {
66 66
67 67 }
68 68
69 69 .input_field_name {
70 70
71 71 }
72 72
73 73 .input_field_error {
74 74 color: #FF0000;
75 75 }
76 76
77 77
78 78 .title {
79 79 color: #182F6F;
80 80 font-weight: bold;
81 81 }
82 82
83 83 .post-form-w {
84 84 background: #182F6F;
85 85 border-radius: 1ex;
86 86 color: #fff;
87 87 margin: 1em 1ex;
88 88 padding: 1ex;
89 89 }
90 90 .post-form {
91 91 display: table;
92 92 border-collapse: collapse;
93 93 width: 100%;
94 94
95 95 }
96 96 .form-row {
97 97 display: table-row;
98 98 }
99 99 .form-label, .form-input {
100 100 display: table-cell;
101 101 vertical-align: top;
102 102 }
103 103 .form-label {
104 104 padding: .25em 1ex .25em 0;
105 105 }
106 106 .form-input {
107 107 padding: .25em 0;
108 108 }
109 109 .form-input > * {
110 110 background: #fff;
111 111 color: #000;
112 112 border: none;
113 113 padding: 0;
114 114 resize: vertical;
115 115 width: 100%;
116 116 }
117 117 .form-submit {
118 118 border-bottom: 1px solid #666;
119 119 margin-bottom: .5em;
120 120 padding-bottom: .5em;
121 121 }
122 122 .form-title {
123 123 font-weight: bold;
124 124 margin-bottom: .5em;
125 125 }
126 126 .post-form .settings_item {
127 127 margin: .5em 0;
128 128 }
129 129 .form-submit input {
130 130 margin-top: .5em;
131 131 padding: .2em 1ex;
132 132 }
133 133 .form-label {
134 134 text-align: right;
135 135 }
136 136
137 137 .block {
138 138 display: inline-block;
139 139 vertical-align: top;
140 140 }
141 141
142 142 .post_id {
143 143 color: #a00;
144 144 }
145 145
146 146 .post {
147 147 clear: left;
148 148 margin: 0 1ex 1em 1ex;
149 149 overflow-x: auto;
150 150 word-wrap: break-word;
151 151 background: #FFF;
152 152 padding: 1ex;
153 153 border: 1px solid #666;
154 154 box-shadow: 1px 1px 2px 1px #666;
155 155 }
156 156
157 157 #posts > .post:last-child {
158 158 border-bottom: none;
159 159 padding-bottom: 0;
160 160 }
161 161
162 162 .metadata {
163 163 background: #C0E4E8;
164 164 border: 1px solid #7F9699;
165 165 border-radius: .4ex;
166 166 display: table;
167 167 margin-top: .5em;
168 168 padding: .4em;
169 169 }
170 170
171 171 .post ul, .post ol {
172 172 margin: .5em 0 .5em 3ex;
173 173 }
174 174 .post li {
175 175 margin: .2em 0;
176 176 }
177 177 .post p {
178 178 margin: .5em 0;
179 179 }
180 180 .post blockquote {
181 181 border-left: 3px solid #182F6F;
182 182 margin: .5em 0 .5em 3ex;
183 183 padding-left: 1ex;
184 184 }
185 185 .post blockquote > blockquote {
186 186 padding-top: .1em;
187 187 }
188 188
189 189 .post > .image {
190 190 float: left;
191 191 margin-right: 1ex;
192 192 }
193 193 .post > .metadata {
194 194 clear: left;
195 195 }
196 196
197 197 .post > .message .get {
198 198 color: #182F6F; font-weight: bold;
199 199 }
200 200
201 201 .dead_post > .metadata {
202 202 background: #eee;
203 203 }
204 204
205 205 .quote {
206 206 color: #182F6F;
207 207 }
208 208
209 209 .spoiler {
210 210 background: black;
211 211 color: black;
212 212 }
213 213
214 214 .spoiler:hover {
215 215 background: #ffffff;
216 216 }
217 217
218 218 .comment {
219 219 color: #557055;
220 220 }
221 221
222 222 .last-replies {
223 223 margin-left: 6ex;
224 224 }
225 225
226 226 .thread > .post > .message > .post-info {
227 227 border-bottom: 1px solid #ccc;
228 228 padding-bottom: .5em;
229 229 }
230 230
231 231 :target .post_id {
232 232 background: #182F6F;
233 233 color: #FFF;
234 234 text-decoration: none;
235 235 }
236 236
237 237 .image-mode-tab {
238 238 background: #182F6F;
239 239 color: #FFF;
240 240 display: table;
241 241 margin: 1em auto 1em 0;
242 242 padding: .2em .5ex;
243 243 }
244 244
245 245 .image-mode-tab > label {
246 246 margin: 0 1ex;
247 247 }
248 248
249 249 .image-mode-tab > label > input {
250 250 margin-right: .5ex;
251 251 }
252 252
253 253 .tag_info {
254 254 margin: 1em 0;
255 255 text-align: center;
256 256 }
257 257
258 258 .form-errors {
259 259 margin-left: 1ex;
260 260 }
261 261
262 262 .moderator_info {
263 263 font-weight: bold;
264 264 float: right;
265 265 }
266 266
267 267 .refmap {
268 268 border: 1px dashed #aaa;
269 269 padding: 0.5em;
270 270 display: table;
271 271 }
272 272
273 273 .fav {
274 274 color: blue;
275 275 }
276 276
277 277 .not_fav {
278 278 color: #ccc;
279 279 }
280 280
281 281 .role {
282 282 text-decoration: underline;
283 283 }
284 284
285 285 .form-email {
286 286 display: none;
287 287 }
288 288
289 289 .bar-value {
290 290 background: #E3E7F2;
291 291 padding: .1em 1ex;
292 moz-box-sizing: border-box;
293 box-sizing: border-box;
294 height: 1.5em;
292 295 }
293 296
294 297 .bar-bg {
295 298 background: #EA4649;
296 299 border: 1px solid #666;
297 300 margin: 0 1ex 1em 1ex;
301 position: relative;
302 overflow: hidden;
303 }
304
305 .bar-text {
306 padding: 2px;
307 position: absolute;
308 left: 0;
309 top: 0;
298 310 } No newline at end of file
@@ -1,150 +1,152 b''
1 1 {% extends "boards/base.html" %}
2 2
3 3 {% load i18n %}
4 4 {% load markup %}
5 5 {% load cache %}
6 6 {% load static from staticfiles %}
7 7
8 8 {% block head %}
9 9 <title>Neboard - {{ posts.0.get_title }}</title>
10 10 {% endblock %}
11 11
12 12 {% block content %}
13 13 {% get_current_language as LANGUAGE_CODE %}
14 14
15 15 <script src="{% static 'js/thread.js' %}"></script>
16 16
17 17 {% if posts %}
18 18 {% cache 600 thread_view posts.0.last_edit_time moderator LANGUAGE_CODE %}
19 19 {% if bumpable %}
20 20 <div class="bar-bg">
21 21 <div class="bar-value" style="width:{{ bumplimit_progress }}%">
22 </div>
23 <div class="bar-text">
22 24 {{ posts_left }} {% trans 'posts to bumplimit' %}
23 25 </div>
24 26 </div>
25 27 {% endif %}
26 28 <div class="thread">
27 29 {% for post in posts %}
28 30 {% if bumpable %}
29 31 <div class="post" id="{{ post.id }}">
30 32 {% else %}
31 33 <div class="post dead_post" id="{{ post.id }}">
32 34 {% endif %}
33 35 {% if post.image %}
34 36 <div class="image">
35 37 <a
36 38 class="thumb"
37 39 href="{{ post.image.url }}"><img
38 40 src="{{ post.image.url_200x150 }}"
39 41 alt="{{ post.id }}"
40 42 data-width="{{ post.image_width }}"
41 43 data-height="{{ post.image_height }}"/>
42 44 </a>
43 45 </div>
44 46 {% endif %}
45 47 <div class="message">
46 48 <div class="post-info">
47 49 <span class="title">{{ post.title }}</span>
48 50 <a class="post_id" href="#{{ post.id }}">
49 51 (#{{ post.id }})</a>
50 52 [{{ post.pub_time }}]
51 53 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
52 54 ; return false;">&gt;&gt;</a>]
53 55
54 56 {% if moderator %}
55 57 <span class="moderator_info">
56 58 [<a href="{% url 'delete' post_id=post.id %}"
57 59 >{% trans 'Delete' %}</a>]
58 60 ({{ post.poster_ip }})
59 61 [<a href="{% url 'ban' post_id=post.id %}?next={{ request.path }}"
60 62 >{% trans 'Ban IP' %}</a>]
61 63 </span>
62 64 {% endif %}
63 65 </div>
64 66 {% autoescape off %}
65 67 {{ post.text.rendered }}
66 68 {% endautoescape %}
67 69 </div>
68 70 {% if post.id == posts.0.id %}
69 71 <div class="metadata">
70 72 <span class="tags">{% trans 'Tags' %}:
71 73 {% for tag in post.tags.all %}
72 74 <a class="tag" href="{% url 'tag' tag.name %}">
73 75 {{ tag.name }}</a>
74 76 {% endfor %}
75 77 </span>
76 78 </div>
77 79 {% endif %}
78 80 </div>
79 81 {% endfor %}
80 82 </div>
81 83 {% endcache %}
82 84 {% endif %}
83 85
84 86 <form id="form" enctype="multipart/form-data" method="post"
85 87 >{% csrf_token %}
86 88 <div class="post-form-w">
87 89 <div class="form-title">{% trans "Reply to thread" %} #{{ posts.0.id }}</div>
88 90 <div class="post-form">
89 91 <div class="form-row">
90 92 <div class="form-label">{% trans 'Title' %}</div>
91 93 <div class="form-input">{{ form.title }}</div>
92 94 <div class="form-errors">{{ form.title.errors }}</div>
93 95 </div>
94 96 <div class="form-row">
95 97 <div class="form-label">{% trans 'Formatting' %}</div>
96 98 <div class="form-input" id="mark_panel">
97 99 <span class="mark_btn" id="quote"><span class="quote">&gt;{% trans 'quote' %}</span></span>
98 100 <span class="mark_btn" id="italic"><i>{% trans 'italic' %}</i></span>
99 101 <span class="mark_btn" id="bold"><b>{% trans 'bold' %}</b></span>
100 102 <span class="mark_btn" id="spoiler"><span class="spoiler">{% trans 'spoiler' %}</span></span>
101 103 <span class="mark_btn" id="comment"><span class="comment">// {% trans 'comment' %}</span></span>
102 104 </div>
103 105 </div>
104 106 <div class="form-row">
105 107 <div class="form-label">{% trans 'Text' %}</div>
106 108 <div class="form-input">{{ form.text }}</div>
107 109 <div class="form-errors">{{ form.text.errors }}</div>
108 110 </div>
109 111 <div class="form-row">
110 112 <div class="form-label">{% trans 'Image' %}</div>
111 113 <div class="form-input">{{ form.image }}</div>
112 114 <div class="form-errors">{{ form.image.errors }}</div>
113 115 </div>
114 116 <div class="form-row form-email">
115 117 <div class="form-label">{% trans 'e-mail' %}</div>
116 118 <div class="form-input">{{ form.email }}</div>
117 119 <div class="form-errors">{{ form.email.errors }}</div>
118 120 </div>
119 121 <div class="form-row">
120 122 {{ form.captcha }}
121 123 <div class="form-errors">{{ form.captcha.errors }}</div>
122 124 </div>
123 125 <div class="form-row">
124 126 <div class="form-errors">{{ form.other.errors }}</div>
125 127 </div>
126 128 </div>
127 129
128 130 <div class="form-submit"><input type="submit"
129 131 value="{% trans "Post" %}"/></div>
130 132 <div><a href="{% url "staticpage" name="help" %}">
131 133 {% trans 'Text syntax' %}</a></div>
132 134 </div>
133 135 </form>
134 136
135 137 {% endblock %}
136 138
137 139 {% block metapanel %}
138 140
139 141 {% get_current_language as LANGUAGE_CODE %}
140 142
141 143 <span class="metapanel">
142 144 {% cache 600 thread_meta posts.0.last_edit_time moderator LANGUAGE_CODE %}
143 145 {{ posts.0.get_reply_count }} {% trans 'replies' %},
144 146 {{ posts.0.get_images_count }} {% trans 'images' %}.
145 147 {% trans 'Last update: ' %}{{ posts.0.last_edit_time }}
146 148 [<a href="rss/">RSS</a>]
147 149 {% endcache %}
148 150 </span>
149 151
150 152 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now