##// END OF EJS Templates
Added permissions check on repo switcher,...
marcink -
r373:3171614c default
parent child Browse files
Show More
@@ -1,33 +1,35 b''
1 1 """The base Controller API
2 2
3 3 Provides the BaseController class for subclassing.
4 4 """
5 5 from pylons import config, tmpl_context as c, request, session
6 6 from pylons.controllers import WSGIController
7 7 from pylons.templating import render_mako as render
8 from pylons_app import __version__
8 9 from pylons_app.lib import auth
9 10 from pylons_app.lib.utils import get_repo_slug
10 11 from pylons_app.model import meta
11 from pylons_app.model.hg_model import _get_repos_cached
12 from pylons_app import __version__
12 from pylons_app.model.hg_model import _get_repos_cached, \
13 _get_repos_switcher_cached
13 14
14 15 class BaseController(WSGIController):
15 16
16 17 def __before__(self):
17 18 c.hg_app_version = __version__
18 19 c.hg_app_name = config['hg_app_name']
19 20 c.repo_name = get_repo_slug(request)
20 21 c.cached_repo_list = _get_repos_cached()
22 c.repo_switcher_list = _get_repos_switcher_cached(c.cached_repo_list)
21 23 self.sa = meta.Session
22 24
23 25 def __call__(self, environ, start_response):
24 26 """Invoke the Controller"""
25 27 # WSGIController.__call__ dispatches to the Controller method
26 28 # the request is routed to. This routing information is
27 29 # available in environ['pylons.routes_dict']
28 30 try:
29 31 #putting this here makes sure that we update permissions every time
30 32 c.hg_app_user = auth.get_user(session)
31 33 return WSGIController.__call__(self, environ, start_response)
32 34 finally:
33 35 meta.Session.remove()
@@ -1,163 +1,174 b''
1 1 #!/usr/bin/env python
2 2 # encoding: utf-8
3 3 # Model for hg app
4 4 # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
5
5 #
6 6 # This program is free software; you can redistribute it and/or
7 7 # modify it under the terms of the GNU General Public License
8 8 # as published by the Free Software Foundation; version 2
9 9 # of the License or (at your opinion) any later version of the license.
10 10 #
11 11 # This program is distributed in the hope that it will be useful,
12 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 # GNU General Public License for more details.
15 15 #
16 16 # You should have received a copy of the GNU General Public License
17 17 # along with this program; if not, write to the Free Software
18 18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 19 # MA 02110-1301, USA.
20 20 """
21 21 Created on April 9, 2010
22 22 Model for hg app
23 23 @author: marcink
24 24 """
25 25 from beaker.cache import cache_region
26 26 from mercurial import ui
27 27 from mercurial.hgweb.hgwebdir_mod import findrepos
28 from vcs.exceptions import RepositoryError, VCSError
28 from pylons.i18n.translation import _
29 from pylons_app.lib.auth import HasRepoPermissionAny
29 30 from pylons_app.model import meta
30 31 from pylons_app.model.db import Repository
31 32 from sqlalchemy.orm import joinedload
33 from vcs.exceptions import RepositoryError, VCSError
32 34 import logging
33 35 import os
34 36 import sys
35 37 log = logging.getLogger(__name__)
36 38
37 39 try:
38 40 from vcs.backends.hg import MercurialRepository
39 41 except ImportError:
40 42 sys.stderr.write('You have to import vcs module')
41 43 raise Exception('Unable to import vcs')
42 44
43 45 def _get_repos_cached_initial(app_globals, initial):
44 46 """
45 47 return cached dict with repos
46 48 """
47 49 g = app_globals
48 50 return HgModel.repo_scan(g.paths[0][0], g.paths[0][1], g.baseui, initial)
49 51
50 52 @cache_region('long_term', 'cached_repo_list')
51 53 def _get_repos_cached():
52 54 """
53 55 return cached dict with repos
54 56 """
55 57 log.info('getting all repositories list')
56 58 from pylons import app_globals as g
57 59 return HgModel.repo_scan(g.paths[0][0], g.paths[0][1], g.baseui)
58 60
61 @cache_region('super_short_term', 'cached_repos_switcher_list')
62 def _get_repos_switcher_cached(cached_repo_list):
63 repos_lst = []
64 for repo in sorted(x.name.lower() for x in cached_repo_list.values()):
65 if HasRepoPermissionAny('repository.write', 'repository.read', 'repository.admin')(repo, 'main page check'):
66 repos_lst.append(repo)
67
68 return repos_lst
69
59 70 @cache_region('long_term', 'full_changelog')
60 71 def _full_changelog_cached(repo_name):
61 72 log.info('getting full changelog for %s', repo_name)
62 73 return list(reversed(list(HgModel().get_repo(repo_name))))
63 74
64 75 class HgModel(object):
65 76 """
66 77 Mercurial Model
67 78 """
68 79
69 80 def __init__(self):
70 81 """
71 82 Constructor
72 83 """
73 84
74 85 @staticmethod
75 86 def repo_scan(repos_prefix, repos_path, baseui, initial=False):
76 87 """
77 88 Listing of repositories in given path. This path should not be a
78 89 repository itself. Return a dictionary of repository objects
79 90 :param repos_path: path to directory it could take syntax with
80 91 * or ** for deep recursive displaying repositories
81 92 """
82 93 sa = meta.Session()
83 94 def check_repo_dir(path):
84 95 """
85 96 Checks the repository
86 97 :param path:
87 98 """
88 99 repos_path = path.split('/')
89 100 if repos_path[-1] in ['*', '**']:
90 101 repos_path = repos_path[:-1]
91 102 if repos_path[0] != '/':
92 103 repos_path[0] = '/'
93 104 if not os.path.isdir(os.path.join(*repos_path)):
94 105 raise RepositoryError('Not a valid repository in %s' % path[0][1])
95 106 if not repos_path.endswith('*'):
96 107 raise VCSError('You need to specify * or ** at the end of path '
97 108 'for recursive scanning')
98 109
99 110 check_repo_dir(repos_path)
100 111 log.info('scanning for repositories in %s', repos_path)
101 112 repos = findrepos([(repos_prefix, repos_path)])
102 113 if not isinstance(baseui, ui.ui):
103 114 baseui = ui.ui()
104 115
105 116 repos_list = {}
106 117 for name, path in repos:
107 118 try:
108 119 #name = name.split('/')[-1]
109 120 if repos_list.has_key(name):
110 121 raise RepositoryError('Duplicate repository name %s found in'
111 122 ' %s' % (name, path))
112 123 else:
113 124
114 125 repos_list[name] = MercurialRepository(path, baseui=baseui)
115 126 repos_list[name].name = name
116 127
117 128 dbrepo = None
118 129 if not initial:
119 130 dbrepo = sa.query(Repository)\
120 131 .filter(Repository.repo_name == name).scalar()
121 132
122 133 if dbrepo:
123 134 log.info('Adding db instance to cached list')
124 135 repos_list[name].dbrepo = dbrepo
125 136 repos_list[name].description = dbrepo.description
126 137 repos_list[name].contact = dbrepo.user.full_contact
127 138 except OSError:
128 139 continue
129 140 meta.Session.remove()
130 141 return repos_list
131 142
132 143 def get_repos(self):
133 144 for name, repo in _get_repos_cached().items():
134 145 if repo._get_hidden():
135 146 #skip hidden web repository
136 147 continue
137 148
138 149 last_change = repo.last_change
139 150 try:
140 151 tip = repo.get_changeset('tip')
141 152 except RepositoryError:
142 153 from pylons_app.lib.utils import EmptyChangeset
143 154 tip = EmptyChangeset()
144 155
145 156 tmp_d = {}
146 157 tmp_d['name'] = repo.name
147 158 tmp_d['name_sort'] = tmp_d['name'].lower()
148 159 tmp_d['description'] = repo.description
149 160 tmp_d['description_sort'] = tmp_d['description']
150 161 tmp_d['last_change'] = last_change
151 162 tmp_d['last_change_sort'] = last_change[1] - last_change[0]
152 163 tmp_d['tip'] = tip.raw_id
153 164 tmp_d['tip_sort'] = tip.revision
154 165 tmp_d['rev'] = tip.revision
155 166 tmp_d['contact'] = repo.contact
156 167 tmp_d['contact_sort'] = tmp_d['contact']
157 168 tmp_d['repo_archives'] = list(repo._get_archives())
158 169 tmp_d['last_msg'] = tip.message
159 170 tmp_d['repo'] = repo
160 171 yield tmp_d
161 172
162 173 def get_repo(self, repo_name):
163 174 return _get_repos_cached()[repo_name]
@@ -1,3630 +1,3639 b''
1 1 /* -----------------------------------------------------------
2 2 main stylesheet
3 3 ----------------------------------------------------------- */
4 4
5 5 html
6 6 {
7 7 height: 100%;
8 8 }
9 9
10 10 body
11 11 {
12 12 margin: 0;
13 13 padding: 0;
14 14 height: 100%;
15 15 background: #d1d1d1 url("../images/background.png") repeat;
16 16 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
17 17 font-size: 11px;
18 18 }
19 19
20 20 /* -----------------------------------------------------------
21 21 images
22 22 ----------------------------------------------------------- */
23 23
24 24 img
25 25 {
26 26 border: none;
27 27 }
28 28
29 29 /* -----------------------------------------------------------
30 30 anchors
31 31 ----------------------------------------------------------- */
32 32
33 33 a
34 34 {
35 35 color: #0066CC;
36 36 text-decoration: none;
37 37 cursor: pointer;
38 38 }
39 39
40 40 a:hover
41 41 {
42 42 color: #000000;
43 43 text-decoration: underline;
44 44 }
45 45
46 46 /* -----------------------------------------------------------
47 47 headings
48 48 ----------------------------------------------------------- */
49 49
50 50 h1, h2, h3, h4, h5, h6
51 51 {
52 52 color: #292929;
53 53 font-weight: bold;
54 54 }
55 55
56 56 h1
57 57 {
58 58 font-size: 22px;
59 59 }
60 60
61 61 h2
62 62 {
63 63 font-size: 20px;
64 64 }
65 65
66 66 h3
67 67 {
68 68 font-size: 18px;
69 69 }
70 70
71 71 h4
72 72 {
73 73 font-size: 16px;
74 74 }
75 75
76 76 h5
77 77 {
78 78 font-size: 14px;
79 79 }
80 80
81 81 h6
82 82 {
83 83 font-size: 11px;
84 84 }
85 85
86 86 /* -----------------------------------------------------------
87 87 lists
88 88 ----------------------------------------------------------- */
89 89
90 90 ul.circle { list-style-type: circle; }
91 91 ul.disc { list-style-type: disc; }
92 92 ul.square { list-style-type: square; }
93 93 ol.lower-roman { list-style-type: lower-roman; }
94 94 ol.upper-roman { list-style-type: upper-roman; }
95 95 ol.lower-alpha { list-style-type: lower-alpha; }
96 96 ol.upper-alpha { list-style-type: upper-alpha; }
97 97 ol.decimal { list-style-type: decimal; }
98 98
99 99 /* -----------------------------------------------------------
100 100 colors
101 101 ----------------------------------------------------------- */
102 102
103 103 div.color
104 104 {
105 105 margin: 7px 0 0 60px;
106 106 padding: 1px 1px 1px 0px;
107 107 clear: both;
108 108 overflow: hidden;
109 109 position: absolute;
110 110 background: #FFFFFF;
111 111 }
112 112
113 113 div.color a
114 114 {
115 115 margin: 0 0 0 1px;
116 116 padding: 0;
117 117 width: 15px;
118 118 height: 15px;
119 119 display: block;
120 120 float: left;
121 121 }
122 122
123 123 div.color a.blue
124 124 {
125 125 background: #376ea6;
126 126 }
127 127
128 128 div.color a.green
129 129 {
130 130 background: #85924b;
131 131 }
132 132
133 133 div.color a.brown
134 134 {
135 135 background: #9b6e42;
136 136 }
137 137
138 138 div.color a.purple
139 139 {
140 140 background: #88528b;
141 141 }
142 142
143 143 div.color a.red
144 144 {
145 145 background: #bd3220;
146 146 }
147 147
148 148 div.color a.greyblue
149 149 {
150 150 background: #566e86;
151 151 }
152 152
153 153 /* -----------------------------------------------------------
154 154 options
155 155 ----------------------------------------------------------- */
156 156
157 157 div.options
158 158 {
159 159 margin: 7px 0 0 162px;
160 160 padding: 0;
161 161 clear: both;
162 162 overflow: hidden;
163 163 position: absolute;
164 164 background: #FFFFFF;
165 165 }
166 166
167 167 div.options a
168 168 {
169 169 margin: 0;
170 170 padding: 3px 8px 3px 8px;
171 171 height: 1%;
172 172 display: block;
173 173 text-decoration: none;
174 174 }
175 175
176 176 div.options a:hover
177 177 {
178 178 text-decoration: none;
179 179 }
180 180
181 181 /* -----------------------------------------------------------
182 182 header
183 183 ----------------------------------------------------------- */
184 184
185 185 #header
186 186 {
187 187 margin: 0;
188 188 padding: 0 60px 0 60px;
189 189 background: #b0b0b0 url("../images/header_background.png") repeat;
190 190 }
191 191
192 192
193 193 /* -----------------------------------------------------------
194 194 header -> user
195 195 ----------------------------------------------------------- */
196 196
197 197 #header ul#logged-user
198 198 {
199 199 margin: 0;
200 200 padding: 0;
201 201 float: right;
202 202 }
203 203
204 204 #header ul#logged-user li
205 205 {
206 206 margin: 0;
207 207 padding: 10px 12px 10px 12px;
208 208 list-style: none;
209 209 float: left;
210 210 border-left: 1px solid #bbbbbb;
211 211 border-right: 1px solid #a5a5a5;
212 212 }
213 213
214 214 #header ul#logged-user li.first
215 215 {
216 216 border-left: none;
217 217 }
218 218
219 219 #header ul#logged-user li.last
220 220 {
221 221 border-right: none;
222 222 }
223 223
224 224 #header ul#logged-user li a
225 225 {
226 226 color: #4e4e4e;
227 227 font-weight: bold;
228 228 text-decoration: none;
229 229 }
230 230
231 231 #header ul#logged-user li a:hover
232 232 {
233 233 color: #376ea6;
234 234 text-decoration: underline;
235 235 }
236 236
237 237 #header ul#logged-user li.highlight a
238 238 {
239 239 color: #ffffff;
240 240 }
241 241
242 242 #header ul#logged-user li.highlight a:hover
243 243 {
244 244 color: #376ea6;
245 245 }
246 246
247 247 #header #header-inner
248 248 {
249 249 margin: 0;
250 250 padding: 0;
251 251 height: 40px;
252 252 clear: both;
253 253 position: relative;
254 254 background: #003367 url("../images/colors/blue/header_inner.png") repeat-x;
255 255 border-bottom: 6px solid #ffffff;
256 256 }
257 257
258 258 /* -----------------------------------------------------------
259 259 header -> home
260 260 ----------------------------------------------------------- */
261 261
262 262 #header #header-inner #home
263 263 {
264 264 float: left;
265 265 }
266 266
267 267 #header #header-inner #home a
268 268 {
269 269 margin: 0;
270 270 padding: 0;
271 271 height: 40px;
272 272 width: 46px;
273 273 display: block;
274 274 background: url("../images/colors/blue/button_home.png");
275 275 background-position: 0 0;
276 276 }
277 277
278 278 #header #header-inner #home a:hover
279 279 {
280 280 background-position: 0 -40px;
281 281 }
282 282
283 283 /* -----------------------------------------------------------
284 284 header -> logo
285 285 ----------------------------------------------------------- */
286 286
287 287 #header #header-inner #logo
288 288 {
289 289 float: left;
290 290 }
291 291
292 292 #header #header-inner #logo h1
293 293 {
294 294 margin: 13px 0 0 13px;
295 295 padding: 0;
296 296 color: #FFFFFF;
297 297 font-size: 14px;
298 298 text-transform: uppercase;
299 299 }
300 300
301 301 #header #header-inner #logo a
302 302 {
303 303 color: #ffffff;
304 304 text-decoration: none;
305 305 }
306 306
307 307 #header #header-inner #logo a:hover
308 308 {
309 309 color: #dabf29;
310 310 }
311 311
312 312 /* -----------------------------------------------------------
313 313 header -> quick
314 314 ----------------------------------------------------------- */
315 315
316 316 #header #header-inner #quick,
317 317 #header #header-inner #quick ul
318 318 {
319 319 margin: 10px 5px 0 0;
320 320 padding: 0;
321 321 position: relative;
322 322 float: right;
323 323 list-style-type: none;
324 324 list-style-position: outside;
325 325 }
326 326
327 327 #header #header-inner #quick li
328 328 {
329 329 margin: 0 4px 0 0;
330 330 padding: 0;
331 331 position: relative;
332 332 float: left;
333 333 }
334 334
335 335 #header #header-inner #quick li a
336 336 {
337 337 top: 0;
338 338 left: 0;
339 339 padding: 0;
340 340 height: 1%;
341 341 display: block;
342 342 clear: both;
343 343 overflow: hidden;
344 344 background: #336699 url("../images/colors/blue/quick_l.png") no-repeat top left;
345 345 color: #FFFFFF;
346 346 font-weight: bold;
347 347 text-decoration: none;
348 348 }
349 349
350 350 #header #header-inner #quick li span
351 351 {
352 352 top: 0;
353 353 right: 0;
354 354 margin: 0;
355 355 padding: 10px 12px 8px 10px;
356 356 height: 1%;
357 357 display: block;
358 358 float: left;
359 359 background: url("../images/colors/blue/quick_r.png") no-repeat top right;
360 360 border-left: 1px solid #3f6f9f;
361 361 }
362 362
363 363 #header #header-inner #quick li span.icon
364 364 {
365 365 top: 0;
366 366 left: 0;
367 367 padding: 8px 8px 4px 8px;
368 368 background: url("../images/colors/blue/quick_l.png") no-repeat top left;
369 369 border-left: none;
370 370 border-right: 1px solid #2e5c89;
371 371 }
372 372
373 373 #header #header-inner #quick li a:hover
374 374 {
375 375 background: #4e4e4e;
376 376 }
377 377
378 378 #header #header-inner #quick li a:hover span
379 379 {
380 380 background: url("../images/colors/blue/quick_r_selected.png") no-repeat top right;
381 381 border-left: 1px solid #545454;
382 382 }
383 383
384 384 #header #header-inner #quick li a:hover span.icon
385 385 {
386 386 background: url("../images/colors/blue/quick_l_selected.png") no-repeat top left;
387 387 border-left: none;
388 388 border-right: 1px solid #464646;
389 389 }
390 390
391 391 #header #header-inner #quick ul
392 392 {
393 393 top: 29px;
394 394 right: 0;
395 395 margin: 0;
396 396 padding: 0;
397 397 width: 200px;
398 398 display: none;
399 399 position: absolute;
400 400 background: #FFFFFF;
401 401 border: 1px solid #666;
402 402 border-top: 1px solid #003367;
403 403 }
404 404
405 405 #header #header-inner #quick li ul li
406 406 {
407 407 border-bottom: 1px solid #dddddd;
408 408 }
409 409
410 410 #header #header-inner #quick li ul li.last
411 411 {
412 412 border: none;
413 413 }
414 414
415 415 #header #header-inner #quick li ul li a.repos,#header #header-inner #quick li ul li a.repos:hover
416 416 {
417 417 margin: 0;
418 418 padding: 12px 9px 7px 28px;
419 419 width: 167px;
420 420 background: #FFFFFF url("../images/icons/folder_edit.png") no-repeat 8px 9px;
421 421 }
422 422 #header #header-inner #quick li ul li a.users,#header #header-inner #quick li ul li a.users:hover
423 423 {
424 424 margin: 0;
425 425 padding: 12px 9px 7px 28px;
426 426 width: 167px;
427 427 background: #FFFFFF url("../images/icons/user_edit.png") no-repeat 8px 9px;
428 428 }
429 429 #header #header-inner #quick li ul li a.settings,#header #header-inner #quick li ul li a.settings:hover
430 430 {
431 431 margin: 0;
432 432 padding: 12px 9px 7px 28px;
433 433 width: 167px;
434 434 background: #FFFFFF url("../images/icons/cog.png") no-repeat 8px 9px;
435 435 }
436 436
437 437 #header #header-inner #quick li ul li a.permissions,#header #header-inner #quick li ul li a.permissions:hover
438 438 {
439 439 margin: 0;
440 440 padding: 12px 9px 7px 28px;
441 441 width: 167px;
442 442 background: #FFFFFF url("../images/icons/key.png") no-repeat 8px 9px;
443 443 }
444 444
445 445 #header #header-inner #quick li ul li a
446 446 {
447 447 margin: 0;
448 448 padding: 7px 9px 7px 9px;
449 449 height: 1%;
450 450 width: 182px;
451 451 height: auto;
452 452 display: block;
453 453 float: left;
454 454 background: #FFFFFF;
455 455 color: #0066CC;
456 456 font-weight: normal;
457 457 }
458 458
459 459 #header #header-inner #quick li ul li a:hover
460 460 {
461 461 color: #000000;
462 462 background: #FFFFFF;
463 463 }
464 464
465 465 #header #header-inner #quick ul ul
466 466 {
467 467 top: auto;
468 468 }
469 469
470 470 #header #header-inner #quick li ul ul
471 471 {
472 472 right: 200px;
473 473 }
474 474
475 475 #header #header-inner #quick li:hover ul ul,
476 476 #header #header-inner #quick li:hover ul ul ul,
477 477 #header #header-inner #quick li:hover ul ul ul ul
478 478 {
479 479 display: none;
480 480 }
481 481
482 482 #header #header-inner #quick li:hover ul,
483 483 #header #header-inner #quick li li:hover ul,
484 484 #header #header-inner #quick li li li:hover ul,
485 485 #header #header-inner #quick li li li li:hover ul
486 486 {
487 487 display: block;
488 488 }
489 489
490 490 /* -----------------------------------------------------------
491 491 header corners
492 492 ----------------------------------------------------------- */
493 493
494 494 #header #header-inner div.corner
495 495 {
496 496 height: 6px;
497 497 width: 6px;
498 498 position: absolute;
499 499 background: url("../images/colors/blue/header_inner_corners.png") no-repeat;
500 500 }
501 501
502 502 #header #header-inner div.tl
503 503 {
504 504 top: 0;
505 505 left: 0;
506 506 background-position: 0 0;
507 507 }
508 508
509 509 #header #header-inner div.tr
510 510 {
511 511 top: 0;
512 512 right: 0;
513 513 background-position: -6px 0;
514 514 }
515 515
516 516 /* -----------------------------------------------------------
517 517 content
518 518 ----------------------------------------------------------- */
519 519
520 520 #content
521 521 {
522 522 margin: 10px 0 0 0;
523 523 padding: 0;
524 524 min-height: 100%;
525 525 clear: both;
526 526 overflow: hidden;
527 527 background: url("../images/content.png") repeat-y top left;
528 528 }
529 529
530 530 /* -----------------------------------------------------------
531 531 content -> left
532 532 ----------------------------------------------------------- */
533 533
534 534 #content #left
535 535 {
536 536 left: 0;
537 537 width: 280px;
538 538 position: absolute;
539 539 }
540 540
541 541 /* -----------------------------------------------------------
542 542 content -> left -> menu
543 543 ----------------------------------------------------------- */
544 544
545 545 #content #left #menu
546 546 {
547 547 margin: 5px 10px 0 60px;
548 548 padding: 0;
549 549 clear: both;
550 550 overflow: hidden;
551 551 }
552 552
553 553 /* -----------------------------------------------------------
554 554 content -> left -> menu / heading
555 555 ----------------------------------------------------------- */
556 556
557 557 #content #left #menu h6
558 558 {
559 559 margin: 5px 0 0 0;
560 560 padding: 0;
561 561 clear: both;
562 562 overflow: hidden;
563 563 background: #dfdfdf url("../images/menu.png") repeat-x;
564 564 color: #6e6e6e;
565 565 }
566 566
567 567 #content #left #menu h6 a
568 568 {
569 569 margin: 0;
570 570 padding: 0;
571 571 height: 1%;
572 572 display: block;
573 573 clear: both;
574 574 overflow: hidden;
575 575 background: url("../images/menu_l.png") no-repeat top left;
576 576 color: #6e6e6e;
577 577 text-decoration: none;
578 578 }
579 579
580 580 #content #left #menu h6 span
581 581 {
582 582 margin: 0;
583 583 padding: 9px 10px 10px 10px;
584 584 height: 1%;
585 585 display: block;
586 586 background: url("../images/menu_r.png") no-repeat top right;
587 587 }
588 588
589 589 #content #left #menu h6.selected
590 590 {
591 591 background: #00376e url("../images/colors/blue/menu_selected.png") repeat-x;
592 592 color: #FFFFFF;
593 593 }
594 594
595 595 #content #left #menu h6.selected a
596 596 {
597 597 background: url("../images/colors/blue/menu_l_selected.png") no-repeat top left;
598 598 color: #ffffff;
599 599 }
600 600
601 601 #content #left #menu h6.selected span
602 602 {
603 603 background: url("../images/colors/blue/menu_r_selected.png") no-repeat top right;
604 604 }
605 605
606 606 /* -----------------------------------------------------------
607 607 content -> left -> menu / links
608 608 ----------------------------------------------------------- */
609 609
610 610 #content #left #menu ul
611 611 {
612 612 margin: 0;
613 613 padding: 0;
614 614 background: #376ea6;
615 615 }
616 616
617 617 #content #left #menu ul.opened
618 618 {
619 619 display: block;
620 620 }
621 621
622 622 #content #left #menu ul.closed
623 623 {
624 624 display: none;
625 625 }
626 626
627 627 #content #left #menu li
628 628 {
629 629 margin: 0;
630 630 padding: 0;
631 631 clear: both;
632 632 overflow: hidden;
633 633 list-style: none;
634 634 border-bottom: 1px solid #5f8bb7;
635 635 color: #ffffff;
636 636 }
637 637
638 638 #content #left #menu li a
639 639 {
640 640 margin: 0 0 0 6px;
641 641 padding: 8px 0 8px 18px;
642 642 height: 1%;
643 643 display: block;
644 644 float: left;
645 645 background: url("../images/colors/colors/blue/menu_arrow.png") no-repeat 0 9px;
646 646 color: #ffffff;
647 647 text-decoration: none;
648 648 }
649 649
650 650 #content #left #menu li a:hover
651 651 {
652 652 color: #b9dcff;
653 653 }
654 654
655 655 /* -----------------------------------------------------------
656 656 content -> left -> menu / collapsible
657 657 ----------------------------------------------------------- */
658 658
659 659 #content #left #menu li.collapsible
660 660 {
661 661 background: url("../images/colors/blue/menu_border.png") no-repeat top left;
662 662 }
663 663
664 664 #content #left #menu li.collapsible a
665 665 {
666 666 margin: 0 0 0 6px;
667 667 padding: 8px 0 8px 0;
668 668 height: 1%;
669 669 display: block;
670 670 background: transparent;
671 671 float: left;
672 672 font-weight: bold;
673 673 }
674 674
675 675 #content #left #menu li.collapsible a.plus
676 676 {
677 677 margin: 0;
678 678 padding: 8px 0 9px 24px;
679 679 height: 10px;
680 680 width: 10px;
681 681 display: block;
682 682 float: left;
683 683 background: url("../images/menu_plus.png") no-repeat 5px 10px;
684 684 border: none;
685 685 }
686 686
687 687 #content #left #menu li.collapsible a.minus
688 688 {
689 689 margin: 0;
690 690 padding: 8px 0 9px 24px;
691 691 height: 10px;
692 692 width: 10px;
693 693 display: block;
694 694 float: left;
695 695 background: url("../images/menu_minus.png") no-repeat 5px 10px;
696 696 border: none;
697 697 }
698 698
699 699 #content #left #menu li ul
700 700 {
701 701 margin: 0;
702 702 padding: 0;
703 703 border-left: 18px solid #285889;
704 704 }
705 705
706 706 #content #left #menu li ul.expanded
707 707 {
708 708 display: block;
709 709 }
710 710
711 711 #content #left #menu li ul.collapsed
712 712 {
713 713 display: none;
714 714 }
715 715
716 716 #content #left #menu li ul li
717 717 {
718 718 margin: 0;
719 719 padding: 0;
720 720 clear: both;
721 721 overflow: hidden;
722 722 list-style: none;
723 723 border-bottom: 1px solid #5f8bb7;
724 724 color: #ffffff;
725 725 }
726 726
727 727 #content #left #menu li.collapsible ul li a
728 728 {
729 729 font-weight: normal;
730 730 }
731 731
732 732 #content #left #menu li.last
733 733 {
734 734 border-bottom: none;
735 735 }
736 736
737 737 /* -----------------------------------------------------------
738 738 content -> left -> date picker
739 739 ----------------------------------------------------------- */
740 740
741 741 #content #left #date-picker
742 742 {
743 743 margin: 10px 10px 0 60px;
744 744 padding: 0;
745 745 clear: both;
746 746 overflow: hidden;
747 747 }
748 748
749 749 #content #left #date-picker .ui-datepicker
750 750 {
751 751 width: auto;
752 752 padding: 0;
753 753 clear: both;
754 754 overflow: hidden;
755 755 background: #FFFFFF;
756 756 border: 1px solid #d1d1d1;
757 757 }
758 758
759 759 #content #left #date-picker .ui-datepicker .ui-datepicker-header
760 760 {
761 761 padding: 5px 0;
762 762 }
763 763
764 764 #content #left #date-picker .ui-datepicker .ui-datepicker-prev
765 765 {
766 766 top: 5px;
767 767 left: 4px;
768 768 }
769 769
770 770 #content #left #date-picker .ui-datepicker .ui-datepicker-next
771 771 {
772 772 top: 5px;
773 773 right: 4px;
774 774 }
775 775
776 776 #content #left #date-picker .ui-datepicker .ui-datepicker-prev-hover
777 777 {
778 778 top: 5px;
779 779 left: 4px;
780 780 }
781 781
782 782 #content #left #date-picker .ui-datepicker .ui-datepicker-next-hover
783 783 {
784 784 top: 5px;
785 785 right: 4px;
786 786 }
787 787
788 788 /* -----------------------------------------------------------
789 789 content -> right
790 790 ----------------------------------------------------------- */
791 791
792 792 #content #right
793 793 {
794 794 margin: 0 60px 10px 290px;
795 795 }
796 796
797 797 /* -----------------------------------------------------------
798 798 content -> right -> box
799 799 ----------------------------------------------------------- */
800 800
801 801 #content div.box
802 802 {
803 803 margin: 0 0 10px 0;
804 804 padding: 0 0 10px 0;
805 805 clear: both;
806 806 overflow: hidden;
807 807 background: #ffffff;
808 808 }
809 809
810 810 #content div.box-left
811 811 {
812 812 margin: 0 0 10px;
813 813 width: 49%;
814 814 clear: none;
815 815 float: left;
816 816 }
817 817
818 818 #content div.box-right
819 819 {
820 820 margin: 0 0 10px;
821 821 width: 49%;
822 822 clear: none;
823 823 float: right;
824 824 }
825 825
826 826 /* -----------------------------------------------------------
827 827 content -> right -> box / title
828 828 ----------------------------------------------------------- */
829 829
830 830 #content div.box div.title
831 831 {
832 832 margin: 0 0 20px 0;
833 833 padding: 0;
834 834 clear: both;
835 835 overflow: hidden;
836 836 background: #336699 url("../images/colors/blue/title.png") repeat-x;
837 837 }
838 838
839 839 #content div.box div.title h5
840 840 {
841 841 margin: 0;
842 842 padding: 11px 0 11px 10px;
843 843 float: left;
844 844 border: none;
845 845 color: #ffffff;
846 846 text-transform: uppercase;
847 847 }
848 848
849 849 #content div.box div.title ul.links
850 850 {
851 851 margin: 0;
852 852 padding: 0;
853 853 float: right;
854 854 }
855 855
856 856 #content div.box div.title ul.links li
857 857 {
858 858 margin: 0;
859 859 padding: 0;
860 860 list-style: none;
861 861 float: left;
862 862 }
863 863
864 864 #content div.box div.title ul.links li a
865 865 {
866 866 margin: 0;
867 867 padding: 13px 16px 12px 16px;
868 868 height: 1%;
869 869 display: block;
870 870 float: left;
871 871 background: url("../images/colors/blue/title_link.png") no-repeat top left;
872 872 border-left: 1px solid #316293;
873 873 color: #ffffff;
874 874 font-size: 11px;
875 875 font-weight: bold;
876 876 text-decoration: none;
877 877 }
878 878
879 879 #content div.box div.title ul.links li a:hover
880 880 {
881 881 color: #bfe3ff;
882 882 }
883 883
884 884 #content div.box div.title ul.links li.ui-tabs-selected a
885 885 {
886 886 background: url("../../../resources/images/colors/blue/title_tab_selected.png") no-repeat bottom center;
887 887 color: #bfe3ff;
888 888 }
889 889
890 890 /* -----------------------------------------------------------
891 891 content -> right -> box / headings
892 892 ----------------------------------------------------------- */
893 893
894 894 #content div.box h1,
895 895 #content div.box h2,
896 896 #content div.box h3,
897 897 #content div.box h4,
898 898 #content div.box h5,
899 899 #content div.box h6
900 900 {
901 901 margin: 10px 20px 10px 20px;
902 902 padding: 0 0 15px 0;
903 903 clear: both;
904 904 overflow: hidden;
905 905 border-bottom: 1px solid #DDDDDD;
906 906 }
907 907
908 908 /* -----------------------------------------------------------
909 909 content -> right -> box / paragraphs
910 910 ----------------------------------------------------------- */
911 911
912 912 #content div.box p
913 913 {
914 914 margin: 0 24px 10px 24px;
915 915 padding: 0;
916 916 color: #5f5f5f;
917 917 font-size: 12px;
918 918 line-height: 150%;
919 919 }
920 920
921 921 #content div.box blockquote
922 922 {
923 923 margin: 0 34px 0 34px;
924 924 padding: 0 0 0 14px;
925 925 border-left: 4px solid #DDDDDD;
926 926 color: #5f5f5f;
927 927 font-size: 11px;
928 928 line-height: 150%;
929 929 }
930 930
931 931 #content div.box blockquote p
932 932 {
933 933 margin: 10px 0 10px 0;
934 934 padding: 0;
935 935 }
936 936
937 937 /* -----------------------------------------------------------
938 938 content -> right -> box / lists
939 939 ----------------------------------------------------------- */
940 940
941 941 #content div.box dl
942 942 {
943 943 margin: 10px 24px 10px 24px;
944 944 }
945 945
946 946 #content div.box dt
947 947 {
948 948 margin: 0;
949 949 font-size: 12px;
950 950 }
951 951
952 952 #content div.box dd
953 953 {
954 954 margin: 0;
955 955 padding: 8px 0 8px 15px;
956 956 font-size: 12px;
957 957 }
958 958
959 959 #content div.box ul.left
960 960 {
961 961 float: left;
962 962 }
963 963
964 964 #content div.box ol.left
965 965 {
966 966 float: left;
967 967 }
968 968
969 969 #content div.box li
970 970 {
971 971 padding: 4px 0 4px 0;
972 972 font-size: 12px;
973 973 }
974 974
975 975 #content div.box ol.lower-roman,
976 976 #content div.box ol.upper-roman
977 977 {
978 978 margin: 10px 24px 10px 44px;
979 979 }
980 980
981 981 #content div.box ol.lower-alpha,
982 982 #content div.box ol.upper-alpha
983 983 {
984 984 margin: 10px 24px 10px 44px;
985 985 }
986 986
987 987 #content div.box ol.decimal
988 988 {
989 989 margin: 10px 24px 10px 44px;
990 990 }
991 991
992 992 #content div.box ul.disc,
993 993 #content div.box ul.circle
994 994 {
995 995 margin: 10px 24px 10px 38px;
996 996 }
997 997
998 998 #content div.box ul.square
999 999 {
1000 1000 margin: 10px 24px 10px 40px;
1001 1001 }
1002 1002
1003 1003 /* -----------------------------------------------------------
1004 1004 content -> right -> box / images
1005 1005 ----------------------------------------------------------- */
1006 1006
1007 1007 #content div.box img.left
1008 1008 {
1009 1009 margin: 10px 10px 10px 0;
1010 1010 border: none;
1011 1011 float: left;
1012 1012 }
1013 1013
1014 1014 #content div.box img.right
1015 1015 {
1016 1016 margin: 10px 0 10px 10px;
1017 1017 border: none;
1018 1018 float: right;
1019 1019 }
1020 1020
1021 1021 /* -----------------------------------------------------------
1022 1022 content -> right -> box / messages
1023 1023 ----------------------------------------------------------- */
1024 1024
1025 1025 #content div.box div.messages
1026 1026 {
1027 1027 margin: 0 20px 0 20px;
1028 1028 padding: 0;
1029 1029 clear: both;
1030 1030 overflow: hidden;
1031 1031 }
1032 1032
1033 1033 #content div.box div.message
1034 1034 {
1035 1035 margin: 0 0 10px 0;
1036 1036 padding: 0;
1037 1037 clear: both;
1038 1038 overflow: hidden;
1039 1039 }
1040 1040
1041 1041 #content div.box div.message div.image
1042 1042 {
1043 1043 margin: 9px 0 0 5px;
1044 1044 padding: 6px;
1045 1045 float: left;
1046 1046 }
1047 1047
1048 1048 #content div.box div.message div.image img
1049 1049 {
1050 1050 margin: 0;
1051 1051 vertical-align: middle;
1052 1052 }
1053 1053
1054 1054 #content div.box div.message div.text
1055 1055 {
1056 1056 margin: 0;
1057 1057 padding: 9px 6px 9px 6px;
1058 1058 float: left;
1059 1059 }
1060 1060
1061 1061 #content div.box div.message div.dismiss
1062 1062 {
1063 1063 margin: 0;
1064 1064 padding: 0;
1065 1065 float: right;
1066 1066 }
1067 1067
1068 1068 #content div.box div.message div.dismiss a
1069 1069 {
1070 1070 margin: 15px 14px 0 0;
1071 1071 padding: 0;
1072 1072 height: 16px;
1073 1073 width: 16px;
1074 1074 display: block;
1075 1075 background: url("../images/icons/cross.png") no-repeat;
1076 1076 }
1077 1077
1078 1078 #content div.box div.message div.text h1,
1079 1079 #content div.box div.message div.text h2,
1080 1080 #content div.box div.message div.text h3,
1081 1081 #content div.box div.message div.text h4,
1082 1082 #content div.box div.message div.text h5,
1083 1083 #content div.box div.message div.text h6
1084 1084 {
1085 1085 margin: 0;
1086 1086 padding: 0px;
1087 1087 border: none;
1088 1088 }
1089 1089
1090 1090 #content div.box div.message div.text span
1091 1091 {
1092 1092 margin: 0;
1093 1093 padding: 5px 0 0 0;
1094 1094 height: 1%;
1095 1095 display: block;
1096 1096 }
1097 1097
1098 1098 #content div.box div.message-error
1099 1099 {
1100 1100 height: 1%;
1101 1101 clear: both;
1102 1102 overflow: hidden;
1103 1103 background: #FBE3E4;
1104 1104 border: 1px solid #FBC2C4;
1105 1105 color: #860006;
1106 1106 }
1107 1107
1108 1108 #content div.box div.message-error h6
1109 1109 {
1110 1110 color: #860006;
1111 1111 }
1112 1112
1113 1113 #content div.box div.message-warning
1114 1114 {
1115 1115 height: 1%;
1116 1116 clear: both;
1117 1117 overflow: hidden;
1118 1118 background: #FFF6BF;
1119 1119 border: 1px solid #FFD324;
1120 1120 color: #5f5200;
1121 1121 }
1122 1122
1123 1123 #content div.box div.message-warning h6
1124 1124 {
1125 1125 color: #5f5200;
1126 1126 }
1127 1127
1128 1128 #content div.box div.message-notice
1129 1129 {
1130 1130 height: 1%;
1131 1131 clear: both;
1132 1132 overflow: hidden;
1133 1133 background: #8FBDE0;
1134 1134 border: 1px solid #6BACDE;
1135 1135 color: #003863;
1136 1136 }
1137 1137
1138 1138 #content div.box div.message-notice h6
1139 1139 {
1140 1140 color: #003863;
1141 1141 }
1142 1142
1143 1143 #content div.box div.message-success
1144 1144 {
1145 1145 height: 1%;
1146 1146 clear: both;
1147 1147 overflow: hidden;
1148 1148 background: #E6EFC2;
1149 1149 border: 1px solid #C6D880;
1150 1150 color: #4e6100;
1151 1151 }
1152 1152
1153 1153 #content div.box div.message-success h6
1154 1154 {
1155 1155 color: #4e6100;
1156 1156 }
1157 1157
1158 1158 /* -----------------------------------------------------------
1159 1159 content -> right -> box / forms
1160 1160 ----------------------------------------------------------- */
1161 1161
1162 1162 #content div.box div.form
1163 1163 {
1164 1164 margin: 0;
1165 1165 padding: 0 20px 10px 20px;
1166 1166 clear: both;
1167 1167 overflow: hidden;
1168 1168 }
1169 1169
1170 1170 #content div.box div.form div.fields
1171 1171 {
1172 1172 margin: 0;
1173 1173 padding: 0;
1174 1174 clear: both;
1175 1175 overflow: hidden;
1176 1176 }
1177 1177
1178 1178 #content div.box div.form div.fields div.field
1179 1179 {
1180 1180 margin: 0;
1181 1181 padding: 10px 0 10px 0;
1182 1182 height: 1%;
1183 1183 border-bottom: 1px solid #DDDDDD;
1184 1184 clear: both;
1185 1185 overflow: hidden;
1186 1186 }
1187 1187
1188 1188 #content div.box div.form div.fields div.field-first
1189 1189 {
1190 1190 padding: 0 0 10px 0;
1191 1191 }
1192 1192
1193 1193 #content div.box div.form div.fields div.field span.error-message
1194 1194 {
1195 1195 margin: 8px 0 0 0;
1196 1196 padding: 0;
1197 1197 height: 1%;
1198 1198 display: block;
1199 1199 color: #FF0000;
1200 1200 }
1201 1201
1202 1202 #content div.box div.form div.fields div.field span.success
1203 1203 {
1204 1204 margin: 8px 0 0 0;
1205 1205 padding: 0;
1206 1206 height: 1%;
1207 1207 display: block;
1208 1208 color: #316309;
1209 1209 }
1210 1210
1211 1211 /* -----------------------------------------------------------
1212 1212 content -> right -> forms -> labels
1213 1213 ----------------------------------------------------------- */
1214 1214
1215 1215 #content div.box div.form div.fields div.field div.label
1216 1216 {
1217 1217 left: 310px;
1218 1218 margin: 0;
1219 1219 padding: 8px 0 0 5px;
1220 1220 width: auto;
1221 1221 position: absolute;
1222 1222 }
1223 1223
1224 1224 #content div.box-left div.form div.fields div.field div.label,
1225 1225 #content div.box-right div.form div.fields div.field div.label
1226 1226 {
1227 1227 left: 0;
1228 1228 margin: 0;
1229 1229 padding: 0 0 8px 0;
1230 1230 width: auto;
1231 1231 position: relative;
1232 1232 }
1233 1233
1234 1234 /* -----------------------------------------------------------
1235 1235 content -> right -> forms -> label (select)
1236 1236 ----------------------------------------------------------- */
1237 1237
1238 1238 #content div.box div.form div.fields div.field div.label-select
1239 1239 {
1240 1240 padding: 2px 0 0 5px;
1241 1241 }
1242 1242
1243 1243 #content div.box-left div.form div.fields div.field div.label-select,
1244 1244 #content div.box-right div.form div.fields div.field div.label-select
1245 1245 {
1246 1246 padding: 0 0 8px 0;
1247 1247 }
1248 1248
1249 1249 /* -----------------------------------------------------------
1250 1250 content -> right -> forms -> label (checkbox)
1251 1251 ----------------------------------------------------------- */
1252 1252
1253 1253 #content div.box div.form div.fields div.field div.label-checkbox
1254 1254 {
1255 1255 padding: 0 0 0 5px;
1256 1256 }
1257 1257
1258 1258 /* -----------------------------------------------------------
1259 1259 content -> right -> forms -> label (radio)
1260 1260 ----------------------------------------------------------- */
1261 1261
1262 1262 #content div.box div.form div.fields div.field div.label-radio
1263 1263 {
1264 1264 padding: 0 0 0 5px;
1265 1265 }
1266 1266
1267 1267 /* -----------------------------------------------------------
1268 1268 content -> right -> forms -> label (textarea)
1269 1269 ----------------------------------------------------------- */
1270 1270
1271 1271 #content div.box div.form div.fields div.field div.label-textarea
1272 1272 {
1273 1273 padding: 0 0 0 5px;
1274 1274 }
1275 1275
1276 1276 #content div.box-left div.form div.fields div.field div.label-textarea,
1277 1277 #content div.box-right div.form div.fields div.field div.label-textarea
1278 1278 {
1279 1279 padding: 0 0 8px 0;
1280 1280 }
1281 1281
1282 1282 /* -----------------------------------------------------------
1283 1283 content -> right -> forms -> labels (label)
1284 1284 ----------------------------------------------------------- */
1285 1285
1286 1286 #content div.box div.form div.fields div.field div.label label
1287 1287 {
1288 1288 color: #393939;
1289 1289 font-weight: bold;
1290 1290 }
1291 1291
1292 1292 #content div.box div.form div.fields div.field div.label span
1293 1293 {
1294 1294 margin: 0;
1295 1295 padding: 2px 0 0 0;
1296 1296 height: 1%;
1297 1297 display: block;
1298 1298 color: #363636;
1299 1299 }
1300 1300
1301 1301 /* -----------------------------------------------------------
1302 1302 content -> right -> forms -> input
1303 1303 ----------------------------------------------------------- */
1304 1304
1305 1305 #content div.box div.form div.fields div.field div.input
1306 1306 {
1307 1307 margin: 0 0 0 200px;
1308 1308 padding: 0;
1309 1309 }
1310 1310
1311 1311 #content div.box-left div.form div.fields div.field div.input,
1312 1312 #content div.box-right div.form div.fields div.field div.input
1313 1313 {
1314 1314 margin: 0;
1315 1315 padding: 7px 7px 6px 7px;
1316 1316 border-top: 1px solid #b3b3b3;
1317 1317 border-left: 1px solid #b3b3b3;
1318 1318 border-right: 1px solid #eaeaea;
1319 1319 border-bottom: 1px solid #eaeaea;
1320 1320 }
1321 1321
1322 1322 #content div.box div.form div.fields div.field div.input input
1323 1323 {
1324 1324 margin: 0;
1325 1325 padding: 7px 7px 6px 7px;
1326 1326 background: #FFFFFF;
1327 1327 border-top: 1px solid #b3b3b3;
1328 1328 border-left: 1px solid #b3b3b3;
1329 1329 border-right: 1px solid #eaeaea;
1330 1330 border-bottom: 1px solid #eaeaea;
1331 1331 color: #000000;
1332 1332 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1333 1333 font-size: 11px;
1334 1334 }
1335 1335
1336 1336 #content div.box-left div.form div.fields div.field div.input input,
1337 1337 #content div.box-right div.form div.fields div.field div.input input
1338 1338 {
1339 1339 width: 100%;
1340 1340 padding: 0;
1341 1341 border: none;
1342 1342 }
1343 1343
1344 1344 #content div.box div.form div.fields div.field div.input input.small
1345 1345 {
1346 1346 width: 30%;
1347 1347 }
1348 1348
1349 1349 #content div.box div.form div.fields div.field div.input input.medium
1350 1350 {
1351 1351 width: 55%;
1352 1352 }
1353 1353
1354 1354 #content div.box div.form div.fields div.field div.input input.large
1355 1355 {
1356 1356 width: 85%;
1357 1357 }
1358 1358
1359 1359 #content div.box div.form div.fields div.field div.input input.date
1360 1360 {
1361 1361 width: 177px;
1362 1362 }
1363 1363
1364 1364 #content div.box div.form div.fields div.field div.input input.button
1365 1365 {
1366 1366 margin: 0;
1367 1367 padding: 4px 8px 4px 8px;
1368 1368 background: #D4D0C8;
1369 1369 border-top: 1px solid #FFFFFF;
1370 1370 border-left: 1px solid #FFFFFF;
1371 1371 border-right: 1px solid #404040;
1372 1372 border-bottom: 1px solid #404040;
1373 1373 color: #000000;
1374 1374 }
1375 1375
1376 1376 #content div.box div.form div.fields div.field div.input input.error
1377 1377 {
1378 1378 background: #FBE3E4;
1379 1379 border-top: 1px solid #e1b2b3;
1380 1380 border-left: 1px solid #e1b2b3;
1381 1381 border-right: 1px solid #FBC2C4;
1382 1382 border-bottom: 1px solid #FBC2C4;
1383 1383 }
1384 1384
1385 1385 #content div.box div.form div.fields div.field div.input input.success
1386 1386 {
1387 1387 background: #E6EFC2;
1388 1388 border-top: 1px solid #cebb98;
1389 1389 border-left: 1px solid #cebb98;
1390 1390 border-right: 1px solid #c6d880;
1391 1391 border-bottom: 1px solid #c6d880;
1392 1392 }
1393 1393
1394 1394 #content div.box div.form div.fields div.field div.input img.ui-datepicker-trigger
1395 1395 {
1396 1396 margin: 0 0 0 6px;
1397 1397 }
1398 1398
1399 1399 /* -----------------------------------------------------------
1400 1400 content -> right -> forms -> input (file styling)
1401 1401 ----------------------------------------------------------- */
1402 1402
1403 1403 #content div.box div.form div.fields div.field div.input a.ui-input-file
1404 1404 {
1405 1405 margin: 0 0 0 6px;
1406 1406 padding: 0;
1407 1407 width: 28px;
1408 1408 height: 28px;
1409 1409 display: inline;
1410 1410 position: absolute;
1411 1411 overflow: hidden;
1412 1412 cursor: pointer;
1413 1413 background: #e5e3e3 url("../images/button_browse.png") no-repeat;
1414 1414 border: none;
1415 1415 text-decoration: none;
1416 1416 }
1417 1417
1418 1418 #content div.box div.form div.fields div.field div.input a:hover.ui-input-file
1419 1419 {
1420 1420 background: #e5e3e3 url("../images/button_browse_selected.png") no-repeat;
1421 1421 }
1422 1422
1423 1423 /* -----------------------------------------------------------
1424 1424 content -> right -> forms -> textarea
1425 1425 ----------------------------------------------------------- */
1426 1426
1427 1427 #content div.box div.form div.fields div.field div.textarea
1428 1428 {
1429 1429 margin: 0 0 0 200px;
1430 1430 padding: 10px;
1431 1431 border-top: 1px solid #b3b3b3;
1432 1432 border-left: 1px solid #b3b3b3;
1433 1433 border-right: 1px solid #eaeaea;
1434 1434 border-bottom: 1px solid #eaeaea;
1435 1435 }
1436 1436
1437 1437 #content div.box div.form div.fields div.field div.textarea-editor
1438 1438 {
1439 1439 padding: 0;
1440 1440 border: 1px solid #dddddd;
1441 1441 }
1442 1442
1443 1443 #content div.box-left div.form div.fields div.field div.textarea,
1444 1444 #content div.box-right div.form div.fields div.field div.textarea
1445 1445 {
1446 1446 margin: 0;
1447 1447 }
1448 1448
1449 1449 #content div.box div.form div.fields div.field div.textarea textarea
1450 1450 {
1451 1451 margin: 0;
1452 1452 padding: 0;
1453 1453 width: 100%;
1454 1454 height: 220px;
1455 1455 overflow: hidden;
1456 1456 background: #FFFFFF;
1457 1457 border-width: 0;
1458 1458 color: #000000;
1459 1459 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1460 1460 font-size: 11px;
1461 1461 outline: none;
1462 1462 }
1463 1463
1464 1464 #content div.box-left div.form div.fields div.field div.textarea textarea,
1465 1465 #content div.box-right div.form div.fields div.field div.textarea textarea
1466 1466 {
1467 1467 width: 100%;
1468 1468 height: 100px;
1469 1469 }
1470 1470
1471 1471 #content div.box div.form div.fields div.field div.textarea textarea.error
1472 1472 {
1473 1473 padding: 3px 10px 10px 23px;
1474 1474 background-color: #FBE3E4;
1475 1475 background-image: url("../../../resources/images/icons/exclamation.png");
1476 1476 background-repeat: no-repeat;
1477 1477 background-position: 3px 3px;
1478 1478 border: 1px solid #FBC2C4;
1479 1479 }
1480 1480
1481 1481 #content div.box div.form div.fields div.field div.textarea textarea.success
1482 1482 {
1483 1483 padding: 3px 10px 10px 23px;
1484 1484 background-color: #E6EFC2;
1485 1485 background-image: url("../../../resources/images/icons/accept.png");
1486 1486 background-repeat: no-repeat;
1487 1487 background-position: 3px 3px;
1488 1488 border: 1px solid #C6D880;
1489 1489 }
1490 1490
1491 1491 /* -----------------------------------------------------------
1492 1492 content -> right -> forms -> textarea (tinymce editor)
1493 1493 ----------------------------------------------------------- */
1494 1494
1495 1495 #content div.box div.form div.fields div.field div.textarea table
1496 1496 {
1497 1497 margin: 0;
1498 1498 padding: 0;
1499 1499 width: 100%;
1500 1500 border: none;
1501 1501 }
1502 1502
1503 1503 #content div.box div.form div.fields div.field div.textarea table td
1504 1504 {
1505 1505 padding: 0;
1506 1506 background: #DDDDDD;
1507 1507 border: none;
1508 1508 }
1509 1509
1510 1510 #content div.box div.form div.fields div.field div.textarea table td table
1511 1511 {
1512 1512 margin: 0;
1513 1513 padding: 0;
1514 1514 width: auto;
1515 1515 border: none;
1516 1516 }
1517 1517
1518 1518 #content div.box div.form div.fields div.field div.textarea table td table td
1519 1519 {
1520 1520 padding: 5px 5px 5px 0;
1521 1521 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1522 1522 font-size: 11px;
1523 1523 }
1524 1524
1525 1525 #content div.box div.form div.fields div.field div.textarea table td table td a
1526 1526 {
1527 1527 border: none;
1528 1528 }
1529 1529
1530 1530 #content div.box div.form div.fields div.field div.textarea table td table td a.mceButtonActive
1531 1531 {
1532 1532 background: #b1b1b1;
1533 1533 }
1534 1534
1535 1535 /* -----------------------------------------------------------
1536 1536 content -> right -> forms -> select
1537 1537 ----------------------------------------------------------- */
1538 1538
1539 1539 #content div.box div.form div.fields div.field div.select
1540 1540 {
1541 1541 margin: 0 0 0 200px;
1542 1542 padding: 0;
1543 1543 }
1544 1544
1545 1545 #content div.box div.form div.fields div.field div.select a:hover
1546 1546 {
1547 1547 color: #000000;
1548 1548 text-decoration: none;
1549 1549 }
1550 1550
1551 1551 #content div.box div.form div.fields div.field div.select select
1552 1552 {
1553 1553 margin: 0;
1554 1554 }
1555 1555
1556 1556 /* -----------------------------------------------------------
1557 1557 content -> right -> forms -> select (jquery styling)
1558 1558 ----------------------------------------------------------- */
1559 1559
1560 1560 #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus
1561 1561 {
1562 1562 border: 1px solid #666666;
1563 1563 }
1564 1564
1565 1565 #content div.box div.form div.fields div.field div.select a.ui-selectmenu
1566 1566 {
1567 1567 color: #565656;
1568 1568 text-decoration: none;
1569 1569 }
1570 1570
1571 1571 #content div.box div.form div.fields div.field div.select a.ui-selectmenu:hover
1572 1572 {
1573 1573 color: #000000;
1574 1574 text-decoration: none;
1575 1575 }
1576 1576
1577 1577 #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus span.ui-icon
1578 1578 {
1579 1579 background-image: url(../images/ui/ui-icons_222222_256x240.png);
1580 1580 }
1581 1581
1582 1582 /* -----------------------------------------------------------
1583 1583 content -> right -> forms -> element focus
1584 1584 ----------------------------------------------------------- */
1585 1585
1586 1586 #content div.box div.form div.fields div.field input[type=text]:focus,
1587 1587 #content div.box div.form div.fields div.field input[type=password]:focus,
1588 1588 #content div.box div.form div.fields div.field input[type=file]:focus,
1589 1589 #content div.box div.form div.fields div.field textarea:focus,
1590 1590 #content div.box div.form div.fields div.field select:focus
1591 1591 {
1592 1592 background: #f6f6f6;
1593 1593 border-color: #666;
1594 1594 }
1595 1595
1596 1596 /* -----------------------------------------------------------
1597 1597 content -> right -> forms -> checkboxes
1598 1598 ----------------------------------------------------------- */
1599 1599
1600 1600 #content div.box div.form div.fields div.field div.checkboxes
1601 1601 {
1602 1602 margin: 0 0 0 200px;
1603 1603 padding: 0;
1604 1604 }
1605 1605
1606 1606 #content div.box div.form div.fields div.field div.checkboxes div.checkbox
1607 1607 {
1608 1608 margin: 0;
1609 1609 padding: 2px 0 2px 0;
1610 1610 clear: both;
1611 1611 overflow: hidden;
1612 1612 }
1613 1613
1614 1614 #content div.box div.form div.fields div.field div.checkboxes div.checkbox input
1615 1615 {
1616 1616 margin: 0;
1617 1617 float: left;
1618 1618 }
1619 1619
1620 1620 #content div.box div.form div.fields div.field div.checkboxes div.checkbox label
1621 1621 {
1622 1622 margin: 3px 0 0 4px;
1623 1623 height: 1%;
1624 1624 display: block;
1625 1625 float: left;
1626 1626 }
1627 1627
1628 1628 /* -----------------------------------------------------------
1629 1629 content -> right -> forms -> radios
1630 1630 ----------------------------------------------------------- */
1631 1631
1632 1632 #content div.box div.form div.fields div.field div.radios
1633 1633 {
1634 1634 margin: 0 0 0 200px;
1635 1635 padding: 0;
1636 1636 }
1637 1637
1638 1638 #content div.box div.form div.fields div.field div.radios div.radio
1639 1639 {
1640 1640 margin: 0;
1641 1641 padding: 2px 0 2px 0;
1642 1642 clear: both;
1643 1643 overflow: hidden;
1644 1644 }
1645 1645
1646 1646 #content div.box div.form div.fields div.field div.radios div.radio input
1647 1647 {
1648 1648 margin: 0;
1649 1649 float: left;
1650 1650 }
1651 1651
1652 1652 #content div.box div.form div.fields div.field div.radios div.radio label
1653 1653 {
1654 1654 margin: 3px 0 0 4px;
1655 1655 height: 1%;
1656 1656 display: block;
1657 1657 float: left;
1658 1658 }
1659 1659
1660 1660 /* -----------------------------------------------------------
1661 1661 content -> right -> forms -> buttons
1662 1662 ----------------------------------------------------------- */
1663 1663
1664 1664 #content div.box div.form div.fields div.buttons
1665 1665 {
1666 1666 margin: 10px 0 0 200px;
1667 1667 padding: 0;
1668 1668 }
1669 1669
1670 1670 #content div.box-left div.form div.fields div.buttons,
1671 1671 #content div.box-right div.form div.fields div.buttons
1672 1672 {
1673 1673 margin: 10px 0 0 0;
1674 1674 }
1675 1675
1676 1676 #content div.box div.form div.fields div.buttons input
1677 1677 {
1678 1678 margin: 0;
1679 1679 color: #000000;
1680 1680 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1681 1681 font-size: 11px;
1682 1682 font-weight: bold;
1683 1683 }
1684 1684
1685 1685 /* -----------------------------------------------------------
1686 1686 content -> right -> forms -> buttons (jquery styling)
1687 1687 ----------------------------------------------------------- */
1688 1688
1689 1689 #content div.box div.form div.fields div.buttons input.ui-state-default
1690 1690 {
1691 1691 margin: 0;
1692 1692 padding: 6px 12px 6px 12px;
1693 1693 background: #e5e3e3 url("../images/button.png") repeat-x;
1694 1694 border-top: 1px solid #DDDDDD;
1695 1695 border-left: 1px solid #c6c6c6;
1696 1696 border-right: 1px solid #DDDDDD;
1697 1697 border-bottom: 1px solid #c6c6c6;
1698 1698 color: #515151;
1699 1699 outline: none;
1700 1700 }
1701 1701
1702 1702 #content div.box div.form div.fields div.buttons input.ui-state-hover
1703 1703 {
1704 1704 margin: 0;
1705 1705 padding: 6px 12px 6px 12px;
1706 1706 background: #b4b4b4 url("../images/button_selected.png") repeat-x;
1707 1707 border-top: 1px solid #cccccc;
1708 1708 border-left: 1px solid #bebebe;
1709 1709 border-right: 1px solid #b1b1b1;
1710 1710 border-bottom: 1px solid #afafaf;
1711 1711 color: #515151;
1712 1712 outline: none;
1713 1713 }
1714 1714
1715 1715 #content div.box div.form div.fields div.buttons div.highlight
1716 1716 {
1717 1717 display: inline;
1718 1718 }
1719 1719
1720 1720 #content div.box div.form div.fields div.buttons div.highlight input.ui-state-default
1721 1721 {
1722 1722 margin: 0;
1723 1723 padding: 6px 12px 6px 12px;
1724 1724 background: #4e85bb url("../images/colors/blue/button_highlight.png") repeat-x;
1725 1725 border-top: 1px solid #5c91a4;
1726 1726 border-left: 1px solid #2a6f89;
1727 1727 border-right: 1px solid #2b7089;
1728 1728 border-bottom: 1px solid #1a6480;
1729 1729 color: #FFFFFF;
1730 1730 }
1731 1731
1732 1732 #content div.box div.form div.fields div.buttons div.highlight input.ui-state-hover
1733 1733 {
1734 1734 margin: 0;
1735 1735 padding: 6px 12px 6px 12px;
1736 1736 background: #46a0c1 url("../images/colors/blue/button_highlight_selected.png") repeat-x;
1737 1737 border-top: 1px solid #78acbf;
1738 1738 border-left: 1px solid #34819e;
1739 1739 border-right: 1px solid #35829f;
1740 1740 border-bottom: 1px solid #257897;
1741 1741 color: #FFFFFF;
1742 1742 }
1743 1743
1744 1744 /* -----------------------------------------------------------
1745 1745 content -> right -> box / tables
1746 1746 ----------------------------------------------------------- */
1747 1747
1748 1748 #content div.box div.table
1749 1749 {
1750 1750 margin: 0;
1751 1751 padding: 0 20px 10px 20px;
1752 1752 clear: both;
1753 1753 overflow: hidden;
1754 1754 }
1755 1755
1756 1756 #content div.box table
1757 1757 {
1758 1758 margin: 0;
1759 1759 padding: 0;
1760 1760 width: 100%;
1761 1761 border-collapse: collapse;
1762 1762 }
1763 1763
1764 1764 #content div.box table th
1765 1765 {
1766 1766 padding: 10px;
1767 1767 background: #eeeeee;
1768 1768 border-bottom: 1px solid #dddddd;
1769 1769 }
1770 1770
1771 1771 #content div.box table th.left
1772 1772 {
1773 1773 text-align: left;
1774 1774 }
1775 1775
1776 1776 #content div.box table th.right
1777 1777 {
1778 1778 text-align: right;
1779 1779 }
1780 1780
1781 1781 #content div.box table th.center
1782 1782 {
1783 1783 text-align: center;
1784 1784 }
1785 1785
1786 1786 #content div.box table th.selected
1787 1787 {
1788 1788 padding: 0;
1789 1789 vertical-align: middle;
1790 1790 }
1791 1791
1792 1792 #content div.box table th.selected input
1793 1793 {
1794 1794 margin: 0;
1795 1795 }
1796 1796
1797 1797 #content div.box table td
1798 1798 {
1799 1799 padding: 5px;
1800 1800 background: #ffffff;
1801 1801 border-bottom: 1px solid #cdcdcd;
1802 1802 }
1803 1803
1804 1804 #content div.box table tr.selected td
1805 1805 {
1806 1806 background: #FFFFCC;
1807 1807 }
1808 1808
1809 1809 #content div.box table td.selected
1810 1810 {
1811 1811 padding: 0;
1812 1812 width: 3%;
1813 1813 text-align: center;
1814 1814 vertical-align: middle;
1815 1815 }
1816 1816
1817 1817 #content div.box table td.selected input
1818 1818 {
1819 1819 margin: 0;
1820 1820 }
1821 1821
1822 1822 #content div.box table td.action
1823 1823 {
1824 1824 width: 45%;
1825 1825 text-align: left;
1826 1826 }
1827 1827
1828 1828 #content div.box table td.user
1829 1829 {
1830 1830 width: 10%;
1831 1831 text-align: center;
1832 1832 }
1833 1833
1834 1834 #content div.box table td.date
1835 1835 {
1836 1836 width: 33%;
1837 1837 text-align: center;
1838 1838 }
1839 1839
1840 1840 #content div.box table td.address
1841 1841 {
1842 1842 width: 10%;
1843 1843 text-align: center;
1844 1844 }
1845 1845
1846 1846 /* -----------------------------------------------------------
1847 1847 content -> right -> box / table action
1848 1848 ----------------------------------------------------------- */
1849 1849
1850 1850 #content div.box div.action
1851 1851 {
1852 1852 margin: 10px 0 0 0;
1853 1853 padding: 0;
1854 1854 float: right;
1855 1855 background: #FFFFFF;
1856 1856 text-align: right;
1857 1857 }
1858 1858
1859 1859 #content div.box div.action a:hover
1860 1860 {
1861 1861 color: #000000;
1862 1862 text-decoration: none;
1863 1863 }
1864 1864
1865 1865 #content div.box div.action select
1866 1866 {
1867 1867 margin: 0;
1868 1868 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1869 1869 font-size: 11px;
1870 1870 }
1871 1871
1872 1872 #content div.box div.action div.button
1873 1873 {
1874 1874 margin: 6px 0 0 0;
1875 1875 padding: 0;
1876 1876 text-align: right;
1877 1877 }
1878 1878
1879 1879 #content div.box div.action div.button input
1880 1880 {
1881 1881 margin: 0;
1882 1882 color: #000000;
1883 1883 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1884 1884 font-size: 11px;
1885 1885 font-weight: bold;
1886 1886 }
1887 1887
1888 1888 #content div.box div.action div.button input.ui-state-default
1889 1889 {
1890 1890 margin: 0;
1891 1891 padding: 6px 12px 6px 12px;
1892 1892 background: #e5e3e3 url("../images/button.png") repeat-x;
1893 1893 border-top: 1px solid #DDDDDD;
1894 1894 border-left: 1px solid #c6c6c6;
1895 1895 border-right: 1px solid #DDDDDD;
1896 1896 border-bottom: 1px solid #c6c6c6;
1897 1897 color: #515151;
1898 1898 }
1899 1899
1900 1900 #content div.box div.action div.button input.ui-state-hover
1901 1901 {
1902 1902 margin: 0;
1903 1903 padding: 6px 12px 6px 12px;
1904 1904 background: #b4b4b4 url("../images/button_selected.png") repeat-x;
1905 1905 border-top: 1px solid #cccccc;
1906 1906 border-left: 1px solid #bebebe;
1907 1907 border-right: 1px solid #b1b1b1;
1908 1908 border-bottom: 1px solid #afafaf;
1909 1909 color: #515151;
1910 1910 }
1911 1911
1912 1912 #content div.box div.action .ui-selectmenu
1913 1913 {
1914 1914 margin: 0;
1915 1915 padding: 0;
1916 1916 }
1917 1917
1918 1918 #content div.box div.action a.ui-selectmenu-focus
1919 1919 {
1920 1920 border: 1px solid #666666;
1921 1921 }
1922 1922
1923 1923 #content div.box div.action a.ui-selectmenu-focus span.ui-icon
1924 1924 {
1925 1925 background-image: url(../images/ui/ui-icons_222222_256x240.png);
1926 1926 }
1927 1927
1928 1928 /* -----------------------------------------------------------
1929 1929 content -> right -> pagination
1930 1930 ----------------------------------------------------------- */
1931 1931
1932 1932 #content div.box div.pagination
1933 1933 {
1934 1934 margin: 10px 0 0 0;
1935 1935 padding: 0;
1936 1936 height: 1%;
1937 1937 clear: both;
1938 1938 overflow: hidden;
1939 1939 }
1940 1940
1941 1941 #content div.box div.pagination div.results
1942 1942 {
1943 1943 margin: 0;
1944 1944 padding: 0;
1945 1945 text-align: left;
1946 1946 float: left
1947 1947 }
1948 1948
1949 1949 #content div.box div.pagination div.results span
1950 1950 {
1951 1951 margin: 0;
1952 1952 padding: 6px 8px 6px 8px;
1953 1953 height: 1%;
1954 1954 display: block;
1955 1955 float: left;
1956 1956 background: #ebebeb url("../images/pager.png") repeat-x;
1957 1957 border-top: 1px solid #dedede;
1958 1958 border-left: 1px solid #cfcfcf;
1959 1959 border-right: 1px solid #c4c4c4;
1960 1960 border-bottom: 1px solid #c4c4c4;
1961 1961 color: #4A4A4A;
1962 1962 font-weight: bold;
1963 1963 }
1964 1964
1965 1965 #content div.box div.pagination ul.pager
1966 1966 {
1967 1967 margin: 0;
1968 1968 padding: 0;
1969 1969 float: right;
1970 1970 text-align: right;
1971 1971 }
1972 1972
1973 1973 #content div.box div.pagination ul.pager li
1974 1974 {
1975 1975 margin: 0 0 0 4px;
1976 1976 padding: 0;
1977 1977 height: 1%;
1978 1978 float: left;
1979 1979 list-style: none;
1980 1980 background: #ebebeb url("../images/pager.png") repeat-x;
1981 1981 border-top: 1px solid #dedede;
1982 1982 border-left: 1px solid #cfcfcf;
1983 1983 border-right: 1px solid #c4c4c4;
1984 1984 border-bottom: 1px solid #c4c4c4;
1985 1985 color: #4A4A4A;
1986 1986 font-weight: bold;
1987 1987 }
1988 1988
1989 1989 #content div.box div.pagination ul.pager li.separator
1990 1990 {
1991 1991 padding: 6px;
1992 1992 }
1993 1993
1994 1994 #content div.box div.pagination ul.pager li.current
1995 1995 {
1996 1996 padding: 6px;
1997 1997 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
1998 1998 border-top: 1px solid #cccccc;
1999 1999 border-left: 1px solid #bebebe;
2000 2000 border-right: 1px solid #b1b1b1;
2001 2001 border-bottom: 1px solid #afafaf;
2002 2002 color: #515151;
2003 2003 }
2004 2004
2005 2005 #content div.box div.pagination ul.pager li.disabled
2006 2006 {
2007 2007 padding: 6px;
2008 2008 color: #B4B4B4;
2009 2009 }
2010 2010
2011 2011 #content div.box div.pagination ul.pager li a
2012 2012 {
2013 2013 margin: 0;
2014 2014 padding: 6px;
2015 2015 height: 1%;
2016 2016 display: block;
2017 2017 float: left;
2018 2018 color: #515151;
2019 2019 text-decoration: none;
2020 2020 }
2021 2021
2022 2022 #content div.box div.pagination ul.pager li a:hover,
2023 2023 #content div.box div.pagination ul.pager li a:active
2024 2024 {
2025 2025 margin: -1px;
2026 2026 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
2027 2027 border-top: 1px solid #cccccc;
2028 2028 border-left: 1px solid #bebebe;
2029 2029 border-right: 1px solid #b1b1b1;
2030 2030 border-bottom: 1px solid #afafaf;
2031 2031 }
2032 2032
2033 2033 /* -----------------------------------------------------------
2034 2034 content -> webhelpers pagination
2035 2035 ----------------------------------------------------------- */
2036 2036
2037 2037 #content div.box div.pagination-wh
2038 2038 {
2039 2039 margin: 10px 0 0 0;
2040 2040 padding: 0;
2041 2041 height: 1%;
2042 2042 clear: both;
2043 2043 overflow: hidden;
2044 2044 text-align: right;
2045 2045 }
2046 2046
2047 2047 #content div.box div.pagination-wh div.results
2048 2048 {
2049 2049 margin: 0;
2050 2050 padding: 0;
2051 2051 text-align: left;
2052 2052 float: left
2053 2053 }
2054 2054
2055 2055 #content div.box div.pagination-wh div.results span
2056 2056 {
2057 2057 margin: 0;
2058 2058 padding: 6px 8px 6px 8px;
2059 2059 height: 1%;
2060 2060 display: block;
2061 2061 float: left;
2062 2062 background: #ebebeb url("../images/pager.png") repeat-x;
2063 2063 border-top: 1px solid #dedede;
2064 2064 border-left: 1px solid #cfcfcf;
2065 2065 border-right: 1px solid #c4c4c4;
2066 2066 border-bottom: 1px solid #c4c4c4;
2067 2067 color: #4A4A4A;
2068 2068 font-weight: bold;
2069 2069 }
2070 2070
2071 2071 #content div.box div.pagination-left{
2072 2072 float:left;
2073 2073 }
2074 2074 #content div.box div.pagination-right{
2075 2075 float:right;
2076 2076 }
2077 2077
2078 2078 #content div.box div.pagination-wh a,
2079 2079 #content div.box div.pagination-wh span.pager_dotdot
2080 2080 {
2081 2081 margin: 0 0 0 4px;
2082 2082 padding: 6px;
2083 2083 height: 1%;
2084 2084 float: left;
2085 2085 background: #ebebeb url("../images/pager.png") repeat-x;
2086 2086 border-top: 1px solid #dedede;
2087 2087 border-left: 1px solid #cfcfcf;
2088 2088 border-right: 1px solid #c4c4c4;
2089 2089 border-bottom: 1px solid #c4c4c4;
2090 2090 color: #4A4A4A;
2091 2091 font-weight: bold;
2092 2092 }
2093 2093 #content div.box div.pagination-wh span.pager_curpage
2094 2094 {
2095 2095 margin: 0 0 0 4px;
2096 2096 padding: 6px;
2097 2097 height: 1%;
2098 2098 float: left;
2099 2099 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
2100 2100 border-top: 1px solid #cccccc;
2101 2101 border-left: 1px solid #bebebe;
2102 2102 border-right: 1px solid #b1b1b1;
2103 2103 border-bottom: 1px solid #afafaf;
2104 2104 color: #515151;
2105 2105 font-weight: bold;
2106 2106 }
2107 2107
2108 2108 #content div.box div.pagination-wh a.disabled
2109 2109 {
2110 2110 padding: 6px;
2111 2111 color: #B4B4B4;
2112 2112 }
2113 2113
2114 2114
2115 2115 #content div.box div.pagination-wh a:hover,
2116 2116 #content div.box div.pagination-wh a:active
2117 2117 {
2118 2118 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
2119 2119 border-top: 1px solid #cccccc;
2120 2120 border-left: 1px solid #bebebe;
2121 2121 border-right: 1px solid #b1b1b1;
2122 2122 border-bottom: 1px solid #afafaf;
2123 2123 text-decoration: none;
2124 2124 }
2125 2125
2126 2126
2127 2127 /* -----------------------------------------------------------
2128 2128 content -> right -> traffic chart
2129 2129 ----------------------------------------------------------- */
2130 2130
2131 2131 #content div.box div.traffic
2132 2132 {
2133 2133 margin: 0;
2134 2134 padding: 0 20px 10px 20px;
2135 2135 clear: both;
2136 2136 overflow: hidden;
2137 2137 }
2138 2138
2139 2139 #content div.box div.traffic div.legend
2140 2140 {
2141 2141 margin: 0 0 10px 0;
2142 2142 padding: 0 0 10px 0;
2143 2143 clear: both;
2144 2144 overflow: hidden;
2145 2145 border-bottom: 1px solid #dddddd;
2146 2146 }
2147 2147
2148 2148 #content div.box div.traffic div.legend h6
2149 2149 {
2150 2150 margin: 0;
2151 2151 padding: 0;
2152 2152 float: left;
2153 2153 border: none;
2154 2154 }
2155 2155
2156 2156 #content div.box div.traffic div.legend ul
2157 2157 {
2158 2158 margin: 0;
2159 2159 padding: 0;
2160 2160 float: right;
2161 2161 }
2162 2162
2163 2163 #content div.box div.traffic div.legend li
2164 2164 {
2165 2165 margin: 0;
2166 2166 padding: 0 8px 0 4px;
2167 2167 list-style: none;
2168 2168 float: left;
2169 2169 font-size: 11px;
2170 2170 }
2171 2171
2172 2172 #content div.box div.traffic div.legend li.visits
2173 2173 {
2174 2174 border-left: 12px solid #edc240;
2175 2175 }
2176 2176
2177 2177 #content div.box div.traffic div.legend li.pageviews
2178 2178 {
2179 2179 border-left: 12px solid #afd8f8;
2180 2180 }
2181 2181
2182 2182 #content div.box div.traffic table
2183 2183 {
2184 2184 width: auto;
2185 2185 }
2186 2186
2187 2187 #content div.box div.traffic table td
2188 2188 {
2189 2189 padding: 2px 3px 3px 3px;
2190 2190 background: transparent;
2191 2191 border: none;
2192 2192 }
2193 2193
2194 2194 #content div.box div.traffic table td.legendLabel
2195 2195 {
2196 2196 padding: 0 3px 2px 3px;
2197 2197 }
2198 2198
2199 2199 /* -----------------------------------------------------------
2200 2200 footer
2201 2201 ----------------------------------------------------------- */
2202 2202
2203 2203 #footer
2204 2204 {
2205 2205 margin: 0;
2206 2206 padding: 5px 0 5px 0;
2207 2207 clear: both;
2208 2208 overflow: hidden;
2209 2209 background: #2a2a2a;
2210 2210 text-align: right;
2211 2211 }
2212 2212
2213 2213 #footer p
2214 2214 {
2215 2215 margin: 0 80px 0 80px;
2216 2216 padding: 10px 0 10px 0;
2217 2217 color: #ffffff;
2218 2218 }
2219 2219
2220 2220 /* -----------------------------------------------------------
2221 2221 login
2222 2222 ----------------------------------------------------------- */
2223 2223
2224 2224 #login
2225 2225 {
2226 2226 margin: 10% auto 0 auto;
2227 2227 padding: 0;
2228 2228 width: 420px;
2229 2229 }
2230 2230
2231 2231 /* -----------------------------------------------------------
2232 2232 login -> colors
2233 2233 ----------------------------------------------------------- */
2234 2234
2235 2235 #login div.color
2236 2236 {
2237 2237 margin: 10px auto 0 auto;
2238 2238 padding: 3px 3px 3px 0;
2239 2239 clear: both;
2240 2240 overflow: hidden;
2241 2241 background: #FFFFFF;
2242 2242 }
2243 2243
2244 2244 #login div.color a
2245 2245 {
2246 2246 margin: 0 0 0 3px;
2247 2247 padding: 0;
2248 2248 width: 20px;
2249 2249 height: 20px;
2250 2250 display: block;
2251 2251 float: left;
2252 2252 }
2253 2253
2254 2254 /* -----------------------------------------------------------
2255 2255 login -> title
2256 2256 ----------------------------------------------------------- */
2257 2257
2258 2258 #login div.title
2259 2259 {
2260 2260 margin: 0 auto;
2261 2261 padding: 0;
2262 2262 width: 420px;
2263 2263 clear: both;
2264 2264 overflow: hidden;
2265 2265 position: relative;
2266 2266 background: #003367 url("../images/colors/blue/header_inner.png") repeat-x;
2267 2267 }
2268 2268
2269 2269 #login div.title h5
2270 2270 {
2271 2271 margin: 10px;
2272 2272 padding: 0;
2273 2273 color: #ffffff;
2274 2274 }
2275 2275
2276 2276 /* -----------------------------------------------------------
2277 2277 login -> title / corners
2278 2278 ----------------------------------------------------------- */
2279 2279
2280 2280 #login div.title div.corner
2281 2281 {
2282 2282 height: 6px;
2283 2283 width: 6px;
2284 2284 position: absolute;
2285 2285 background: url("../images/colors/blue/login_corners.png") no-repeat;
2286 2286 }
2287 2287
2288 2288 #login div.title div.tl
2289 2289 {
2290 2290 top: 0;
2291 2291 left: 0;
2292 2292 background-position: 0 0;
2293 2293 }
2294 2294
2295 2295 #login div.title div.tr
2296 2296 {
2297 2297 top: 0;
2298 2298 right: 0;
2299 2299 background-position: -6px 0;
2300 2300 }
2301 2301
2302 2302 #login div.inner
2303 2303 {
2304 2304 margin: 0 auto;
2305 2305 padding: 20px;
2306 2306 width: 380px;
2307 2307 background: #FFFFFF url("../images/login.png") no-repeat top left;
2308 2308 border-top: none;
2309 2309 border-bottom: none;
2310 2310 }
2311 2311
2312 2312 /* -----------------------------------------------------------
2313 2313 login -> form
2314 2314 ----------------------------------------------------------- */
2315 2315
2316 2316 #login div.form
2317 2317 {
2318 2318 margin: 0;
2319 2319 padding: 0;
2320 2320 clear: both;
2321 2321 overflow: hidden;
2322 2322 }
2323 2323
2324 2324 #login div.form div.fields
2325 2325 {
2326 2326 margin: 0;
2327 2327 padding: 0;
2328 2328 clear: both;
2329 2329 overflow: hidden;
2330 2330 }
2331 2331
2332 2332 #login div.form div.fields div.field
2333 2333 {
2334 2334 margin: 0;
2335 2335 padding: 0 0 10px 0;
2336 2336 clear: both;
2337 2337 overflow: hidden;
2338 2338 }
2339 2339
2340 2340 #login div.form div.fields div.field span.error-message
2341 2341 {
2342 2342 margin: 8px 0 0 0;
2343 2343 padding: 0;
2344 2344 height: 1%;
2345 2345 display: block;
2346 2346 color: #FF0000;
2347 2347 }
2348 2348
2349 2349 #login div.form div.fields div.field div.label
2350 2350 {
2351 2351 margin: 2px 10px 0 0;
2352 2352 padding: 5px 0 0 5px;
2353 2353 width: 173px;
2354 2354 float: left;
2355 2355 text-align: right;
2356 2356 }
2357 2357
2358 2358 #login div.form div.fields div.field div.label label
2359 2359 {
2360 2360 color: #000000;
2361 2361 font-weight: bold;
2362 2362 }
2363 2363
2364 2364 #login div.form div.fields div.field div.label span
2365 2365 {
2366 2366 margin: 0;
2367 2367 padding: 2px 0 0 0;
2368 2368 height: 1%;
2369 2369 display: block;
2370 2370 color: #363636;
2371 2371 }
2372 2372
2373 2373 #login div.form div.fields div.field div.input
2374 2374 {
2375 2375 margin: 0;
2376 2376 padding: 0;
2377 2377 float: left;
2378 2378 }
2379 2379
2380 2380 #login div.form div.fields div.field div.input input
2381 2381 {
2382 2382 margin: 0;
2383 2383 padding: 7px 7px 6px 7px;
2384 2384 width: 176px;
2385 2385 background: #FFFFFF;
2386 2386 border-top: 1px solid #b3b3b3;
2387 2387 border-left: 1px solid #b3b3b3;
2388 2388 border-right: 1px solid #eaeaea;
2389 2389 border-bottom: 1px solid #eaeaea;
2390 2390 color: #000000;
2391 2391 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
2392 2392 font-size: 11px;
2393 2393 }
2394 2394
2395 2395 #login div.form div.fields div.field div.input input.error
2396 2396 {
2397 2397 background: #FBE3E4;
2398 2398 border-top: 1px solid #e1b2b3;
2399 2399 border-left: 1px solid #e1b2b3;
2400 2400 border-right: 1px solid #FBC2C4;
2401 2401 border-bottom: 1px solid #FBC2C4;
2402 2402 }
2403 2403
2404 2404 #login div.form div.fields div.field div.input input.success
2405 2405 {
2406 2406 background: #E6EFC2;
2407 2407 border-top: 1px solid #cebb98;
2408 2408 border-left: 1px solid #cebb98;
2409 2409 border-right: 1px solid #c6d880;
2410 2410 border-bottom: 1px solid #c6d880;
2411 2411 }
2412 2412
2413 2413 #login div.form div.fields div.field div.input div.link
2414 2414 {
2415 2415 margin: 6px 0 0 0;
2416 2416 padding: 0;
2417 2417 text-align: right;
2418 2418 }
2419 2419
2420 2420 #login div.form div.fields div.field div.checkbox
2421 2421 {
2422 2422 margin: 0 0 0 184px;
2423 2423 padding: 0;
2424 2424 }
2425 2425
2426 2426 #login div.form div.fields div.field div.checkbox label
2427 2427 {
2428 2428 color: #565656;
2429 2429 font-weight: bold;
2430 2430 }
2431 2431
2432 2432 #login div.form div.fields div.buttons
2433 2433 {
2434 2434 margin: 0;
2435 2435 padding: 10px 0 0 0;
2436 2436 clear: both;
2437 2437 overflow: hidden;
2438 2438 border-top: 1px solid #DDDDDD;
2439 2439 text-align: right;
2440 2440 }
2441 2441
2442 2442 #login div.form div.fields div.buttons input
2443 2443 {
2444 2444 margin: 0;
2445 2445 color: #000000;
2446 2446 font-size: 1.0em;
2447 2447 font-weight: bold;
2448 2448 font-family: Verdana, Helvetica, Sans-Serif;
2449 2449 }
2450 2450
2451 2451 #login div.form div.fields div.buttons input.ui-state-default
2452 2452 {
2453 2453 margin: 0;
2454 2454 padding: 6px 12px 6px 12px;
2455 2455 background: #e5e3e3 url("../images/button.png") repeat-x;
2456 2456 border-top: 1px solid #DDDDDD;
2457 2457 border-left: 1px solid #c6c6c6;
2458 2458 border-right: 1px solid #DDDDDD;
2459 2459 border-bottom: 1px solid #c6c6c6;
2460 2460 color: #515151;
2461 2461 }
2462 2462
2463 2463 #login div.form div.fields div.buttons input.ui-state-hover
2464 2464 {
2465 2465 margin: 0;
2466 2466 padding: 6px 12px 6px 12px;
2467 2467 background: #b4b4b4 url("../images/button_selected.png") repeat-x;
2468 2468 border-top: 1px solid #cccccc;
2469 2469 border-left: 1px solid #bebebe;
2470 2470 border-right: 1px solid #b1b1b1;
2471 2471 border-bottom: 1px solid #afafaf;
2472 2472 color: #515151;
2473 2473 }
2474 2474
2475 2475 /* -----------------------------------------------------------
2476 2476 login -> links
2477 2477 ----------------------------------------------------------- */
2478 2478
2479 2479 #login div.form div.links
2480 2480 {
2481 2481 margin: 10px 0 0 0;
2482 2482 padding: 0 0 2px 0;
2483 2483 clear: both;
2484 2484 overflow: hidden;
2485 2485 }
2486 2486
2487 2487 /* -----------------------------------------------------------
2488 2488 register
2489 2489 ----------------------------------------------------------- */
2490 2490
2491 2491 #register
2492 2492 {
2493 2493 margin: 10% auto 0 auto;
2494 2494 padding: 0;
2495 2495 width: 420px;
2496 2496 }
2497 2497
2498 2498 /* -----------------------------------------------------------
2499 2499 register -> colors
2500 2500 ----------------------------------------------------------- */
2501 2501
2502 2502 #register div.color
2503 2503 {
2504 2504 margin: 10px auto 0 auto;
2505 2505 padding: 3px 3px 3px 0;
2506 2506 clear: both;
2507 2507 overflow: hidden;
2508 2508 background: #FFFFFF;
2509 2509 }
2510 2510
2511 2511 #register div.color a
2512 2512 {
2513 2513 margin: 0 0 0 3px;
2514 2514 padding: 0;
2515 2515 width: 20px;
2516 2516 height: 20px;
2517 2517 display: block;
2518 2518 float: left;
2519 2519 }
2520 2520
2521 2521 /* -----------------------------------------------------------
2522 2522 register -> title
2523 2523 ----------------------------------------------------------- */
2524 2524
2525 2525 #register div.title
2526 2526 {
2527 2527 margin: 0 auto;
2528 2528 padding: 0;
2529 2529 width: 420px;
2530 2530 clear: both;
2531 2531 overflow: hidden;
2532 2532 position: relative;
2533 2533 background: #003367 url("../images/colors/blue/header_inner.png") repeat-x;
2534 2534 }
2535 2535
2536 2536 #register div.title h5
2537 2537 {
2538 2538 margin: 10px;
2539 2539 padding: 0;
2540 2540 color: #ffffff;
2541 2541 }
2542 2542
2543 2543 /* -----------------------------------------------------------
2544 2544 register -> inner
2545 2545 ----------------------------------------------------------- */
2546 2546 #register div.title div.corner
2547 2547 {
2548 2548 height: 6px;
2549 2549 width: 6px;
2550 2550 position: absolute;
2551 2551 background: url("../images/colors/blue/login_corners.png") no-repeat;
2552 2552 }
2553 2553
2554 2554 #register div.title div.tl
2555 2555 {
2556 2556 top: 0;
2557 2557 left: 0;
2558 2558 background-position: 0 0;
2559 2559 }
2560 2560
2561 2561 #register div.title div.tr
2562 2562 {
2563 2563 top: 0;
2564 2564 right: 0;
2565 2565 background-position: -6px 0;
2566 2566
2567 2567 }
2568 2568 #register div.inner
2569 2569 {
2570 2570 margin: 0 auto;
2571 2571 padding: 20px;
2572 2572 width: 380px;
2573 2573 background: #FFFFFF;
2574 2574 border-top: none;
2575 2575 border-bottom: none;
2576 2576 }
2577 2577
2578 2578 /* -----------------------------------------------------------
2579 2579 register -> form
2580 2580 ----------------------------------------------------------- */
2581 2581
2582 2582 #register div.form
2583 2583 {
2584 2584 margin: 0;
2585 2585 padding: 0;
2586 2586 clear: both;
2587 2587 overflow: hidden;
2588 2588 }
2589 2589
2590 2590 #register div.form div.fields
2591 2591 {
2592 2592 margin: 0;
2593 2593 padding: 0;
2594 2594 clear: both;
2595 2595 overflow: hidden;
2596 2596 }
2597 2597
2598 2598 #register div.form div.fields div.field
2599 2599 {
2600 2600 margin: 0;
2601 2601 padding: 0 0 10px 0;
2602 2602 clear: both;
2603 2603 overflow: hidden;
2604 2604 }
2605 2605
2606 2606 #register div.form div.fields div.field span.error-message
2607 2607 {
2608 2608 margin: 8px 0 0 0;
2609 2609 padding: 0;
2610 2610 height: 1%;
2611 2611 display: block;
2612 2612 color: #FF0000;
2613 2613 }
2614 2614
2615 2615 #register div.form div.fields div.field div.label
2616 2616 {
2617 2617 margin: 2px 10px 0 0;
2618 2618 padding: 5px 0 0 5px;
2619 2619 width: 100px;
2620 2620 float: left;
2621 2621 text-align: right;
2622 2622 }
2623 2623
2624 2624 #register div.form div.fields div.field div.label label
2625 2625 {
2626 2626 color: #000000;
2627 2627 font-weight: bold;
2628 2628 }
2629 2629
2630 2630 #register div.form div.fields div.field div.label span
2631 2631 {
2632 2632 margin: 0;
2633 2633 padding: 2px 0 0 0;
2634 2634 height: 1%;
2635 2635 display: block;
2636 2636 color: #363636;
2637 2637 }
2638 2638
2639 2639 #register div.form div.fields div.field div.input
2640 2640 {
2641 2641 margin: 0;
2642 2642 padding: 0;
2643 2643 float: left;
2644 2644 }
2645 2645
2646 2646 #register div.form div.fields div.field div.input input
2647 2647 {
2648 2648 margin: 0;
2649 2649 padding: 7px 7px 6px 7px;
2650 2650 width: 245px;
2651 2651 background: #FFFFFF;
2652 2652 border-top: 1px solid #b3b3b3;
2653 2653 border-left: 1px solid #b3b3b3;
2654 2654 border-right: 1px solid #eaeaea;
2655 2655 border-bottom: 1px solid #eaeaea;
2656 2656 color: #000000;
2657 2657 font-family: Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
2658 2658 font-size: 11px;
2659 2659 }
2660 2660
2661 2661 #register div.form div.fields div.field div.input input.error
2662 2662 {
2663 2663 background: #FBE3E4;
2664 2664 border-top: 1px solid #e1b2b3;
2665 2665 border-left: 1px solid #e1b2b3;
2666 2666 border-right: 1px solid #FBC2C4;
2667 2667 border-bottom: 1px solid #FBC2C4;
2668 2668 }
2669 2669
2670 2670 #register div.form div.fields div.field div.input input.success
2671 2671 {
2672 2672 background: #E6EFC2;
2673 2673 border-top: 1px solid #cebb98;
2674 2674 border-left: 1px solid #cebb98;
2675 2675 border-right: 1px solid #c6d880;
2676 2676 border-bottom: 1px solid #c6d880;
2677 2677 }
2678 2678
2679 2679 #register div.form div.fields div.field div.input div.link
2680 2680 {
2681 2681 margin: 6px 0 0 0;
2682 2682 padding: 0;
2683 2683 text-align: right;
2684 2684 }
2685 2685
2686 2686 #register div.form div.fields div.field div.checkbox
2687 2687 {
2688 2688 margin: 0 0 0 184px;
2689 2689 padding: 0;
2690 2690 }
2691 2691
2692 2692 #register div.form div.fields div.field div.checkbox label
2693 2693 {
2694 2694 color: #565656;
2695 2695 font-weight: bold;
2696 2696 }
2697 2697
2698 2698 #register div.form div.fields div.buttons
2699 2699 {
2700 2700 margin: 0;
2701 2701 padding: 10px 0 0 97px;
2702 2702 clear: both;
2703 2703 overflow: hidden;
2704 2704 border-top: 1px solid #DDDDDD;
2705 2705 text-align: left;
2706 2706 }
2707 2707
2708 2708 #register div.form div.fields div.buttons input
2709 2709 {
2710 2710 margin: 0;
2711 2711 color: #000000;
2712 2712 font-size: 1.0em;
2713 2713 font-weight: bold;
2714 2714 font-family: Verdana, Helvetica, Sans-Serif;
2715 2715 }
2716 2716
2717 2717 #register div.form div.fields div.buttons input.ui-state-default
2718 2718 {
2719 2719 margin: 0;
2720 2720 padding: 6px 12px 6px 12px;
2721 2721 background: #e5e3e3 url("../images/button.png") repeat-x;
2722 2722 border-top: 1px solid #DDDDDD;
2723 2723 border-left: 1px solid #c6c6c6;
2724 2724 border-right: 1px solid #DDDDDD;
2725 2725 border-bottom: 1px solid #c6c6c6;
2726 2726 color: #515151;
2727 2727 }
2728 2728 #register div.form div.fields div.buttons div.highlight input.ui-state-default
2729 2729 {
2730 2730 background:url("../images/colors/blue/button_highlight.png") repeat-x scroll 0 0 #4E85BB;
2731 2731 border-color:#5C91A4 #2B7089 #1A6480 #2A6F89;
2732 2732 border-style:solid;
2733 2733 border-width:1px;
2734 2734 color:#FFFFFF;
2735 2735 }
2736 2736
2737 2737
2738 2738
2739 2739 #register div.form div.fields div.buttons input.ui-state-hover
2740 2740 {
2741 2741 margin: 0;
2742 2742 padding: 6px 12px 6px 12px;
2743 2743 background: #b4b4b4 url("../images/button_selected.png") repeat-x;
2744 2744 border-top: 1px solid #cccccc;
2745 2745 border-left: 1px solid #bebebe;
2746 2746 border-right: 1px solid #b1b1b1;
2747 2747 border-bottom: 1px solid #afafaf;
2748 2748 color: #515151;
2749 2749 }
2750 2750
2751 2751
2752 2752 /* -----------------------------------------------------------
2753 2753 CHANGESETS
2754 2754 ----------------------------------------------------------- */
2755 2755 #changeset_content {
2756 2756 border:1px solid #CCCCCC;
2757 2757 padding:5px;
2758 2758 }
2759 2759
2760 2760 #changeset_content .container .wrapper {
2761 2761 width: 600px;
2762 2762 }
2763 2763
2764 2764 #changeset_content .container {
2765 2765 height: 120px;
2766 2766 }
2767 2767
2768 2768 #changeset_content .container .left {
2769 2769 float: left;
2770 2770 width: 70%;
2771 2771 padding-left: 5px;
2772 2772 }
2773 2773
2774 2774 #changeset_content .container .right {
2775 2775 float: right;
2776 2776 width: 25%;
2777 2777 text-align: right;
2778 2778 }
2779 2779
2780 2780 #changeset_content .container .left .date {
2781 2781 font-weight: bold;
2782 2782 }
2783 2783
2784 2784 #changeset_content .container .left .author {
2785 2785
2786 2786 }
2787 2787
2788 2788 #changeset_content .container .left .message {
2789 2789 font-style: italic;
2790 2790 color: #556CB5;
2791 2791 }
2792 2792
2793 2793 .cs_files {
2794 2794
2795 2795 }
2796 2796
2797 2797 .cs_files .cs_added {
2798 2798 background: url("/images/icons/page_white_add.png") no-repeat scroll 3px;
2799 2799 /*background-color:#BBFFBB;*/
2800 2800 height: 16px;
2801 2801 padding-left: 20px;
2802 2802 margin-top: 7px;
2803 2803 text-align: left;
2804 2804 }
2805 2805
2806 2806 .cs_files .cs_changed {
2807 2807 background: url("/images/icons/page_white_edit.png") no-repeat scroll
2808 2808 3px;
2809 2809 /*background-color: #FFDD88;*/
2810 2810 height: 16px;
2811 2811 padding-left: 20px;
2812 2812 margin-top: 7px;
2813 2813 text-align: left;
2814 2814 }
2815 2815
2816 2816 .cs_files .cs_removed {
2817 2817 background: url("/images/icons/page_white_delete.png") no-repeat scroll
2818 2818 3px;
2819 2819 /*background-color: #FF8888;*/
2820 2820 height: 16px;
2821 2821 padding-left: 20px;
2822 2822 margin-top: 7px;
2823 2823 text-align: left;
2824 2824 }
2825 2825
2826 2826
2827 2827
2828 2828 /* -----------------------------------------------------------
2829 2829 CHANGESETS - CANVAS
2830 2830 ----------------------------------------------------------- */
2831 2831
2832 2832 #graph {
2833 2833 overflow: hidden;
2834 2834 }
2835 2835
2836 2836 #graph_nodes {
2837 2837 width: 160px;
2838 2838 float: left;
2839 2839 margin-left:-50px;
2840 2840 margin-top: 5px;
2841 2841 }
2842 2842
2843 2843 #graph_content {
2844 2844 width: 800px;
2845 2845 float: left;
2846 2846 }
2847 2847
2848 2848 #graph_content .container_header {
2849 2849 border: 1px solid #CCCCCC;
2850 2850 padding:10px;
2851 2851 }
2852 2852
2853 2853 #graph_content .container .wrapper {
2854 2854 width: 600px;
2855 2855 }
2856 2856
2857 2857 #graph_content .container {
2858 2858 border-bottom: 1px solid #CCCCCC;
2859 2859 border-left: 1px solid #CCCCCC;
2860 2860 border-right: 1px solid #CCCCCC;
2861 2861 min-height: 80px;
2862 2862 overflow: hidden;
2863 2863 }
2864 2864
2865 2865 #graph_content .container .left {
2866 2866 float: left;
2867 2867 width: 70%;
2868 2868 padding-left: 5px;
2869 2869 }
2870 2870
2871 2871 #graph_content .container .right {
2872 2872 float: right;
2873 2873 width: 25%;
2874 2874 text-align: right;
2875 2875 }
2876 2876
2877 2877 #graph_content .container .left .date {
2878 2878 font-weight: bold;
2879 2879 }
2880 2880
2881 2881 #graph_content .container .left .author {
2882 2882
2883 2883 }
2884 2884
2885 2885 #graph_content .container .left .message {
2886 2886 font-size: 80%;
2887 2887 }
2888 2888
2889 2889 .right div {
2890 2890 clear: both;
2891 2891 }
2892 2892
2893 2893 .right .changes .added,.changed,.removed {
2894 2894 border: 1px solid #DDDDDD;
2895 2895 display: block;
2896 2896 float: right;
2897 2897 font-size: 0.75em;
2898 2898 text-align: center;
2899 2899 min-width: 15px;
2900 2900 }
2901 2901
2902 2902 .right .changes .added {
2903 2903 background: #BBFFBB;
2904 2904 }
2905 2905
2906 2906 .right .changes .changed {
2907 2907 background: #FFDD88;
2908 2908 }
2909 2909
2910 2910 .right .changes .removed {
2911 2911 background: #FF8888;
2912 2912 }
2913 2913
2914 2914 .right .merge {
2915 2915 vertical-align: top;
2916 2916 font-size: 60%;
2917 2917 font-weight: bold;
2918 2918 }
2919 2919
2920 2920 .right .merge img {
2921 2921 vertical-align: bottom;
2922 2922 }
2923 2923
2924 2924 .right .parent {
2925 2925 font-size: 90%;
2926 2926 font-family: monospace;
2927 2927 }
2928 2928
2929 2929
2930 2930
2931 2931 /* -----------------------------------------------------------
2932 2932 FILE BROWSER
2933 2933 ----------------------------------------------------------- */
2934 2934 div.browserblock {
2935 2935 overflow: hidden;
2936 2936 padding: 0px;
2937 2937 border: 1px solid #ccc;
2938 2938 background: #f8f8f8;
2939 2939 font-size: 100%;
2940 2940 line-height: 100%;
2941 2941 /* new */
2942 2942 line-height: 125%;
2943 2943 }
2944 2944
2945 2945 div.browserblock .browser-header {
2946 2946 border-bottom: 1px solid #CCCCCC;
2947 2947 background: #FFFFFF;
2948 2948 color: blue;
2949 2949 padding: 10px 0 10px 0;
2950 2950 }
2951 2951
2952 2952 div.browserblock .browser-header span {
2953 2953 margin-left: 25px;
2954 2954 font-weight: bold;
2955 2955 }
2956 2956
2957 2957 div.browserblock .browser-body {
2958 2958 background: #EEEEEE;
2959 2959 }
2960 2960
2961 2961 table.code-browser {
2962 2962 border-collapse: collapse;
2963 2963 width: 100%;
2964 2964 }
2965 2965
2966 2966 table.code-browser tr {
2967 2967 margin: 3px;
2968 2968 }
2969 2969
2970 2970 table.code-browser thead th {
2971 2971 background-color: #EEEEEE;
2972 2972 height: 20px;
2973 2973 font-size: 1.1em;
2974 2974 font-weight: bold;
2975 2975 text-align: center;
2976 2976 text-align: left;
2977 2977 padding-left: 10px;
2978 2978 }
2979 2979
2980 2980 table.code-browser tbody tr {
2981 2981
2982 2982 }
2983 2983
2984 2984 table.code-browser tbody td {
2985 2985 padding-left: 10px;
2986 2986 height: 20px;
2987 2987 }
2988 2988 table.code-browser .browser-file {
2989 2989 background: url("/images/icons/document_16.png") no-repeat scroll 3px;
2990 2990 height: 16px;
2991 2991 padding-left: 20px;
2992 2992 text-align: left;
2993 2993 }
2994 2994
2995 2995 table.code-browser .browser-dir {
2996 2996 background: url("/images/icons/folder_16.png") no-repeat scroll 3px;
2997 2997 height: 16px;
2998 2998 padding-left: 20px;
2999 2999 text-align: left;
3000 3000 }
3001 3001
3002 3002
3003 3003 /* -----------------------------------------------------------
3004 3004 INFOBOX
3005 3005 ----------------------------------------------------------- */
3006 3006 .info_box *{
3007 3007 background:url("../../images/pager.png") repeat-x scroll 0 0 #EBEBEB;
3008 3008 border-color:#DEDEDE #C4C4C4 #C4C4C4 #CFCFCF;
3009 3009 border-style:solid;
3010 3010 border-width:1px;
3011 3011 color:#4A4A4A;
3012 3012 display:block;
3013 3013 font-weight:bold;
3014 3014 height:1%;
3015 3015 padding:4px 6px;
3016 3016 display: inline;
3017 3017 }
3018 3018 .info_box span{
3019 3019 margin-left:3px;
3020 3020 margin-righ:3px;
3021 3021 }
3022 3022 .info_box input {
3023 3023 padding:3px 6px;
3024 3024 }
3025 3025
3026 3026 /* -----------------------------------------------------------
3027 3027 TOOLTIP
3028 3028 ----------------------------------------------------------- */
3029 3029 .yui-overlay,.yui-panel-container {
3030 3030 visibility: hidden;
3031 3031 position: absolute;
3032 3032 z-index: 2;
3033 3033 }
3034 3034
3035 3035 .yui-tt {
3036 3036 visibility: hidden;
3037 3037 position: absolute;
3038 3038 color: #666666;
3039 3039 background-color: #FFFFFF;
3040 3040 font-family: arial, helvetica, verdana, sans-serif;
3041 3041 padding: 8px;
3042 3042 border: 2px solid #556CB5;
3043 3043 font: 100% sans-serif;
3044 3044 width: auto;
3045 3045 opacity: 1.0;
3046 3046 }
3047 3047
3048 3048 .yui-tt-shadow {
3049 3049 display: none;
3050 3050 }
3051 3051
3052 3052 /* -----------------------------------------------------------
3053 3053 AUTOCOMPLETE
3054 3054 ----------------------------------------------------------- */
3055 3055
3056 3056 .ac{
3057 3057 vertical-align: top;
3058 3058
3059 3059 }
3060 3060 .ac .match {
3061 3061 font-weight:bold;
3062 3062 }
3063 3063
3064 3064 .ac .yui-ac {
3065 3065 position: relative;
3066 3066 font-family: arial;
3067 3067 font-size: 100%;
3068 3068 }
3069 3069
3070 3070 .ac .perm_ac{
3071 3071 width:15em;
3072 3072 }
3073 3073 /* styles for input field */
3074 3074 .ac .yui-ac-input {
3075 3075 width: 100%;
3076 3076 }
3077 3077
3078 3078 /* styles for results container */
3079 3079 .ac .yui-ac-container {
3080 3080 position: absolute;
3081 3081 top: 1.6em;
3082 3082 width: 100%;
3083 3083 }
3084 3084
3085 3085 /* styles for header/body/footer wrapper within container */
3086 3086 .ac .yui-ac-content {
3087 3087 position: absolute;
3088 3088 width: 100%;
3089 3089 border: 1px solid #808080;
3090 3090 background: #fff;
3091 3091 overflow: hidden;
3092 3092 z-index: 9050;
3093 3093 }
3094 3094
3095 3095 /* styles for container shadow */
3096 3096 .ac .yui-ac-shadow {
3097 3097 position: absolute;
3098 3098 margin: .3em;
3099 3099 width: 100%;
3100 3100 background: #000;
3101 3101 -moz-opacity: 0.10;
3102 3102 opacity: .10;
3103 3103 filter: alpha(opacity = 10);
3104 3104 z-index: 9049;
3105 3105 }
3106 3106
3107 3107 /* styles for results list */
3108 3108 .ac .yui-ac-content ul {
3109 3109 margin: 0;
3110 3110 padding: 0;
3111 3111 width: 100%;
3112 3112 }
3113 3113
3114 3114 /* styles for result item */
3115 3115 .ac .yui-ac-content li {
3116 3116 margin: 0;
3117 3117 padding: 2px 5px;
3118 3118 cursor: default;
3119 3119 white-space: nowrap;
3120 3120 }
3121 3121
3122 3122 /* styles for prehighlighted result item */
3123 3123 .ac .yui-ac-content li.yui-ac-prehighlight {
3124 3124 background: #B3D4FF;
3125 3125 }
3126 3126
3127 3127 /* styles for highlighted result item */
3128 3128 .ac .yui-ac-content li.yui-ac-highlight {
3129 3129 background: #556CB5;
3130 3130 color: #FFF;
3131 3131 }
3132 3132
3133 3133
3134 3134 /* -----------------------------------------------------------
3135 3135 ACTION ICONS
3136 3136 ----------------------------------------------------------- */
3137 3137 .add_icon {
3138 3138 background: url("/images/icons/add.png") no-repeat scroll 3px ;
3139 3139 height: 16px;
3140 3140 padding-left: 20px;
3141 3141 padding-top: 1px;
3142 3142 text-align: left;
3143 3143 }
3144 3144
3145 3145 .edit_icon {
3146 3146 background: url("/images/icons/folder_edit.png") no-repeat scroll 3px;
3147 3147 height: 16px;
3148 3148 padding-left: 20px;
3149 3149 padding-top: 1px;
3150 3150 text-align: left;
3151 3151 }
3152 3152
3153 3153 .delete_icon {
3154 3154 background: url("/images/icons/delete.png") no-repeat scroll 3px;
3155 3155 height: 16px;
3156 3156 padding-left: 20px;
3157 3157 padding-top: 1px;
3158 3158 text-align: left;
3159 3159 }
3160 3160
3161 3161 .rss_icon {
3162 3162 background: url("/images/icons/rss_16.png") no-repeat scroll 3px;
3163 3163 height: 16px;
3164 3164 padding-left: 20px;
3165 3165 padding-top: 1px;
3166 3166 text-align: left;
3167 3167 }
3168 3168
3169 3169 .atom_icon {
3170 3170 background: url("/images/icons/atom.png") no-repeat scroll 3px;
3171 3171 height: 16px;
3172 3172 padding-left: 20px;
3173 3173 padding-top: 1px;
3174 3174 text-align: left;
3175 3175 }
3176 3176
3177 3177 .archive_icon {
3178 3178 background: url("/images/icons/compress.png") no-repeat scroll 3px;
3179 3179 height: 16px;
3180 3180 padding-left: 20px;
3181 3181 text-align: left;
3182 3182 padding-top: 1px;
3183 3183 }
3184 3184
3185 3185
3186 3186
3187 3187
3188 3188 .action_button {
3189 3189 border: 0px;
3190 3190 display: block;
3191 3191 }
3192 3192
3193 3193 .action_button:hover {
3194 3194 border: 0px;
3195 3195 font-style: italic;
3196 3196 cursor: pointer;
3197 3197 }
3198 3198
3199 3199 /* -----------------------------------------------------------
3200 REPO SWITCHER
3201 ----------------------------------------------------------- */
3202
3203 #switch_repos{
3204 position: absolute;
3205 height: 25px;
3206 z-index: 1;
3207 }
3208 /* -----------------------------------------------------------
3200 3209 BREADCRUMBS
3201 3210 ----------------------------------------------------------- */
3202 3211
3203 3212 .breadcrumbs{
3204 3213 border:medium none;
3205 3214 color:#FFFFFF;
3206 3215 float:left;
3207 3216 margin:0;
3208 3217 padding:11px 0 11px 10px;
3209 3218 text-transform:uppercase;
3210 3219 font-weight: bold;
3211 3220 font-size: 14px;
3212 3221 }
3213 3222 .breadcrumbs a{
3214 3223 color: #FFFFFF;
3215 3224 }
3216 3225
3217 3226
3218 3227 /* -----------------------------------------------------------
3219 3228 FLASH MSG
3220 3229 ----------------------------------------------------------- */
3221 3230 .flash_msg ul {
3222 3231 margin: 0;
3223 3232 padding: 0px 0px 10px 0px;
3224 3233 }
3225 3234
3226 3235 .error_msg {
3227 3236 background-color: #FFCFCF;
3228 3237 background-image: url("/images/icons/error_msg.png");
3229 3238 border: 1px solid #FF9595;
3230 3239 color: #CC3300;
3231 3240 }
3232 3241
3233 3242 .warning_msg {
3234 3243 background-color: #FFFBCC;
3235 3244 background-image: url("/images/icons/warning_msg.png");
3236 3245 border: 1px solid #FFF35E;
3237 3246 color: #C69E00;
3238 3247 }
3239 3248
3240 3249 .success_msg {
3241 3250 background-color: #D5FFCF;
3242 3251 background-image: url("/images/icons/success_msg.png");
3243 3252 border: 1px solid #97FF88;
3244 3253 color: #009900;
3245 3254 }
3246 3255
3247 3256 .notice_msg {
3248 3257 background-color: #DCE3FF;
3249 3258 background-image: url("/images/icons/notice_msg.png");
3250 3259 border: 1px solid #93A8FF;
3251 3260 color: #556CB5;
3252 3261 }
3253 3262
3254 3263 .success_msg,.error_msg,.notice_msg,.warning_msg {
3255 3264 background-position: 10px center;
3256 3265 background-repeat: no-repeat;
3257 3266 font-size: 12px;
3258 3267 font-weight: bold;
3259 3268 min-height: 14px;
3260 3269 line-height: 14px;
3261 3270 margin-bottom: 0px;
3262 3271 margin-top: 0px;
3263 3272 padding: 6px 10px 6px 40px;
3264 3273 display: block;
3265 3274 overflow: auto;
3266 3275 }
3267 3276
3268 3277 #msg_close {
3269 3278 background: transparent url("icons/cross_grey_small.png") no-repeat
3270 3279 scroll 0 0;
3271 3280 cursor: pointer;
3272 3281 height: 16px;
3273 3282 position: absolute;
3274 3283 right: 5px;
3275 3284 top: 5px;
3276 3285 width: 16px;
3277 3286 }
3278 3287 /* -----------------------------------------------------------
3279 3288 YUI FLOT
3280 3289 ----------------------------------------------------------- */
3281 3290
3282 3291 div#commit_history{
3283 3292 float: left;
3284 3293 }
3285 3294 div#legend_data{
3286 3295 float:left;
3287 3296
3288 3297 }
3289 3298 div#legend_container {
3290 3299 float: left;
3291 3300 }
3292 3301
3293 3302 div#legend_container table,div#legend_choices table{
3294 3303 width:auto !important;
3295 3304 }
3296 3305
3297 3306 div#legend_container table td{
3298 3307 border: none !important;
3299 3308 padding: 2px !important;
3300 3309 }
3301 3310
3302 3311 div#legend_choices table td{
3303 3312 border: none !important;
3304 3313 padding: 0px !important;
3305 3314 }
3306 3315
3307 3316 div#legend_choices{
3308 3317 float:left;
3309 3318 }
3310 3319
3311 3320 /* -----------------------------------------------------------
3312 3321 PERMISSIONS TABLE
3313 3322 ----------------------------------------------------------- */
3314 3323 table#permissions_manage{
3315 3324 width: 0 !important;
3316 3325
3317 3326 }
3318 3327 table#permissions_manage span.private_repo_msg{
3319 3328 font-size: 0.8em;
3320 3329 opacity:0.6;
3321 3330
3322 3331 }
3323 3332 table#permissions_manage td.private_repo_msg{
3324 3333 font-size: 0.8em;
3325 3334
3326 3335 }
3327 3336 table#permissions_manage tr#add_perm_input td{
3328 3337 vertical-align:middle;
3329 3338
3330 3339 }
3331 3340
3332 3341
3333 3342 /* -----------------------------------------------------------
3334 3343 jquery ui
3335 3344 ----------------------------------------------------------- */
3336 3345
3337 3346 .ui-helper-hidden { display: none; }
3338 3347 .ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
3339 3348 .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
3340 3349
3341 3350 /* -----------------------------------------------------------
3342 3351 jquery ui -> icons
3343 3352 ----------------------------------------------------------- */
3344 3353
3345 3354 .ui-icon { width: 16px; height: 16px; background-image: url(../images/ui/ui-icons_222222_256x240.png); }
3346 3355 .ui-widget-content .ui-icon {background-image: url(../images/ui/ui-icons_222222_256x240.png); }
3347 3356 .ui-widget-header .ui-icon {background-image: url(../images/ui/ui-icons_222222_256x240.png); }
3348 3357 .ui-state-default .ui-icon { background-image: url(../images/ui/ui-icons_ef8c08_256x240.png); }
3349 3358 .ui-state-hover .ui-icon, .ui-state-focus .ui-icon { background-image: url(../images/ui/ui-icons_ef8c08_256x240.png); }
3350 3359 .ui-state-active .ui-icon {background-image: url(../images/ui/ui-icons_ef8c08_256x240.png); }
3351 3360 .ui-state-highlight .ui-icon {background-image: url(../images/ui/ui-icons_228ef1_256x240.png); }
3352 3361 .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(../images/ui/ui-icons_ffd27a_256x240.png); }
3353 3362
3354 3363 /* -----------------------------------------------------------
3355 3364 jquery ui -> icon positioning
3356 3365 ----------------------------------------------------------- */
3357 3366 .ui-icon-carat-1-n { background-position: 0 0; }
3358 3367 .ui-icon-carat-1-ne { background-position: -16px 0; }
3359 3368 .ui-icon-carat-1-e { background-position: -32px 0; }
3360 3369 .ui-icon-carat-1-se { background-position: -48px 0; }
3361 3370 .ui-icon-carat-1-s { background-position: -64px 0; }
3362 3371 .ui-icon-carat-1-sw { background-position: -80px 0; }
3363 3372 .ui-icon-carat-1-w { background-position: -96px 0; }
3364 3373 .ui-icon-carat-1-nw { background-position: -112px 0; }
3365 3374 .ui-icon-carat-2-n-s { background-position: -128px 0; }
3366 3375 .ui-icon-carat-2-e-w { background-position: -144px 0; }
3367 3376 .ui-icon-triangle-1-n { background-position: 0 -16px; }
3368 3377 .ui-icon-triangle-1-ne { background-position: -16px -16px; }
3369 3378 .ui-icon-triangle-1-e { background-position: -32px -16px; }
3370 3379 .ui-icon-triangle-1-se { background-position: -48px -16px; }
3371 3380 .ui-icon-triangle-1-s { background-position: -64px -16px; }
3372 3381 .ui-icon-triangle-1-sw { background-position: -80px -16px; }
3373 3382 .ui-icon-triangle-1-w { background-position: -96px -16px; }
3374 3383 .ui-icon-triangle-1-nw { background-position: -112px -16px; }
3375 3384 .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
3376 3385 .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
3377 3386 .ui-icon-arrow-1-n { background-position: 0 -32px; }
3378 3387 .ui-icon-arrow-1-ne { background-position: -16px -32px; }
3379 3388 .ui-icon-arrow-1-e { background-position: -32px -32px; }
3380 3389 .ui-icon-arrow-1-se { background-position: -48px -32px; }
3381 3390 .ui-icon-arrow-1-s { background-position: -64px -32px; }
3382 3391 .ui-icon-arrow-1-sw { background-position: -80px -32px; }
3383 3392 .ui-icon-arrow-1-w { background-position: -96px -32px; }
3384 3393 .ui-icon-arrow-1-nw { background-position: -112px -32px; }
3385 3394 .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
3386 3395 .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
3387 3396 .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
3388 3397 .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
3389 3398 .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
3390 3399 .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
3391 3400 .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
3392 3401 .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
3393 3402 .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
3394 3403 .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
3395 3404 .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
3396 3405 .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
3397 3406 .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
3398 3407 .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
3399 3408 .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
3400 3409 .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
3401 3410 .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
3402 3411 .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
3403 3412 .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
3404 3413 .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
3405 3414 .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
3406 3415 .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
3407 3416 .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
3408 3417 .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
3409 3418 .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
3410 3419 .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
3411 3420 .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
3412 3421 .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
3413 3422 .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
3414 3423 .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
3415 3424 .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
3416 3425 .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
3417 3426 .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
3418 3427 .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
3419 3428 .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
3420 3429 .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
3421 3430 .ui-icon-arrow-4 { background-position: 0 -80px; }
3422 3431 .ui-icon-arrow-4-diag { background-position: -16px -80px; }
3423 3432 .ui-icon-extlink { background-position: -32px -80px; }
3424 3433 .ui-icon-newwin { background-position: -48px -80px; }
3425 3434 .ui-icon-refresh { background-position: -64px -80px; }
3426 3435 .ui-icon-shuffle { background-position: -80px -80px; }
3427 3436 .ui-icon-transfer-e-w { background-position: -96px -80px; }
3428 3437 .ui-icon-transferthick-e-w { background-position: -112px -80px; }
3429 3438 .ui-icon-folder-collapsed { background-position: 0 -96px; }
3430 3439 .ui-icon-folder-open { background-position: -16px -96px; }
3431 3440 .ui-icon-document { background-position: -32px -96px; }
3432 3441 .ui-icon-document-b { background-position: -48px -96px; }
3433 3442 .ui-icon-note { background-position: -64px -96px; }
3434 3443 .ui-icon-mail-closed { background-position: -80px -96px; }
3435 3444 .ui-icon-mail-open { background-position: -96px -96px; }
3436 3445 .ui-icon-suitcase { background-position: -112px -96px; }
3437 3446 .ui-icon-comment { background-position: -128px -96px; }
3438 3447 .ui-icon-person { background-position: -144px -96px; }
3439 3448 .ui-icon-print { background-position: -160px -96px; }
3440 3449 .ui-icon-trash { background-position: -176px -96px; }
3441 3450 .ui-icon-locked { background-position: -192px -96px; }
3442 3451 .ui-icon-unlocked { background-position: -208px -96px; }
3443 3452 .ui-icon-bookmark { background-position: -224px -96px; }
3444 3453 .ui-icon-tag { background-position: -240px -96px; }
3445 3454 .ui-icon-home { background-position: 0 -112px; }
3446 3455 .ui-icon-flag { background-position: -16px -112px; }
3447 3456 .ui-icon-calendar { background-position: -32px -112px; }
3448 3457 .ui-icon-cart { background-position: -48px -112px; }
3449 3458 .ui-icon-pencil { background-position: -64px -112px; }
3450 3459 .ui-icon-clock { background-position: -80px -112px; }
3451 3460 .ui-icon-disk { background-position: -96px -112px; }
3452 3461 .ui-icon-calculator { background-position: -112px -112px; }
3453 3462 .ui-icon-zoomin { background-position: -128px -112px; }
3454 3463 .ui-icon-zoomout { background-position: -144px -112px; }
3455 3464 .ui-icon-search { background-position: -160px -112px; }
3456 3465 .ui-icon-wrench { background-position: -176px -112px; }
3457 3466 .ui-icon-gear { background-position: -192px -112px; }
3458 3467 .ui-icon-heart { background-position: -208px -112px; }
3459 3468 .ui-icon-star { background-position: -224px -112px; }
3460 3469 .ui-icon-link { background-position: -240px -112px; }
3461 3470 .ui-icon-cancel { background-position: 0 -128px; }
3462 3471 .ui-icon-plus { background-position: -16px -128px; }
3463 3472 .ui-icon-plusthick { background-position: -32px -128px; }
3464 3473 .ui-icon-minus { background-position: -48px -128px; }
3465 3474 .ui-icon-minusthick { background-position: -64px -128px; }
3466 3475 .ui-icon-close { background-position: -80px -128px; }
3467 3476 .ui-icon-closethick { background-position: -96px -128px; }
3468 3477 .ui-icon-key { background-position: -112px -128px; }
3469 3478 .ui-icon-lightbulb { background-position: -128px -128px; }
3470 3479 .ui-icon-scissors { background-position: -144px -128px; }
3471 3480 .ui-icon-clipboard { background-position: -160px -128px; }
3472 3481 .ui-icon-copy { background-position: -176px -128px; }
3473 3482 .ui-icon-contact { background-position: -192px -128px; }
3474 3483 .ui-icon-image { background-position: -208px -128px; }
3475 3484 .ui-icon-video { background-position: -224px -128px; }
3476 3485 .ui-icon-script { background-position: -240px -128px; }
3477 3486 .ui-icon-alert { background-position: 0 -144px; }
3478 3487 .ui-icon-info { background-position: -16px -144px; }
3479 3488 .ui-icon-notice { background-position: -32px -144px; }
3480 3489 .ui-icon-help { background-position: -48px -144px; }
3481 3490 .ui-icon-check { background-position: -64px -144px; }
3482 3491 .ui-icon-bullet { background-position: -80px -144px; }
3483 3492 .ui-icon-radio-off { background-position: -96px -144px; }
3484 3493 .ui-icon-radio-on { background-position: -112px -144px; }
3485 3494 .ui-icon-pin-w { background-position: -128px -144px; }
3486 3495 .ui-icon-pin-s { background-position: -144px -144px; }
3487 3496 .ui-icon-play { background-position: 0 -160px; }
3488 3497 .ui-icon-pause { background-position: -16px -160px; }
3489 3498 .ui-icon-seek-next { background-position: -32px -160px; }
3490 3499 .ui-icon-seek-prev { background-position: -48px -160px; }
3491 3500 .ui-icon-seek-end { background-position: -64px -160px; }
3492 3501 .ui-icon-seek-start { background-position: -80px -160px; }
3493 3502 /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
3494 3503 .ui-icon-seek-first { background-position: -80px -160px; }
3495 3504 .ui-icon-stop { background-position: -96px -160px; }
3496 3505 .ui-icon-eject { background-position: -112px -160px; }
3497 3506 .ui-icon-volume-off { background-position: -128px -160px; }
3498 3507 .ui-icon-volume-on { background-position: -144px -160px; }
3499 3508 .ui-icon-power { background-position: 0 -176px; }
3500 3509 .ui-icon-signal-diag { background-position: -16px -176px; }
3501 3510 .ui-icon-signal { background-position: -32px -176px; }
3502 3511 .ui-icon-battery-0 { background-position: -48px -176px; }
3503 3512 .ui-icon-battery-1 { background-position: -64px -176px; }
3504 3513 .ui-icon-battery-2 { background-position: -80px -176px; }
3505 3514 .ui-icon-battery-3 { background-position: -96px -176px; }
3506 3515 .ui-icon-circle-plus { background-position: 0 -192px; }
3507 3516 .ui-icon-circle-minus { background-position: -16px -192px; }
3508 3517 .ui-icon-circle-close { background-position: -32px -192px; }
3509 3518 .ui-icon-circle-triangle-e { background-position: -48px -192px; }
3510 3519 .ui-icon-circle-triangle-s { background-position: -64px -192px; }
3511 3520 .ui-icon-circle-triangle-w { background-position: -80px -192px; }
3512 3521 .ui-icon-circle-triangle-n { background-position: -96px -192px; }
3513 3522 .ui-icon-circle-arrow-e { background-position: -112px -192px; }
3514 3523 .ui-icon-circle-arrow-s { background-position: -128px -192px; }
3515 3524 .ui-icon-circle-arrow-w { background-position: -144px -192px; }
3516 3525 .ui-icon-circle-arrow-n { background-position: -160px -192px; }
3517 3526 .ui-icon-circle-zoomin { background-position: -176px -192px; }
3518 3527 .ui-icon-circle-zoomout { background-position: -192px -192px; }
3519 3528 .ui-icon-circle-check { background-position: -208px -192px; }
3520 3529 .ui-icon-circlesmall-plus { background-position: 0 -208px; }
3521 3530 .ui-icon-circlesmall-minus { background-position: -16px -208px; }
3522 3531 .ui-icon-circlesmall-close { background-position: -32px -208px; }
3523 3532 .ui-icon-squaresmall-plus { background-position: -48px -208px; }
3524 3533 .ui-icon-squaresmall-minus { background-position: -64px -208px; }
3525 3534 .ui-icon-squaresmall-close { background-position: -80px -208px; }
3526 3535 .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
3527 3536 .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
3528 3537 .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
3529 3538 .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
3530 3539 .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
3531 3540 .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
3532 3541
3533 3542 /* -----------------------------------------------------------
3534 3543 jquery ui -> tabs
3535 3544 ----------------------------------------------------------- */
3536 3545 .ui-tabs .ui-tabs-hide { display: none; }
3537 3546
3538 3547 /* -----------------------------------------------------------
3539 3548 jquery ui -> datepicker
3540 3549 ----------------------------------------------------------- */
3541 3550 .ui-datepicker { width: 17em; padding: .2em .2em 0; background: #FFFFFF; border: 1px solid #000000; border-top: none; }
3542 3551 .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; background: #F6F6F6; }
3543 3552 .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 1px; width: 1.8em; height: 1.8em; }
3544 3553 .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
3545 3554 .ui-datepicker .ui-datepicker-prev { left: 0; }
3546 3555 .ui-datepicker .ui-datepicker-next { right: 0; }
3547 3556 .ui-datepicker .ui-datepicker-prev-hover { left: 0; }
3548 3557 .ui-datepicker .ui-datepicker-next-hover { right: 0; }
3549 3558 .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
3550 3559 .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
3551 3560 .ui-datepicker .ui-datepicker-title select { margin:1px 0; }
3552 3561 .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
3553 3562 .ui-datepicker select.ui-datepicker-month,
3554 3563 .ui-datepicker select.ui-datepicker-year { width: 49%;}
3555 3564 .ui-datepicker table {width: 100%; border-collapse: collapse; margin:0 0 .4em; }
3556 3565 .ui-datepicker th { padding: .7em .3em; text-align: center; border: 0; }
3557 3566 .ui-datepicker td { border: 0; padding: 1px; }
3558 3567 .ui-datepicker td span, .ui-datepicker td a { display: block; padding: 3px; text-align: center; text-decoration: none; }
3559 3568 .ui-datepicker td span, .ui-datepicker td a:hover { background: #376ea6; color: #ffffff; }
3560 3569 .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
3561 3570 .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
3562 3571 .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
3563 3572 .ui-datepicker td span, .ui-datepicker td.ui-datepicker-today a { background: #DDDDDD; color: #585858; }
3564 3573 .ui-datepicker td span, .ui-datepicker td.ui-datepicker-current-day a { background: #376ea6; color: #ffffff; }
3565 3574
3566 3575 /* -----------------------------------------------------------
3567 3576 jquery ui -> datepicker / multiple calenders
3568 3577 ----------------------------------------------------------- */
3569 3578 .ui-datepicker.ui-datepicker-multi { width:auto; }
3570 3579 .ui-datepicker-multi .ui-datepicker-group { float:left; }
3571 3580 .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
3572 3581 .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
3573 3582 .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
3574 3583 .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
3575 3584 .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
3576 3585 .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
3577 3586 .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
3578 3587 .ui-datepicker-row-break { clear:both; width:100%; }
3579 3588
3580 3589 /* -----------------------------------------------------------
3581 3590 jquery ui -> datepicker / rtl support
3582 3591 ----------------------------------------------------------- */
3583 3592 .ui-datepicker-rtl { direction: rtl; }
3584 3593 .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
3585 3594 .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
3586 3595 .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
3587 3596 .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
3588 3597 .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
3589 3598 .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
3590 3599 .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
3591 3600 .ui-datepicker-rtl .ui-datepicker-group { float:right; }
3592 3601 .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
3593 3602 .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
3594 3603
3595 3604 /* -----------------------------------------------------------
3596 3605 jquery ui -> select styling
3597 3606 ----------------------------------------------------------- */
3598 3607
3599 3608 .ui-selectmenu
3600 3609 {
3601 3610 display: block;
3602 3611 position: relative;
3603 3612 overflow: hidden;
3604 3613 background: #ffffff;
3605 3614 border-top: 1px solid #b3b3b3;
3606 3615 border-left: 1px solid #b3b3b3;
3607 3616 border-right: 1px solid #eaeaea;
3608 3617 border-bottom: 1px solid #eaeaea;
3609 3618 text-align: left;
3610 3619 text-decoration: none;
3611 3620 }
3612 3621
3613 3622 .ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; }
3614 3623 .ui-selectmenu-menu { padding:0; margin:0; list-style:none; position:absolute; top: 0; visibility: hidden; overflow: auto; }
3615 3624 .ui-selectmenu-open { background: #ffffff; border: 1px solid #666666; border-top: none; visibility: visible; }
3616 3625 .ui-selectmenu-menu-popup { margin-top: -1px; }
3617 3626 .ui-selectmenu-menu-dropdown { }
3618 3627 .ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; }
3619 3628 .ui-selectmenu-menu li a,.ui-selectmenu-status {line-height: 1.4em; display:block; padding: 5px 0 5px 8px; outline:none; text-decoration:none; color: #000000; }
3620 3629 .ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
3621 3630 .ui-selectmenu-hasIcon .ui-selectmenu-status { margin-left: 5px; padding-left: 20px; position: relative; }
3622 3631 .ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon { position: absolute; top: 1em; margin-top: -8px; left: 0; }
3623 3632 .ui-selectmenu-status { line-height: 1.4em; }
3624 3633 .ui-selectmenu-open li.ui-selectmenu-item-focus { background: #376ea6; }
3625 3634 .ui-selectmenu-open li.ui-selectmenu-item-focus a { color: #ffffff; }
3626 3635 .ui-selectmenu-open li.ui-selectmenu-item-selected { background: #dfdfdf; }
3627 3636 .ui-selectmenu-open li.ui-selectmenu-item-selected a { color: #000000; }
3628 3637 .ui-selectmenu-menu li span,.ui-selectmenu-status span { display:block; margin-bottom: .2em; }
3629 3638 .ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label { line-height: 1.4em; display:block; padding:.6em .5em 0; }
3630 3639 .ui-selectmenu-menu .ui-selectmenu-group ul { margin: 0; padding: 0; } No newline at end of file
@@ -1,242 +1,240 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
4 4 <head>
5 5 <title>${next.title()}</title>
6 6 <link rel="icon" href="/images/hgicon.png" type="image/png" />
7 7 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8 <meta name="robots" content="index, nofollow"/>
9 9 <!-- stylesheets -->
10 10 ${self.css()}
11 11 <!-- scripts -->
12 12 ${self.js()}
13 13 </head>
14 14 <body>
15 15 <!-- header -->
16 16 <div id="header">
17 17 <!-- user -->
18 18 <ul id="logged-user">
19 19 <li class="first">
20 20 ${h.link_to('%s %s (%s)'%(c.hg_app_user.name,c.hg_app_user.lastname,c.hg_app_user.username),h.url('admin_settings_my_account'))}
21 21 </li>
22 22 <li class="last highlight">${h.link_to(u'Logout',h.url('logout_home'))}</li>
23 23 </ul>
24 24 <!-- end user -->
25 25 <div id="header-inner">
26 26 <div id="home">
27 27 <a href="${h.url('hg_home')}"></a>
28 28 </div>
29 29 <!-- logo -->
30 30 <div id="logo">
31 31 <h1><a href="${h.url('hg_home')}">${c.hg_app_name}</a></h1>
32 32 </div>
33 33 <!-- end logo -->
34 34 <!-- quick menu -->
35 35 ${self.page_nav()}
36 36 <!-- end quick -->
37 37 <div class="corner tl"></div>
38 38 <div class="corner tr"></div>
39 39 </div>
40 40 </div>
41 41 <!-- end header -->
42 42
43 43 <!-- CONTENT -->
44 44 <div id="content">
45 45 <div class="flash_msg">
46 46 <% messages = h.flash.pop_messages() %>
47 47 % if messages:
48 48 <ul id="flash-messages">
49 49 % for message in messages:
50 50 <li class="${message.category}_msg">${message}</li>
51 51 % endfor
52 52 </ul>
53 53 % endif
54 54 </div>
55 55 <div id="main">
56 56 ${next.main()}
57 57 </div>
58 58 </div>
59 59 <!-- END CONTENT -->
60 60
61 61 <!-- footer -->
62 62 <div id="footer">
63 63 <p>Hg App ${c.hg_app_version} &copy; 2010 by Marcin Kuzminski</p>
64 64 <script type="text/javascript">${h.tooltip.activate()}</script>
65 65 </div>
66 66 <!-- end footer -->
67 67 </body>
68 68
69 69 </html>
70 70
71 71 ### MAKO DEFS ###
72 72 <%def name="page_nav()">
73 73 ${self.menu()}
74 74 </%def>
75 75
76 76 <%def name="menu(current=None)">
77 77 <%
78 78 def is_current(selected):
79 79 if selected == current:
80 80 return "class='current'"
81 81 %>
82 82 %if current not in ['home','admin']:
83 83 <script type="text/javascript">
84 84 YAHOO.util.Event.onDOMReady(function(){
85 85 YAHOO.util.Event.addListener('repo_switcher','click',function(){
86 86 if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
87 87 YAHOO.util.Dom.setStyle('switch_repos','display','none');
88 88 YAHOO.util.Dom.setStyle('repo_switcher','background','');
89 89 YAHOO.util.Dom.removeClass('repo_switcher','selected');
90 90 YAHOO.util.Dom.get('repo_switcher').removeAttribute('style');
91 91 }
92 92 else{
93 93 YAHOO.util.Dom.setStyle('switch_repos','display','');
94 //YAHOO.util.Dom.setStyle('repo_switcher','background','#FFFFFF');
95 //YAHOO.util.Dom.setStyle('repo_switcher','color','#556CB5');
96 94 YAHOO.util.Dom.addClass('repo_switcher','selected');
97 95 }
98 96 });
99 97 YAHOO.util.Event.addListener('repos_list','change',function(e){
100 98 var wa = YAHOO.util.Dom.get('repos_list').value;
101 99
102 var url = "${h.url('summary_home',repo_name='__REPLACE__')}".replace('__REPLACE__',wa);
100 var url = "${h.url('summary_home',repo_name='__REPO__')}".replace('__REPO__',wa);
103 101 window.location = url;
104 102 })
105 103 });
106 104 </script>
107 105
108 106 ##REGULAR MENU
109 107 <ul id="quick">
110 108 <!-- repo switcher -->
111 109 <li>
112 110 <a id="repo_switcher" title="${_('Switch repository')}" href="#">
113 111 <span class="icon">
114 112 <img src="/images/icons/database.png" alt="${_('Products')}" />
115 113 </span>
116 114 <span>&darr;</span>
117 115 </a>
118 <div id="switch_repos" style="display:none;position: absolute;height: 25px;z-index: 1">
119 <select id="repos_list" size="=10" style="min-width: 150px">
120 %for repo in sorted(x.name.lower() for x in c.cached_repo_list.values()):
116 <div id="switch_repos" style="display:none;">
117 <select id="repos_list" size="10">
118 %for repo in c.repo_switcher_list:
121 119 <option value="${repo}">${repo}</option>
122 120 %endfor
123 121 </select>
124 122 </div>
125 123 </li>
126 124
127 125 <li ${is_current('summary')}>
128 126 <a title="${_('Summary')}" href="${h.url('summary_home',repo_name=c.repo_name)}">
129 127 <span class="icon">
130 128 <img src="/images/icons/clipboard_16.png" alt="${_('Summary')}" />
131 129 </span>
132 130 <span>${_('Summary')}</span>
133 131 </a>
134 132 </li>
135 133 <li ${is_current('shortlog')}>
136 134 <a title="${_('Shortlog')}" href="${h.url('shortlog_home',repo_name=c.repo_name)}">
137 135 <span class="icon">
138 136 <img src="/images/icons/application_double.png" alt="${_('Shortlog')}" />
139 137 </span>
140 138 <span>${_('Shortlog')}</span>
141 139 </a>
142 140 </li>
143 141 <li ${is_current('changelog')}>
144 142 <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}">
145 143 <span class="icon">
146 144 <img src="/images/icons/time.png" alt="${_('Changelog')}" />
147 145 </span>
148 146 <span>${_('Changelog')}</span>
149 147 </a>
150 148 </li>
151 149 <li ${is_current('branches')}>
152 150 <a title="${_('Branches')}" href="${h.url('branches_home',repo_name=c.repo_name)}">
153 151 <span class="icon">
154 152 <img src="/images/icons/arrow_branch.png" alt="${_('Branches')}" />
155 153 </span>
156 154 <span>${_('Branches')}</span>
157 155 </a>
158 156 </li>
159 157 <li ${is_current('tags')}>
160 158 <a title="${_('Tags')}" href="${h.url('tags_home',repo_name=c.repo_name)}">
161 159 <span class="icon">
162 160 <img src="/images/icons/tag_blue.png" alt="${_('Tags')}" />
163 161 </span>
164 162 <span>${_('Tags')}</span>
165 163 </a>
166 164 </li>
167 165 <li ${is_current('files')}>
168 166 <a title="${_('Files')}" href="${h.url('files_home',repo_name=c.repo_name)}">
169 167 <span class="icon">
170 168 <img src="/images/icons/file.png" alt="${_('Files')}" />
171 169 </span>
172 170 <span>${_('Files')}</span>
173 171 </a>
174 172 </li>
175 173 %if h.HasRepoPermissionAll('repository.admin')(c.repo_name):
176 174 <li ${is_current('settings')}>
177 175 <a title="${_('Settings')}" href="${h.url('repo_settings_home',repo_name=c.repo_name)}">
178 176 <span class="icon">
179 177 <img src="/images/icons/cog_edit.png" alt="${_('Settings')}" />
180 178 </span>
181 179 <span>${_('Settings')}</span>
182 180 </a>
183 181 </li>
184 182 %endif
185 183 </ul>
186 184 %else:
187 185 ##ROOT MENU
188 186 <ul id="quick">
189 187 <li>
190 188 <a title="${_('Home')}" href="${h.url('hg_home')}">
191 189 <span class="icon">
192 190 <img src="/images/icons/home_16.png" alt="${_('Home')}" />
193 191 </span>
194 192 <span>${_('Home')}</span>
195 193 </a>
196 194 </li>
197 195
198 196 %if h.HasPermissionAll('hg.admin')('access admin main page'):
199 197 <li ${is_current('admin')}>
200 198 <a title="${_('Admin')}" href="${h.url('admin_home')}">
201 199 <span class="icon">
202 200 <img src="/images/icons/cog_edit.png" alt="${_('Admin')}" />
203 201 </span>
204 202 <span>${_('Admin')}</span>
205 203 </a>
206 204 <ul>
207 205 <li>${h.link_to(_('repositories'),h.url('repos'),class_='repos')}</li>
208 206 <li>${h.link_to(_('users'),h.url('users'),class_='users')}</li>
209 207 ##<li>${h.link_to(_('permissions'),h.url('permissions'),class_='permissions')}</li>
210 208 <li>${h.link_to(_('settings'),h.url('admin_settings'),class_='settings')}</li>
211 209 </ul>
212 210 </li>
213 211 %endif
214 212
215 213 </ul>
216 214 %endif
217 215 </%def>
218 216
219 217
220 218 <%def name="css()">
221 219 <link rel="stylesheet" type="text/css" href="/css/reset.css" />
222 220 <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen" />
223 221 <link rel="stylesheet" type="text/css" href="/css/style_full.css" />
224 222 <link id="color" rel="stylesheet" type="text/css" href="/css/colors/blue.css" />
225 223 <link rel="stylesheet" type="text/css" href="/css/pygments.css" />
226 224 <link rel="stylesheet" type="text/css" href="/css/diff.css" />
227 225 </%def>
228 226
229 227 <%def name="js()">
230 228 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
231 229 <!--[if IE]><script language="javascript" type="text/javascript" src="/js/excanvas.min.js"></script><![endif]-->
232 230 <script type="text/javascript" src="/js/yui/container/container-min.js"></script>
233 231 <script type="text/javascript" src="/js/yui/datasource/datasource-min.js"></script>
234 232 <script type="text/javascript" src="/js/yui/autocomplete/autocomplete-min.js"></script>
235 233 <script type="text/javascript" src="/js/yui.flot.js"></script>
236 234 </%def>
237 235
238 236 <%def name="breadcrumbs()">
239 237 <div class="breadcrumbs">
240 238 ${self.breadcrumbs_links()}
241 239 </div>
242 240 </%def> No newline at end of file
@@ -1,84 +1,84 b''
1 1 ## -*- coding: utf-8 -*-
2 2 <%inherit file="base/base.html"/>
3 3 <%def name="title()">
4 4 ${c.hg_app_name}
5 5 </%def>
6 6 <%def name="breadcrumbs()">
7 7 ${c.hg_app_name}
8 8 </%def>
9 9 <%def name="page_nav()">
10 10 ${self.menu('home')}
11 11 </%def>
12 12 <%def name="main()">
13 13 <%def name="get_sort(name)">
14 14 <%name_slug = name.lower().replace(' ','_') %>
15 15 %if name_slug == c.cs_slug:
16 16 <span style="font-weight: bold;text-decoration: underline;">${name}</span>
17 17 %else:
18 18 <span style="font-weight: bold">${name}</span>
19 19 %endif
20 20 <a href="?sort=${name_slug}">&darr;</a>
21 21 <a href="?sort=-${name_slug}">&uarr;</a>
22 22 </%def>
23 23
24 24
25 25
26 26 <div class="box">
27 27 <!-- box / title -->
28 28 <div class="title">
29 29 <h5>${_('Dashboard')}</h5>
30 30 ##%if h.HasPermissionAll('repository.create')():
31 31 <ul class="links">
32 32 <li>
33 33 <span>${h.link_to(u'ADD NEW REPO',h.url('new_repo'),class_="add_icon")}</span>
34 34 </li>
35 35 </ul>
36 36 ##%endif
37 37 </div>
38 38 <!-- end box / title -->
39 39 <div class="table">
40 40 <table>
41 41 <thead>
42 42 <tr>
43 43 <th class="left">${get_sort(_('Name'))}</th>
44 44 <th class="left">${get_sort(_('Description'))}</th>
45 45 <th class="left">${get_sort(_('Last change'))}</th>
46 46 <th class="left">${get_sort(_('Tip'))}</th>
47 47 <th class="left">${get_sort(_('Contact'))}</th>
48 48 <th class="left">${_('RSS')}</th>
49 49 <th class="left">${_('Atom')}</th>
50 50 </tr>
51 51 </thead>
52 52 <tbody>
53 53 %for cnt,repo in enumerate(c.repos_list):
54 %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'):
54 %if repo['name'] in c.repo_switcher_list:
55 55 <tr class="parity${cnt%2}">
56 56 <td>
57 57 %if repo['repo'].dbrepo.private:
58 58 <img alt="${_('private')}" src="/images/icons/lock.png"/>
59 59 %else:
60 60 <img alt="${_('public')}" src="/images/icons/lock_open.png"/>
61 61 %endif
62 62 ${h.link_to(repo['name'],
63 63 h.url('summary_home',repo_name=repo['name']))}</td>
64 64 <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
65 65 <td>${h.age(repo['last_change'])}</td>
66 66 <td>${h.link_to_if(repo['rev']>=0,'r%s:%s' % (repo['rev'],repo['tip']),
67 67 h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
68 68 class_="tooltip",
69 69 tooltip_title=h.tooltip(repo['last_msg']))}</td>
70 70 <td title="${repo['contact']}">${h.person(repo['contact'])}</td>
71 71 <td>
72 72 <a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_icon" href="${h.url('rss_feed_home',repo_name=repo['name'])}"></a>
73 73 </td>
74 74 <td>
75 75 <a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_icon" href="${h.url('atom_feed_home',repo_name=repo['name'])}"></a>
76 76 </td>
77 77 </tr>
78 78 %endif
79 79 %endfor
80 80 </tbody>
81 81 </table>
82 82 </div>
83 83 </div>
84 84 </%def>
General Comments 0
You need to be logged in to leave comments. Login now