Description:
removed bold from submission_box
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@438 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r207:88a43bd82021 - - 2 files changed: 2 inserted, 3 deleted
@@ -1,8 +1,8 | |||
|
1 | 1 | <% form_tag({:action => 'submit'}, :multipart => true) do %> |
|
2 | - Problem: <%= select 'submission', 'problem_id', | |
|
2 | + <b>Problem:</b> <%= select 'submission', 'problem_id', | |
|
3 | 3 | [[(t 'main.specified_in_header'),'-1']] + |
|
4 | 4 | @problems.collect {|p| [p.full_name, p.id]}, |
|
5 | 5 | :selected => '-1' %> |
|
6 | - File: <%= file_field_tag 'file' %> | |
|
6 | + <b>File:</b> <%= file_field_tag 'file' %> | |
|
7 | 7 | <%= submit_tag 'Submit' %> |
|
8 | 8 | <% end %> |
@@ -1,319 +1,318 | |||
|
1 | 1 | /* Main Default */ |
|
2 | 2 | body { |
|
3 | 3 | background: white url(../images/topbg.jpg) repeat-x top center; |
|
4 | 4 | font-size: 13px; |
|
5 | 5 | font-family: Tahoma, "sans-serif"; |
|
6 | 6 | margin: 10px; |
|
7 | 7 | padding: 10px; |
|
8 | 8 | } |
|
9 | 9 | |
|
10 | 10 | /* Form Font */ |
|
11 | 11 | input { |
|
12 | 12 | font-family: Tahoma, "sans-serif"; |
|
13 | 13 | } |
|
14 | 14 | |
|
15 | 15 | /* Heading 1&2 */ |
|
16 | 16 | h1 { |
|
17 | 17 | font-size: 24px; |
|
18 | 18 | color: #334488; |
|
19 | 19 | line-height: 2em; |
|
20 | 20 | } |
|
21 | 21 | |
|
22 | 22 | h2 { |
|
23 | 23 | font-size: 18px; |
|
24 | 24 | color: #5566bb; |
|
25 | 25 | line-height: 1.5em; |
|
26 | 26 | } |
|
27 | 27 | |
|
28 | 28 | /* Bar Line Color and Thickness */ |
|
29 | 29 | hr { |
|
30 | 30 | border-top: 1px solid #dddddd; |
|
31 | 31 | border-bottom: 1px solid #eeeeee; |
|
32 | 32 | } |
|
33 | 33 | |
|
34 | 34 | /* Link + Anchor Color */ |
|
35 | 35 | a, a:link, a:visited { |
|
36 | 36 | color: #6666cc; |
|
37 | 37 | text-decoration: none; |
|
38 | 38 | } |
|
39 | 39 | |
|
40 | 40 | a:hover, a:focus { |
|
41 | 41 | color: #111166; |
|
42 | 42 | text-decoration: none; |
|
43 | 43 | } |
|
44 | 44 | |
|
45 | 45 | /* This is the main menu bad*/ |
|
46 | 46 | div.userbar { |
|
47 | 47 | line-height: 1.5em; |
|
48 | 48 | text-align: right; |
|
49 | 49 | font-size: 12px; |
|
50 | 50 | } |
|
51 | 51 | |
|
52 | 52 | /* This is the top bar, displaying user's full name */ |
|
53 | 53 | div.title { |
|
54 | 54 | // background: #ddddff; |
|
55 | 55 | // border: 1px dashed blue; |
|
56 | 56 | padding: 10px 0px; |
|
57 | 57 | line-height: 1.5em; |
|
58 | 58 | font-size: 13px; |
|
59 | 59 | } |
|
60 | 60 | |
|
61 | 61 | div.title span.contest-over-msg { |
|
62 | 62 | font-size: 15px; |
|
63 | 63 | color: red; |
|
64 | 64 | } |
|
65 | 65 | |
|
66 | 66 | div.title table { |
|
67 | 67 | width: 100%; |
|
68 | 68 | font-weight: bold; |
|
69 | 69 | } |
|
70 | 70 | |
|
71 | 71 | div.title td.left-col { |
|
72 | 72 | text-align: left; |
|
73 | 73 | vertical-align: top; |
|
74 | 74 | color: #444444; |
|
75 | 75 | } |
|
76 | 76 | |
|
77 | 77 | div.title td.right-col { |
|
78 | 78 | text-align: right; |
|
79 | 79 | vertical-align: top; |
|
80 | 80 | font-size: 18px; |
|
81 | 81 | color: #116699; |
|
82 | 82 | } |
|
83 | 83 | |
|
84 | 84 | /* Standard table with header and rows with alternating background */ |
|
85 | 85 | table.info { |
|
86 | 86 | margin: 10px 0; |
|
87 | 87 | border: 1px solid #666666; |
|
88 | 88 | border-collapse: collapse; |
|
89 | 89 | font-size: 12px; |
|
90 | 90 | } |
|
91 | 91 | |
|
92 | 92 | table.info th { |
|
93 | 93 | border: 1px solid #666666; |
|
94 | 94 | line-height: 1.5em; |
|
95 | 95 | padding: 0 0.5em; |
|
96 | 96 | } |
|
97 | 97 | |
|
98 | 98 | table.info td { |
|
99 | 99 | border-left: 1px solid #666666; |
|
100 | 100 | border-right: 1px solid #666666; |
|
101 | 101 | line-height: 1.5em; |
|
102 | 102 | padding: 0 0.5em; |
|
103 | 103 | } |
|
104 | 104 | |
|
105 | 105 | tr.info-head { |
|
106 | 106 | background: #777777; |
|
107 | 107 | color: white; |
|
108 | 108 | } |
|
109 | 109 | |
|
110 | 110 | tr.info-odd { |
|
111 | 111 | background: #eeeeee; |
|
112 | 112 | } |
|
113 | 113 | |
|
114 | 114 | tr.info-even { |
|
115 | 115 | background: #f9f9f9; |
|
116 | 116 | } |
|
117 | 117 | |
|
118 | 118 | /******************************* |
|
119 | 119 | [Main] |
|
120 | 120 | ********************************/ |
|
121 | 121 | div.submitbox { |
|
122 | 122 | background: #eeeeff; |
|
123 | 123 | border: 1px dotted #99aaee; |
|
124 | 124 | padding: 5px; |
|
125 | 125 | margin: 10px 0px; |
|
126 | 126 | color: black; |
|
127 | - font-weight: bold; | |
|
128 | 127 | font-size: 13px; |
|
129 | 128 | } |
|
130 | 129 | |
|
131 | 130 | div.errorExplanation { |
|
132 | 131 | border: 1px dotted gray; |
|
133 | 132 | color: #bb2222; |
|
134 | 133 | padding: 5px 15px 5px 15px; |
|
135 | 134 | margin-bottom: 5px; |
|
136 | 135 | background-color: white; |
|
137 | 136 | font-weight: normal; |
|
138 | 137 | } |
|
139 | 138 | |
|
140 | 139 | |
|
141 | 140 | div.errorExplanation h2 { |
|
142 | 141 | color: #cc1111; |
|
143 | 142 | font-weight: bold; |
|
144 | 143 | } |
|
145 | 144 | |
|
146 | 145 | /******************************* |
|
147 | 146 | [Settings] |
|
148 | 147 | ********************************/ |
|
149 | 148 | table.uinfo { |
|
150 | 149 | border-collapse: collapse; |
|
151 | 150 | border: 1px solid black; |
|
152 | 151 | font-size: 13px; |
|
153 | 152 | } |
|
154 | 153 | |
|
155 | 154 | td.uinfo { |
|
156 | 155 | vertical-align: top; |
|
157 | 156 | border: 1px solid black; |
|
158 | 157 | padding: 5px; |
|
159 | 158 | } |
|
160 | 159 | |
|
161 | 160 | th.uinfo { |
|
162 | 161 | background: lightgreen; |
|
163 | 162 | vertical-align: top; |
|
164 | 163 | text-align: right; |
|
165 | 164 | border: 1px solid black; |
|
166 | 165 | padding: 5px; |
|
167 | 166 | } |
|
168 | 167 | |
|
169 | 168 | /******************************* |
|
170 | 169 | [Submission] |
|
171 | 170 | ********************************/ |
|
172 | 171 | div.compilermsgbody { |
|
173 | 172 | font-family: monospace; |
|
174 | 173 | } |
|
175 | 174 | |
|
176 | 175 | div.task-menu { |
|
177 | 176 | text-align: center; |
|
178 | 177 | font-size: 13px; |
|
179 | 178 | line-height: 1.75em; |
|
180 | 179 | font-weight: bold; |
|
181 | 180 | border-top: 1px dashed gray; |
|
182 | 181 | border-bottom: 1px dashed gray; |
|
183 | 182 | margin-top: 2px; |
|
184 | 183 | margin-bottom: 4px; |
|
185 | 184 | } |
|
186 | 185 | |
|
187 | 186 | /******************************* |
|
188 | 187 | [Submission] |
|
189 | 188 | ********************************/ |
|
190 | 189 | table.taskdesc { |
|
191 | 190 | border: 2px solid #dddddd; |
|
192 | 191 | border-collapse: collapse; |
|
193 | 192 | margin: 10px auto; |
|
194 | 193 | width: 90%; |
|
195 | 194 | font-size: 13px; |
|
196 | 195 | } |
|
197 | 196 | |
|
198 | 197 | table.taskdesc p { |
|
199 | 198 | font-size: 13px; |
|
200 | 199 | } |
|
201 | 200 | |
|
202 | 201 | table.taskdesc tr.name { |
|
203 | 202 | border: 2px solid #dddddd; |
|
204 | 203 | background: #dddddd; |
|
205 | 204 | color: #333333; |
|
206 | 205 | font-weight: bold; |
|
207 | 206 | font-size: 14px; |
|
208 | 207 | line-height: 1.5em; |
|
209 | 208 | text-align: center; |
|
210 | 209 | } |
|
211 | 210 | |
|
212 | 211 | table.taskdesc td.desc-odd { |
|
213 | 212 | padding: 5px; |
|
214 | 213 | padding-left: 20px; |
|
215 | 214 | background: #fefeee; |
|
216 | 215 | } |
|
217 | 216 | |
|
218 | 217 | table.taskdesc td.desc-even { |
|
219 | 218 | padding: 5px; |
|
220 | 219 | padding-left: 20px; |
|
221 | 220 | background: #feeefe; |
|
222 | 221 | } |
|
223 | 222 | |
|
224 | 223 | /********************** |
|
225 | 224 | Announcement |
|
226 | 225 | ***********************/ |
|
227 | 226 | |
|
228 | 227 | div.announcementbox { |
|
229 | 228 | margin: 10px 0px; |
|
230 | 229 | background: #bbddee; |
|
231 | 230 | padding: 1px; |
|
232 | 231 | } |
|
233 | 232 | |
|
234 | 233 | div.announcementbox span.title { |
|
235 | 234 | font-weight: bold; |
|
236 | 235 | color: #224455; |
|
237 | 236 | padding-left: 10px; |
|
238 | 237 | line-height: 1.6em; |
|
239 | 238 | } |
|
240 | 239 | |
|
241 | 240 | div.announcement { |
|
242 | 241 | margin: 2px; |
|
243 | 242 | background: white; |
|
244 | 243 | padding: 1px; |
|
245 | 244 | padding-left: 10px; |
|
246 | 245 | padding-right: 10px; |
|
247 | 246 | padding-top: 5px; |
|
248 | 247 | padding-bottom: 5px; |
|
249 | 248 | } |
|
250 | 249 | |
|
251 | 250 | .announcement p { |
|
252 | 251 | font-size: 12px; |
|
253 | 252 | margin: 2px; |
|
254 | 253 | } |
|
255 | 254 | |
|
256 | 255 | div.pub-info, div.pub-info p { |
|
257 | 256 | text-align: right; |
|
258 | 257 | font-style: italic; |
|
259 | 258 | font-size: 9px; |
|
260 | 259 | } |
|
261 | 260 | |
|
262 | 261 | .announcement .toggles { |
|
263 | 262 | font-weight: normal; |
|
264 | 263 | float: right; |
|
265 | 264 | font-size: 80%; |
|
266 | 265 | } |
|
267 | 266 | |
|
268 | 267 | .announcement .announcement-title { |
|
269 | 268 | font-weight: bold; |
|
270 | 269 | } |
|
271 | 270 | |
|
272 | 271 | /****************** |
|
273 | 272 | Messages |
|
274 | 273 | ******************/ |
|
275 | 274 | |
|
276 | 275 | div.message { |
|
277 | 276 | margin: 10px 0 0; |
|
278 | 277 | } |
|
279 | 278 | |
|
280 | 279 | div.message div.message { |
|
281 | 280 | margin: 0 0 0 30px; |
|
282 | 281 | } |
|
283 | 282 | |
|
284 | 283 | div.message div.body { |
|
285 | 284 | border: 2px solid #dddddd; |
|
286 | 285 | background: #fff8f8; |
|
287 | 286 | padding-left: 5px; |
|
288 | 287 | } |
|
289 | 288 | |
|
290 | 289 | div.message div.reply-body { |
|
291 | 290 | border: 2px solid #bbbbbb; |
|
292 | 291 | background: #fffff8; |
|
293 | 292 | padding-left: 5px; |
|
294 | 293 | } |
|
295 | 294 | |
|
296 | 295 | div.message div.stat { |
|
297 | 296 | font-size: 10px; |
|
298 | 297 | line-height: 1.75em; |
|
299 | 298 | padding: 0 5px; |
|
300 | 299 | color: #333333; |
|
301 | 300 | background: #dddddd; |
|
302 | 301 | font-weight: bold; |
|
303 | 302 | } |
|
304 | 303 | |
|
305 | 304 | div.message div.message div.stat { |
|
306 | 305 | font-size: 10px; |
|
307 | 306 | line-height: 1.75em; |
|
308 | 307 | padding: 0 5px; |
|
309 | 308 | color: #444444; |
|
310 | 309 | background: #bbbbbb; |
|
311 | 310 | font-weight: bold; |
|
312 | 311 | } |
|
313 | 312 | |
|
314 | 313 | /******************** |
|
315 | 314 | Registration |
|
316 | 315 | ********************/ |
|
317 | 316 | div.contest-title { |
|
318 | 317 | color: white; |
|
319 | 318 | text-align: center; |
You need to be logged in to leave comments.
Login now