4 * :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
4 * :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
5 * :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 * :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 */ |
6 */ |
7 |
7 |
8 /******************************************************************************/ |
8 /******************************************************************************/ |
9 /* security edition form (views/management.py) */ |
9 /* security edition form (views/management.py) web/views/schema.py */ |
10 /******************************************************************************/ |
10 /******************************************************************************/ |
11 |
11 |
12 h2.schema{ |
12 h2.schema{ |
13 background : #ff7700; |
13 color: %(aColor)s; |
14 color: #fff; |
|
15 font-weight: bold; |
|
16 padding : 0.1em 0.3em; |
|
17 } |
14 } |
18 |
15 |
19 |
16 table.schemaInfo td a.users{ |
20 h3.schema{ |
17 color : #00CC33; |
21 font-weight: bold; |
18 font-weight: bold; |
22 } |
19 } |
23 |
20 |
24 h4 a, |
21 table.schemaInfo td a.guests{ |
25 h4 a:link, |
22 color: #ff7700; |
26 h4 a:visited{ |
|
27 color:#000; |
|
28 } |
|
29 |
|
30 table.schemaInfo { |
|
31 margin: 1em 0em; |
|
32 text-align: left; |
|
33 border: 1px solid black; |
|
34 border-collapse: collapse; |
|
35 width:100%; |
|
36 } |
|
37 |
|
38 table.schemaInfo th, |
|
39 table.schemaInfo td { |
|
40 padding: .3em .5em; |
|
41 border: 1px solid grey; |
|
42 width:33%; |
|
43 } |
|
44 |
|
45 |
|
46 table.schemaInfo tr th { |
|
47 padding: 0.2em 0px 0.2em 5px; |
|
48 background-image:none; |
|
49 background-color:#dfdfdf; |
|
50 } |
|
51 |
|
52 table.schemaInfo thead tr { |
|
53 border: 1px solid #dfdfdf; |
|
54 } |
|
55 |
|
56 table.schemaInfo td { |
|
57 padding: 3px 10px 3px 5px; |
|
58 |
|
59 } |
|
60 |
|
61 a.users{ |
|
62 color : #00CC33; |
|
63 font-weight: bold } |
|
64 |
|
65 a.guests{ |
|
66 color : #ff7700; |
|
67 font-weight: bold; |
23 font-weight: bold; |
68 } |
24 } |
69 |
25 |
70 a.owners{ |
26 table.schemaInfo td a.owners{ |
71 color : #8b0000; |
27 color: #8b0000; |
72 font-weight: bold; |
28 font-weight: bold; |
73 } |
29 } |
74 |
30 |
75 a.managers{ |
31 table.schemaInfo td a.managers{ |
76 color: #000000; |
32 color: #000000; |
|
33 font-weight: bold; |
77 } |
34 } |
78 |
35 |
79 .discret, |
36 .discret, |
80 a.grey{ |
37 table.schemaInfo td a.grey{ |
81 color:#666; |
38 color:#666; |
82 } |
39 } |
83 |
40 |
84 a.grey:hover{ |
41 a.grey:hover{ |
85 color:#000; |
42 color:#000; |
86 } |
43 } |
87 |
44 |
88 .red{ |
45 .red{ |
89 color : #ff7700; |
46 color: #ff7700; |
90 } |
47 } |
91 |
48 |
92 div#schema_security{ |
49 div#schema_security{ |
93 width:100%; |
50 width:100%; |
94 } |
51 } |
95 /******************************************************************************/ |
|
96 /* user groups edition form (views/euser.py) */ |
|
97 /******************************************************************************/ |
|
98 |
|
99 table#groupedit { |
|
100 margin: 1ex 1em; |
|
101 text-align: left; |
|
102 border: 1px solid black; |
|
103 border-collapse: collapse; |
|
104 } |
|
105 |
|
106 table#groupedit th, |
|
107 table#groupedit td { |
|
108 padding: 0.5em 1em; |
|
109 } |
|
110 |
|
111 table#groupedit tr { |
|
112 border-bottom: 1px solid black; |
|
113 } |
|
114 |
|
115 table#groupedit tr.nogroup { |
|
116 border: 1px solid red; |
|
117 margin: 1px; |
|
118 } |
|
119 |
|
120 table#groupedit td { |
|
121 text-align: center; |
|
122 padding: 0.5em; |
|
123 } |
|
124 |
|