Description:
tidy up bootstrap navbar
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r568:8640c8596caa - - 3 files changed: 111 inserted, 7 deleted

@@ -1,351 +1,420
1 /*
1 /*
2 * This is a manifest file that'll be compiled into application.css, which will include all the files
2 * This is a manifest file that'll be compiled into application.css, which will include all the files
3 * listed below.
3 * listed below.
4 *
4 *
5 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
5 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
6 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7 *
7 *
8 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
8 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9 * compiled file so the styles you add here take precedence over styles defined in any styles
9 * compiled file so the styles you add here take precedence over styles defined in any styles
10 * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
10 * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11 * file per style scope.
11 * file per style scope.
12 *
12 *
13 // bootstrap says that we should not do this, but @import each file instead
13 // bootstrap says that we should not do this, but @import each file instead
14 # *= require_tree .
14 # *= require_tree .
15 # *= require_self
15 # *= require_self
16 */
16 */
17
17
18 @import jquery.ui.all
18 @import jquery.ui.all
19 @import jquery.ui.core
19 @import jquery.ui.core
20 @import jquery.ui.core
20 @import jquery.ui.core
21 @import jquery.ui.theme
21 @import jquery.ui.theme
22 @import jquery.ui.datepicker
22 @import jquery.ui.datepicker
23 @import jquery.ui.slider
23 @import jquery.ui.slider
24 @import jquery-ui-timepicker-addon
24 @import jquery-ui-timepicker-addon
25 @import jquery-tablesorter/theme.metro-dark
25 @import jquery-tablesorter/theme.metro-dark
26 @import tablesorter-theme.cafe
26 @import tablesorter-theme.cafe
27
27
28 //bootstrap
28 //bootstrap
29 @import bootstrap-sprockets
29 @import bootstrap-sprockets
30 @import bootstrap
30 @import bootstrap
31 @import select2
31 @import select2
32 @import select2-bootstrap
32 @import select2-bootstrap
33 //@import bootstrap3-switch
33 //@import bootstrap3-switch
34 @import bootstrap-toggle
34 @import bootstrap-toggle
35
35
36 + //bootstrap navbar color (from)
37 + $bgDefault : #19197b
38 + $bgHighlight : #06064b
39 + $colDefault : #8e8eb4
40 + $colHighlight : #ffffff
41 + $dropDown : false
42 + .navbar-default
43 + background-color: $bgDefault
44 + border-color: $bgHighlight
45 + .navbar-brand
46 + color: $colDefault
47 + &:hover, &:focus
48 + color: $colHighlight
49 + .navbar-text
50 + color: $colDefault
51 + .navbar-nav
52 + > li
53 + > a
54 + color: $colDefault
55 + &:hover, &:focus
56 + color: $colHighlight
57 + @if $dropDown
58 + > .dropdown-menu
59 + background-color: $bgDefault
60 + > li
61 + > a
62 + color: $colDefault
63 + &:hover, &:focus
64 + color: $colHighlight
65 + background-color: $bgHighlight
66 + > .divider
67 + background-color: $bgHighlight
68 + @if $dropDown
69 + .open .dropdown-menu > .active
70 + > a, > a:hover, > a:focus
71 + color: $colHighlight
72 + background-color: $bgHighlight
73 + > .active
74 + > a, > a:hover, > a:focus
75 + color: $colHighlight
76 + background-color: $bgHighlight
77 + > .open
78 + > a, > a:hover, > a:focus
79 + color: $colHighlight
80 + background-color: $bgHighlight
81 + .navbar-toggle
82 + border-color: $bgHighlight
83 + &:hover, &:focus
84 + background-color: $bgHighlight
85 + .icon-bar
86 + background-color: $colDefault
87 + .navbar-collapse,
88 + .navbar-form
89 + border-color: $colDefault
90 + .navbar-link
91 + color: $colDefault
92 + &:hover
93 + color: $colHighlight
94 + @media (max-width: 767px)
95 + .navbar-default .navbar-nav .open .dropdown-menu
96 + > li > a
97 + color: $colDefault
98 + &:hover, &:focus
99 + color: $colHighlight
100 + > .active
101 + > a, > a:hover, > a:focus
102 + color: $colHighlight
103 + background-color: $bgHighlight
104 +
36 .secondnavbar
105 .secondnavbar
37 top: 50px
106 top: 50px
38
107
39 .btn-file
108 .btn-file
40 position: relative
109 position: relative
41 overflow: hidden
110 overflow: hidden
42
111
43 .btn-file input[type=file]
112 .btn-file input[type=file]
44 position: absolute
113 position: absolute
45 top: 0
114 top: 0
46 right: 0
115 right: 0
47 min-width: 100%
116 min-width: 100%
48 min-height: 100%
117 min-height: 100%
49 font-size: 100px
118 font-size: 100px
50 text-align: right
119 text-align: right
51 filter: alpha(opacity=0)
120 filter: alpha(opacity=0)
52 opacity: 0
121 opacity: 0
53 outline: none
122 outline: none
54 background: white
123 background: white
55 cursor: inherit
124 cursor: inherit
56 display: block
125 display: block
57
126
58 body
127 body
59 background: white image-url("topbg.jpg") repeat-x top center
128 background: white image-url("topbg.jpg") repeat-x top center
60 //font-size: 13px
129 //font-size: 13px
61 //font-family: Tahoma, "sans-serif"
130 //font-family: Tahoma, "sans-serif"
62 margin: 10px
131 margin: 10px
63 padding: 10px
132 padding: 10px
64 - padding-top: 100px
133 + padding-top: 40px
65
134
66
135
67 input
136 input
68 font-family: Tahoma, "sans-serif"
137 font-family: Tahoma, "sans-serif"
69
138
70
139
71 h1
140 h1
72 font-size: 24px
141 font-size: 24px
73 color: #334488
142 color: #334488
74 line-height: 2em
143 line-height: 2em
75
144
76
145
77 h2
146 h2
78 font-size: 18px
147 font-size: 18px
79 color: #5566bb
148 color: #5566bb
80 line-height: 1.5em
149 line-height: 1.5em
81
150
82
151
83 hr
152 hr
84 border-top: 1px solid #dddddd
153 border-top: 1px solid #dddddd
85 border-bottom: 1px solid #eeeeee
154 border-bottom: 1px solid #eeeeee
86
155
87
156
88 //#a
157 //#a
89 // color: #6666cc
158 // color: #6666cc
90 // text-decoration: none
159 // text-decoration: none
91 //
160 //
92 // &:link, &:visited
161 // &:link, &:visited
93 // color: #6666cc
162 // color: #6666cc
94 // text-decoration: none
163 // text-decoration: none
95 //
164 //
96 // &:hover, &:focus
165 // &:hover, &:focus
97 // color: #111166
166 // color: #111166
98 // text-decoration: none
167 // text-decoration: none
99
168
100
169
101 div
170 div
102 &.userbar
171 &.userbar
103 line-height: 1.5em
172 line-height: 1.5em
104 text-align: right
173 text-align: right
105 font-size: 12px
174 font-size: 12px
106
175
107 &.title
176 &.title
108 padding: 10px 0px
177 padding: 10px 0px
109 line-height: 1.5em
178 line-height: 1.5em
110 font-size: 13px
179 font-size: 13px
111
180
112 span.contest-over-msg
181 span.contest-over-msg
113 font-size: 15px
182 font-size: 15px
114 color: red
183 color: red
115
184
116 table
185 table
117 width: 100%
186 width: 100%
118 font-weight: bold
187 font-weight: bold
119
188
120 td
189 td
121 &.left-col
190 &.left-col
122 text-align: left
191 text-align: left
123 vertical-align: top
192 vertical-align: top
124 color: #444444
193 color: #444444
125
194
126 &.right-col
195 &.right-col
127 text-align: right
196 text-align: right
128 vertical-align: top
197 vertical-align: top
129 font-size: 18px
198 font-size: 18px
130 color: #116699
199 color: #116699
131
200
132
201
133 table.info
202 table.info
134 margin: 10px 0
203 margin: 10px 0
135 border: 1px solid #666666
204 border: 1px solid #666666
136 border-collapse: collapse
205 border-collapse: collapse
137 font-size: 12px
206 font-size: 12px
138
207
139 th
208 th
140 border: 1px solid #666666
209 border: 1px solid #666666
141 line-height: 1.5em
210 line-height: 1.5em
142 padding: 0 0.5em
211 padding: 0 0.5em
143
212
144 td
213 td
145 border-left: 1px solid #666666
214 border-left: 1px solid #666666
146 border-right: 1px solid #666666
215 border-right: 1px solid #666666
147 line-height: 1.5em
216 line-height: 1.5em
148 padding: 0 0.5em
217 padding: 0 0.5em
149
218
150
219
151 tr
220 tr
152 &.info-head
221 &.info-head
153 background: #777777
222 background: #777777
154 color: white
223 color: white
155
224
156 &.info-odd
225 &.info-odd
157 background: #eeeeee
226 background: #eeeeee
158
227
159 &.info-even
228 &.info-even
160 background: #fcfcfc
229 background: #fcfcfc
161
230
162 =basicbox
231 =basicbox
163 background: #eeeeff
232 background: #eeeeff
164 border: 1px dotted #99aaee
233 border: 1px dotted #99aaee
165 padding: 5px
234 padding: 5px
166 margin: 10px 0px
235 margin: 10px 0px
167 color: black
236 color: black
168 font-size: 13px
237 font-size: 13px
169
238
170 .infobox
239 .infobox
171 +basicbox
240 +basicbox
172
241
173 .submitbox
242 .submitbox
174 +basicbox
243 +basicbox
175
244
176 .errorExplanation
245 .errorExplanation
177 border: 1px dotted gray
246 border: 1px dotted gray
178 color: #bb2222
247 color: #bb2222
179 padding: 5px 15px 5px 15px
248 padding: 5px 15px 5px 15px
180 margin-bottom: 5px
249 margin-bottom: 5px
181 background-color: white
250 background-color: white
182 font-weight: normal
251 font-weight: normal
183
252
184 h2
253 h2
185 color: #cc1111
254 color: #cc1111
186 font-weight: bold
255 font-weight: bold
187
256
188
257
189 table.uinfo
258 table.uinfo
190 border-collapse: collapse
259 border-collapse: collapse
191 border: 1px solid black
260 border: 1px solid black
192 font-size: 13px
261 font-size: 13px
193
262
194
263
195 td.uinfo
264 td.uinfo
196 vertical-align: top
265 vertical-align: top
197 border: 1px solid black
266 border: 1px solid black
198 padding: 5px
267 padding: 5px
199
268
200
269
201 th.uinfo
270 th.uinfo
202 background: lightgreen
271 background: lightgreen
203 vertical-align: top
272 vertical-align: top
204 text-align: right
273 text-align: right
205 border: 1px solid black
274 border: 1px solid black
206 padding: 5px
275 padding: 5px
207
276
208
277
209 div
278 div
210 &.compilermsgbody
279 &.compilermsgbody
211 font-family: monospace
280 font-family: monospace
212
281
213 &.task-menu
282 &.task-menu
214 text-align: center
283 text-align: center
215 font-size: 13px
284 font-size: 13px
216 line-height: 1.75em
285 line-height: 1.75em
217 font-weight: bold
286 font-weight: bold
218 border-top: 1px dashed gray
287 border-top: 1px dashed gray
219 border-bottom: 1px dashed gray
288 border-bottom: 1px dashed gray
220 margin-top: 2px
289 margin-top: 2px
221 margin-bottom: 4px
290 margin-bottom: 4px
222
291
223
292
224 table.taskdesc
293 table.taskdesc
225 border: 2px solid #dddddd
294 border: 2px solid #dddddd
226 border-collapse: collapse
295 border-collapse: collapse
227 margin: 10px auto
296 margin: 10px auto
228 width: 90%
297 width: 90%
229 font-size: 13px
298 font-size: 13px
230
299
231 p
300 p
232 font-size: 13px
301 font-size: 13px
233
302
234 tr.name
303 tr.name
235 border: 2px solid #dddddd
304 border: 2px solid #dddddd
236 background: #dddddd
305 background: #dddddd
237 color: #333333
306 color: #333333
238 font-weight: bold
307 font-weight: bold
239 font-size: 14px
308 font-size: 14px
240 line-height: 1.5em
309 line-height: 1.5em
241 text-align: center
310 text-align: center
242
311
243 td
312 td
244 &.desc-odd
313 &.desc-odd
245 padding: 5px
314 padding: 5px
246 padding-left: 20px
315 padding-left: 20px
247 background: #fefeee
316 background: #fefeee
248
317
249 &.desc-even
318 &.desc-even
250 padding: 5px
319 padding: 5px
251 padding-left: 20px
320 padding-left: 20px
252 background: #feeefe
321 background: #feeefe
253
322
254
323
255 .announcementbox
324 .announcementbox
256 margin: 10px 0px
325 margin: 10px 0px
257 background: #bbddee
326 background: #bbddee
258 padding: 1px
327 padding: 1px
259
328
260 span.title
329 span.title
261 font-weight: bold
330 font-weight: bold
262 color: #224455
331 color: #224455
263 padding-left: 10px
332 padding-left: 10px
264 line-height: 1.6em
333 line-height: 1.6em
265
334
266 .announcement
335 .announcement
267 margin: 2px
336 margin: 2px
268 background: white
337 background: white
269 padding: 1px
338 padding: 1px
270 padding-left: 10px
339 padding-left: 10px
271 padding-right: 10px
340 padding-right: 10px
272 padding-top: 5px
341 padding-top: 5px
273 padding-bottom: 5px
342 padding-bottom: 5px
274
343
275
344
276 .announcement p
345 .announcement p
277 font-size: 12px
346 font-size: 12px
278 margin: 2px
347 margin: 2px
279
348
280
349
281 .pub-info
350 .pub-info
282 text-align: right
351 text-align: right
283 font-style: italic
352 font-style: italic
284 font-size: 9px
353 font-size: 9px
285
354
286 p
355 p
287 text-align: right
356 text-align: right
288 font-style: italic
357 font-style: italic
289 font-size: 9px
358 font-size: 9px
290
359
291
360
292 .announcement
361 .announcement
293 .toggles
362 .toggles
294 font-weight: normal
363 font-weight: normal
295 float: right
364 float: right
296 font-size: 80%
365 font-size: 80%
297
366
298 .announcement-title
367 .announcement-title
299 font-weight: bold
368 font-weight: bold
300
369
301
370
302 div
371 div
303 &.message
372 &.message
304 margin: 10px 0 0
373 margin: 10px 0 0
305
374
306 div
375 div
307 &.message
376 &.message
308 margin: 0 0 0 30px
377 margin: 0 0 0 30px
309
378
310 &.body
379 &.body
311 border: 2px solid #dddddd
380 border: 2px solid #dddddd
312 background: #fff8f8
381 background: #fff8f8
313 padding-left: 5px
382 padding-left: 5px
314
383
315 &.reply-body
384 &.reply-body
316 border: 2px solid #bbbbbb
385 border: 2px solid #bbbbbb
317 background: #fffff8
386 background: #fffff8
318 padding-left: 5px
387 padding-left: 5px
319
388
320 &.stat
389 &.stat
321 font-size: 10px
390 font-size: 10px
322 line-height: 1.75em
391 line-height: 1.75em
323 padding: 0 5px
392 padding: 0 5px
324 color: #333333
393 color: #333333
325 background: #dddddd
394 background: #dddddd
326 font-weight: bold
395 font-weight: bold
327
396
328 &.message div.stat
397 &.message div.stat
329 font-size: 10px
398 font-size: 10px
330 line-height: 1.75em
399 line-height: 1.75em
331 padding: 0 5px
400 padding: 0 5px
332 color: #444444
401 color: #444444
333 background: #bbbbbb
402 background: #bbbbbb
334 font-weight: bold
403 font-weight: bold
335
404
336 &.contest-title
405 &.contest-title
337 color: white
406 color: white
338 text-align: center
407 text-align: center
339 line-height: 2em
408 line-height: 2em
340
409
341 &.registration-desc, &.test-desc
410 &.registration-desc, &.test-desc
342 border: 1px dotted gray
411 border: 1px dotted gray
343 background: #f5f5f5
412 background: #f5f5f5
344 padding: 5px
413 padding: 5px
345 margin: 10px 0
414 margin: 10px 0
346 font-size: 12px
415 font-size: 12px
347 line-height: 1.5em
416 line-height: 1.5em
348
417
349 h2.contest-title
418 h2.contest-title
350 margin-top: 5px
419 margin-top: 5px
351 margin-bottom: 5px
420 margin-bottom: 5px
@@ -1,35 +1,70
1 %header.navbar.navbar-default.navbar-fixed-top
1 %header.navbar.navbar-default.navbar-fixed-top
2 %nav
2 %nav
3 .container-fluid
3 .container-fluid
4 .navbar-header
4 .navbar-header
5 - %a.navbar-brand{href: main_list_path} ΰΈ«ΰΈ™ΰΉ‰ΰΈ²ΰΈ«ΰΈ₯ัก
5 + %a.navbar-brand{href: main_list_path}
6 + %span.glyphicon.glyphicon-home
7 + MAIN
6 .collapse.navbar-collapse
8 .collapse.navbar-collapse
7 %ul.nav.navbar-nav
9 %ul.nav.navbar-nav
8 - if (@current_user!=nil) and (GraderConfiguration.show_tasks_to?(@current_user))
10 - if (@current_user!=nil) and (GraderConfiguration.show_tasks_to?(@current_user))
9 - = add_menu("#{I18n.t 'menu.tasks'}", 'tasks', 'list')
11 + //= add_menu("#{I18n.t 'menu.tasks'}", 'tasks', 'list')
10 - = add_menu("#{I18n.t 'menu.submissions'}", 'main', 'submission')
12 + %li.dropdown
11 - = add_menu("#{I18n.t 'menu.test'}", 'test', 'index')
13 + %a.dropdown-toggle{href: '#', data: {toggle:'dropdown'}, aria: {haspopup:"true", expanded:"false"}, role: "button"}
14 + = "#{I18n.t 'menu.submissions'}"
15 + %span.caret
16 + %ul.dropdown-menu
17 + = add_menu("View", 'main', 'submission')
18 + = add_menu("Self Test", 'test', 'index')
12 - if GraderConfiguration['right.user_hall_of_fame']
19 - if GraderConfiguration['right.user_hall_of_fame']
13 = add_menu("#{I18n.t 'menu.hall_of_fame'}", 'report', 'problem_hof')
20 = add_menu("#{I18n.t 'menu.hall_of_fame'}", 'report', 'problem_hof')
21 + - if (@current_user!=nil) and (session[:admin])
22 + %li.dropdown
23 + %a.dropdown-toggle{href: '#', data: {toggle:'dropdown'}, aria: {haspopup:"true", expanded:"false"}, role: "button"}
24 + Manage
25 + %span.caret
26 + %ul.dropdown-menu
27 + = add_menu( 'Announcements', 'announcements', 'index')
28 + = add_menu( 'Problems', 'problems', 'index')
29 + = add_menu( 'Users', 'user_admin', 'index')
30 + = add_menu( 'Graders', 'graders', 'list')
31 + = add_menu( 'Message ', 'messages', 'console')
32 + %li.divider{role: 'separator'}
33 + = add_menu( 'System config', 'configurations', 'index')
34 + %li.divider{role: 'separator'}
35 + = add_menu( 'Sites', 'sites', 'index')
36 + = add_menu( 'Contests', 'contest_management', 'index')
37 + %li.dropdown
38 + %a.dropdown-toggle{href: '#', data: {toggle:'dropdown'}, aria: {haspopup:"true", expanded:"false"}, role: "button"}
39 + Report
40 + %span.caret
41 + %ul.dropdown-menu
42 + = add_menu( 'Results', 'user_admin', 'user_stat')
43 + = add_menu( 'Report', 'report', 'multiple_login')
44 + %button.navbar-btn.btn.btn-default.btn-warning
45 + hahaha
46 +
47 +
14 %ul.nav.navbar-nav.navbar-right
48 %ul.nav.navbar-nav.navbar-right
15 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-question-sign')}".html_safe, 'main', 'help')
49 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-question-sign')}".html_safe, 'main', 'help')
16 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-comment')}".html_safe, 'messages', 'list', {title: I18n.t('menu.messages'), data: {toggle: 'tooltip'}})
50 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-comment')}".html_safe, 'messages', 'list', {title: I18n.t('menu.messages'), data: {toggle: 'tooltip'}})
17 - if GraderConfiguration['system.user_setting_enabled']
51 - if GraderConfiguration['system.user_setting_enabled']
18 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-cog')}".html_safe, 'users', 'index', {title: I18n.t('menu.settings'), data: {toggle: 'tooltip'}})
52 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-cog')}".html_safe, 'users', 'index', {title: I18n.t('menu.settings'), data: {toggle: 'tooltip'}})
19 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-log-out')} #{@current_user.full_name}".html_safe, 'main', 'login', {title: I18n.t('menu.log_out'), data: {toggle: 'tooltip'}})
53 = add_menu("#{content_tag(:span,'',class: 'glyphicon glyphicon-log-out')} #{@current_user.full_name}".html_safe, 'main', 'login', {title: I18n.t('menu.log_out'), data: {toggle: 'tooltip'}})
20
54
55 + /
21 - if (@current_user!=nil) and (session[:admin])
56 - if (@current_user!=nil) and (session[:admin])
22 - %nav.navbar.navbar-default.navbar-fixed-top.navbar-inverse.secondnavbar
57 + %nav.navbar.navbar-fixed-top.navbar-inverse.secondnavbar
23 .container-fluid
58 .container-fluid
24 .collapse.navbar-collapse
59 .collapse.navbar-collapse
25 %ul.nav.navbar-nav
60 %ul.nav.navbar-nav
26 = add_menu( '[Announcements]', 'announcements', 'index')
61 = add_menu( '[Announcements]', 'announcements', 'index')
27 = add_menu( '[Msg console]', 'messages', 'console')
62 = add_menu( '[Msg console]', 'messages', 'console')
28 = add_menu( '[Problems]', 'problems', 'index')
63 = add_menu( '[Problems]', 'problems', 'index')
29 = add_menu( '[Users]', 'user_admin', 'index')
64 = add_menu( '[Users]', 'user_admin', 'index')
30 = add_menu( '[Results]', 'user_admin', 'user_stat')
65 = add_menu( '[Results]', 'user_admin', 'user_stat')
31 = add_menu( '[Report]', 'report', 'multiple_login')
66 = add_menu( '[Report]', 'report', 'multiple_login')
32 = add_menu( '[Graders]', 'graders', 'list')
67 = add_menu( '[Graders]', 'graders', 'list')
33 = add_menu( '[Contests]', 'contest_management', 'index')
68 = add_menu( '[Contests]', 'contest_management', 'index')
34 = add_menu( '[Sites]', 'sites', 'index')
69 = add_menu( '[Sites]', 'sites', 'index')
35 = add_menu( '[System config]', 'configurations', 'index')
70 = add_menu( '[System config]', 'configurations', 'index')
@@ -1,159 +1,159
1 # Sample localization file for English. Add more files in this directory for other locales.
1 # Sample localization file for English. Add more files in this directory for other locales.
2 # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
2 # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
3
4 en:
4 en:
5 cancel: 'Cancel'
5 cancel: 'Cancel'
6
6
7 login_label: 'Login'
7 login_label: 'Login'
8 full_name_label: 'Full name'
8 full_name_label: 'Full name'
9 email_label: 'E-mail'
9 email_label: 'E-mail'
10 password_label: 'Password'
10 password_label: 'Password'
11
11
12 go_ahead_to: "Go ahead to "
12 go_ahead_to: "Go ahead to "
13 go_back_to: "Go back to "
13 go_back_to: "Go back to "
14 login_page: "login page"
14 login_page: "login page"
15 home_page: "home page"
15 home_page: "home page"
16
16
17 menu:
17 menu:
18 main: 'Main'
18 main: 'Main'
19 messages: 'Messages'
19 messages: 'Messages'
20 tasks: 'Tasks'
20 tasks: 'Tasks'
21 submissions: 'Submissions'
21 submissions: 'Submissions'
22 - test: 'Test Interface'
22 + test: 'Test'
23 hall_of_fame: 'Hall of Fame'
23 hall_of_fame: 'Hall of Fame'
24 help: 'Help'
24 help: 'Help'
25 settings: 'Settings'
25 settings: 'Settings'
26 log_out: 'Log out'
26 log_out: 'Log out'
27
27
28 title_bar:
28 title_bar:
29 current_time: "Current time is"
29 current_time: "Current time is"
30 remaining_time: "Time left: "
30 remaining_time: "Time left: "
31 contest_not_started: "The contest has not started."
31 contest_not_started: "The contest has not started."
32
32
33 login:
33 login:
34 message: 'Please login to see the problem list'
34 message: 'Please login to see the problem list'
35 login_submit: 'Login'
35 login_submit: 'Login'
36 participation: 'Want to participate?'
36 participation: 'Want to participate?'
37 please: 'Please'
37 please: 'Please'
38 register: 'register'
38 register: 'register'
39 forget_password: 'Forget password?'
39 forget_password: 'Forget password?'
40
40
41 main:
41 main:
42 start_soon: "The contest at your site will start soon. Please wait."
42 start_soon: "The contest at your site will start soon. Please wait."
43 specified_in_header: "Specified in header"
43 specified_in_header: "Specified in header"
44
44
45 problem_desc: "desc"
45 problem_desc: "desc"
46 submitted_at: "Submitted at"
46 submitted_at: "Submitted at"
47 graded_at: "Graded at"
47 graded_at: "Graded at"
48 score: "score: "
48 score: "score: "
49 cmp_msg: "compiler msg"
49 cmp_msg: "compiler msg"
50 src_link: "src"
50 src_link: "src"
51 submissions_link: "submissions"
51 submissions_link: "submissions"
52
52
53 confirm_contest_start:
53 confirm_contest_start:
54 box_title: "Contest confirmation"
54 box_title: "Contest confirmation"
55 contest_list: "You will participate in contest:"
55 contest_list: "You will participate in contest:"
56 timer_starts_after_click: "The timer will start after you click the start button."
56 timer_starts_after_click: "The timer will start after you click the start button."
57 start_button: "Start!"
57 start_button: "Start!"
58 start_button_confirm: "Are you sure?"
58 start_button_confirm: "Are you sure?"
59
59
60 test:
60 test:
61 title: "Test Interface"
61 title: "Test Interface"
62 intro: "You can test your submission with your own test data on the grading environment using this test interface."
62 intro: "You can test your submission with your own test data on the grading environment using this test interface."
63 disabled_at_end_announcement: "<b>Note:</b> Test interface will be disabled in the last 30 minutes of the contest time on your site."
63 disabled_at_end_announcement: "<b>Note:</b> Test interface will be disabled in the last 30 minutes of the contest time on your site."
64
64
65 registration:
65 registration:
66 title: "New user registration"
66 title: "New user registration"
67
67
68 description: "Please enter your information below. Please make sure your e-mail is correct, because you will have to confirm the registration through an e-mail we send to that e-mail address."
68 description: "Please enter your information below. Please make sure your e-mail is correct, because you will have to confirm the registration through an e-mail we send to that e-mail address."
69
69
70 successful_title: "Registration successful"
70 successful_title: "Registration successful"
71
71
72 login_guide: "Only a-z, A-Z, 0-9 and _. Can be at most 20 characters long"
72 login_guide: "Only a-z, A-Z, 0-9 and _. Can be at most 20 characters long"
73 email_guide: "Please make sure that your e-mail is correct.<br/>You'll need to verify your account by email."
73 email_guide: "Please make sure that your e-mail is correct.<br/>You'll need to verify your account by email."
74 register: "Register"
74 register: "Register"
75
75
76 email_body: "Hello %{full_name},
76 email_body: "Hello %{full_name},
77
77
78 You have registered for %{contest_name}
78 You have registered for %{contest_name}
79
79
80 Your login is: %{login}
80 Your login is: %{login}
81
81
82 Your password is: %{password}
82 Your password is: %{password}
83
83
84 Please follow the link:
84 Please follow the link:
85
85
86 %{activation_url}
86 %{activation_url}
87
87
88 to activate your user account.
88 to activate your user account.
89
89
90 If you did not register, please ignore this e-mail
90 If you did not register, please ignore this e-mail
91 and report this event to %{admin_email}.
91 and report this event to %{admin_email}.
92
92
93 Thanks!"
93 Thanks!"
94
94
95 email_sent: "We have sent a confimation message to your e-mail. (Please also check the Junk mail box."
95 email_sent: "We have sent a confimation message to your e-mail. (Please also check the Junk mail box."
96 email_verify_at: "Please check at %{email} and confirm."
96 email_verify_at: "Please check at %{email} and confirm."
97
97
98 activation_sucessful_title: "User activated"
98 activation_sucessful_title: "User activated"
99 account_activated: "Your account has been activated."
99 account_activated: "Your account has been activated."
100
100
101 activation_failed_title: "Activation failed"
101 activation_failed_title: "Activation failed"
102
102
103 errors:
103 errors:
104 header: "Errors occured during registration"
104 header: "Errors occured during registration"
105 email:
105 email:
106 title: "Errors in sending registration confirmation"
106 title: "Errors in sending registration confirmation"
107 expl: "<h2>Your user account has been created, but the system cannot send you the confirmation e-mail.</h2>
107 expl: "<h2>Your user account has been created, but the system cannot send you the confirmation e-mail.</h2>
108 Maybe there's a problem in the configuration. Please report the admin at %{email}.<br/>Thank you!"
108 Maybe there's a problem in the configuration. Please report the admin at %{email}.<br/>Thank you!"
109 activation:
109 activation:
110 email_exists: "A user with this E-mail exists."
110 email_exists: "A user with this E-mail exists."
111 invalid: "Your activation code is invalid. Please check again."
111 invalid: "Your activation code is invalid. Please check again."
112
112
113 password_retrieval:
113 password_retrieval:
114 header: "Password retrieval"
114 header: "Password retrieval"
115 instructions: "Please enter the e-mail address that you used to register."
115 instructions: "Please enter the e-mail address that you used to register."
116 button_label: "Request new password"
116 button_label: "Request new password"
117 no_email: "No user with that e-mail address."
117 no_email: "No user with that e-mail address."
118 email_body: "Hello %{full_name},
118 email_body: "Hello %{full_name},
119
119
120 You have requested for new password for %{contest_name}. We have generated it for you:
120 You have requested for new password for %{contest_name}. We have generated it for you:
121
121
122 user name: %{login}
122 user name: %{login}
123 password: %{password}
123 password: %{password}
124
124
125 If you didn't ask for new password or you're not the person who registered,
125 If you didn't ask for new password or you're not the person who registered,
126 please ignore this e-mail and inform %{admin_email} of this mistake.
126 please ignore this e-mail and inform %{admin_email} of this mistake.
127
127
128 Thanks!"
128 Thanks!"
129
129
130 contest:
130 contest:
131 notification:
131 notification:
132 email_subject: "[%{contest_title_name}] You have been upgraded to %{contest_name}"
132 email_subject: "[%{contest_title_name}] You have been upgraded to %{contest_name}"
133 email_body: "Congratulations %{full_name},
133 email_body: "Congratulations %{full_name},
134
134
135 You have advanced to contest %{contest_name} in %{contest_title_name}.
135 You have advanced to contest %{contest_name} in %{contest_title_name}.
136
136
137 You can now log-in and start participating in that contest.
137 You can now log-in and start participating in that contest.
138
138
139 Cheers!
139 Cheers!
140 -%{contest_title_name} Admin"
140 -%{contest_title_name} Admin"
141
141
142 help:
142 help:
143 how_to_submit: "How to submit"
143 how_to_submit: "How to submit"
144 must_specify_language: "You <b>must</b> specify the language you are using in your program header. You can optionally specify the task you are submitting to."
144 must_specify_language: "You <b>must</b> specify the language you are using in your program header. You can optionally specify the task you are submitting to."
145 list_available_language: "The possible language options are <tt>C</tt>, <tt>C++</tt>, and <tt>Pascal</tt>. The follow are examples."
145 list_available_language: "The possible language options are <tt>C</tt>, <tt>C++</tt>, and <tt>Pascal</tt>. The follow are examples."
146 accept_only_language_specified: "The server <b>will not</b> accept your submission, if you do not specify the language."
146 accept_only_language_specified: "The server <b>will not</b> accept your submission, if you do not specify the language."
147 specifying_task: "Optionally, you can also specify the task with <tt>TASK:</tt> <i>taskname</i>. On the first page, the taskname for each task is shown in parentheses."
147 specifying_task: "Optionally, you can also specify the task with <tt>TASK:</tt> <i>taskname</i>. On the first page, the taskname for each task is shown in parentheses."
148 example_cpp: "For example, suppose you are using <tt>C++</tt> to write task <b>mobiles</b>, you put the following on top of your source code."
148 example_cpp: "For example, suppose you are using <tt>C++</tt> to write task <b>mobiles</b>, you put the following on top of your source code."
149 example_pas: "If you are using <tt>Pascal</tt> to write the same task, you'll use"
149 example_pas: "If you are using <tt>Pascal</tt> to write the same task, you'll use"
150 ask_questions_at_messages: "If you have any problems, you can ask at [<a href=\"%{url}\">%{message_link_name}</a>]."
150 ask_questions_at_messages: "If you have any problems, you can ask at [<a href=\"%{url}\">%{message_link_name}</a>]."
151
151
152 activerecord:
152 activerecord:
153 attributes:
153 attributes:
154 user:
154 user:
155 login: "login"
155 login: "login"
156 full_name: "full name"
156 full_name: "full name"
157 email: "e-mail"
157 email: "e-mail"
158 province: "province"
158 province: "province"
159
159
You need to be logged in to leave comments. Login now