##// END OF EJS Templates
Added flash messages support
marcink -
r237:f188b156 default
parent child Browse files
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -44,8 +44,8 b' a:HOVER{'
44 }
44 }
45 .table_disp td {
45 .table_disp td {
46 border-left: 1px solid #AAAAAA;
46 border-left: 1px solid #AAAAAA;
47 padding-left: 2px;
47 padding-left: 4px;
48 padding-right: 0px;
48 padding-right: 4px;
49 }
49 }
50
50
51 table tr.parity0:hover,table tr.parity1:hover {
51 table tr.parity0:hover,table tr.parity1:hover {
@@ -99,6 +99,61 b' table tr.parity1 {'
99 cursor: pointer;
99 cursor: pointer;
100 }
100 }
101
101
102 .flash_msg ul{
103 margin:0;
104 padding:25px 0px 0px 0px;
105
106 }
107 .error_msg {
108 background-color:#FFCFCF;
109 background-image: url("/images/icons/error_msg.png");
110 border:1px solid #FF9595;
111 color:#CC3300;
112 }
113 .warning_msg {
114 background-color:#FFFBCC;
115 background-image: url("/images/icons/warning_msg.png");
116 border:1px solid #FFF35E;
117 color:#C69E00;
118 }
119 .success_msg {
120 background-color:#D5FFCF;
121 background-image: url("/images/icons/success_msg.png");
122 border:1px solid #97FF88;
123 color:#009900;
124 }
125 .notice_msg {
126 background-color:#DCE3FF;
127 background-image: url("/images/icons/notice_msg.png");
128 border:1px solid #93A8FF;
129 color:#556CB5;
130 }
131
132 .success_msg, .error_msg, .notice_msg, .warning_msg{
133 background-position:10px center;
134 background-repeat:no-repeat;
135 font-size:12px;
136 font-weight:bold;
137 min-height:14px;
138 line-height:14px;
139 margin-bottom:0px;
140 margin-top:0px;
141 padding:3px 10px 3px 40px;
142 display:block;
143 overflow: auto;
144 }
145
146 #msg_close {
147 background:transparent url("icons/cross_grey_small.png") no-repeat scroll 0 0;
148 cursor:pointer;
149 height:16px;
150 position:absolute;
151 right:5px;
152 top:5px;
153 width:16px;
154 }
155
156
102 div#main {
157 div#main {
103 padding: 5px;
158 padding: 5px;
104 }
159 }
@@ -16,7 +16,17 b''
16 <div class="page-header">
16 <div class="page-header">
17 <h1>${next.breadcrumbs()}</h1>
17 <h1>${next.breadcrumbs()}</h1>
18 ${self.page_nav()}
18 ${self.page_nav()}
19 <div id="main">
19 <div class="flash_msg">
20 <% messages = h.flash.pop_messages() %>
21 % if messages:
22 <ul id="flash-messages">
23 % for message in messages:
24 <li class="${message.category}_msg">${message}</li>
25 % endfor
26 </ul>
27 % endif
28 </div>
29 <div id="main">
20 ${next.main()}
30 ${next.main()}
21 </div>
31 </div>
22 <div class="page-footer">
32 <div class="page-footer">
General Comments 0
You need to be logged in to leave comments. Login now