Revision 1f6e179e
b/snf-astakos-app/astakos/im/static/im/css/dropkick.css | ||
---|---|---|
29 | 29 |
.form-row .dk_options a:hover, |
30 | 30 |
.form-row .dk_option_current a { text-shadow:none; background-color: #fff; text-decoration:none; color:#F89A1C} |
31 | 31 |
.form-row .dk_toggle { height:17px; overflow:hidden; } |
32 |
.form-row .dk_toggle span { padding-right:45px; }
|
|
32 |
.form-row .dk_toggle span { width:240px; overflow:hidden; display:block; }
|
|
33 | 33 |
/* end custom theme */ |
34 | 34 |
|
35 | 35 |
|
b/snf-astakos-app/astakos/im/static/im/css/modules.css | ||
---|---|---|
228 | 228 |
|
229 | 229 |
/* Style for im/projects */ |
230 | 230 |
table.alt-style { color:#000; width:100%; } |
231 |
table.alt-style caption { font-weight:normal; font-size:1.154em; margin-bottom:15px;} |
|
231 |
table.alt-style caption { font-weight:normal; font-size:1.154em; margin-bottom:15px; text-transform:uppercase; }
|
|
232 | 232 |
table.alt-style tr th { font-weight:normal; color:#3582AC } |
233 | 233 |
table.alt-style tr th a { color:#3582AC } |
234 | 234 |
table.alt-style tr td { color:#222; } |
... | ... | |
236 | 236 |
table.alt-style tr th:first-child { padding-left:5px; } |
237 | 237 |
table.alt-style tr td a { margin:0; } |
238 | 238 |
table.alt-style tr td:first-child a { margin:0; } |
239 |
table.alt-style tr th.sortable a { padding-right:20px; background:url(../images/arrow_th_bg.png) no-repeat right -48px; }
|
|
240 |
table.alt-style tr th.asc a { background-position:right 6px }
|
|
239 |
table.alt-style tr th.asc a { padding-right:20px; background:url(../images/arrow_th_bg.png) no-repeat right -48px; }
|
|
240 |
table.alt-style tr th.desc a { padding-right:20px; background:url(../images/arrow_th_bg.png) no-repeat right 6px; }
|
|
241 | 241 |
table.alt-style tr th:first-child, |
242 |
table.alt-style tr td:first-child { width:40% }
|
|
242 |
table.alt-style tr td:first-child { width:30% }
|
|
243 | 243 |
.content a.submit { margin:0; display:inline-block; margin:10px 0 ; height:auto; min-width:100px; text-align:center;} |
244 | 244 |
table.alt-style tr:nth-child(2n) td { background:#F2F2F2 } |
245 | 245 |
dl.alt-style dt { width:30%; float:left; color:#3582AC; font-weight:normal;} |
b/snf-astakos-app/astakos/im/static/im/js/common.js | ||
---|---|---|
157 | 157 |
); |
158 | 158 |
|
159 | 159 |
|
160 |
|
|
161 | 160 |
|
162 | 161 |
|
163 |
///if ($('.widjets'.length > 0)) { |
|
164 |
///$('.widjets li div .txt').equalHeights(); |
|
165 |
///} |
|
166 |
|
|
167 |
$(function() { |
|
168 |
if($("#id_issue_date").length > 0 ){ |
|
169 |
$( "#id_issue_date" ).datepicker({ |
|
170 |
defaultDate: "+0", |
|
171 |
dateFormat: "yy-mm-dd", |
|
172 |
onSelect: function( selectedDate ) { |
|
173 |
$( "#id_expiration_date" ).datepicker( "option", "minDate", selectedDate ); |
|
174 |
} |
|
175 |
}); |
|
176 |
$( "#id_expiration_date" ).datepicker({ |
|
177 |
defaultDate: "+1w", |
|
178 |
dateFormat: "yy-mm-dd", |
|
179 |
onSelect: function( selectedDate ) { |
|
180 |
$( "#id_issue_date" ).datepicker( "option", "maxDate", selectedDate ); |
|
181 |
} |
|
182 |
}); |
|
183 |
} |
|
184 |
|
|
185 |
if($("#id_issue_date_demo").length > 0 ){ |
|
186 |
$( "#id_issue_date_demo" ).datepicker({ |
|
187 |
defaultDate: "+0", |
|
188 |
dateFormat: "yy-mm-dd", |
|
189 |
onSelect: function( selectedDate ) { |
|
190 |
$( "#id_expiration_date_demo" ).datepicker( "option", "minDate", selectedDate ); |
|
191 |
} |
|
192 |
}); |
|
193 |
$( "#id_expiration_date_demo" ).datepicker({ |
|
194 |
defaultDate: "+1w", |
|
195 |
dateFormat: "yy-mm-dd", |
|
196 |
onSelect: function( selectedDate ) { |
|
197 |
$( "#id_issue_date_demo" ).datepicker( "option", "maxDate", selectedDate ); |
|
198 |
} |
|
199 |
}); |
|
200 |
} |
|
162 |
$(function() { |
|
201 | 163 |
$( "#id_start_date" ).datepicker({ |
164 |
minDate: 0, |
|
165 |
defaultDate: "+0", |
|
202 | 166 |
dateFormat: "yy-mm-dd", |
203 | 167 |
onSelect: function( selectedDate ) { |
204 |
$( "#id_start_date" ).datepicker( "option", "maxDate", selectedDate );
|
|
168 |
$( "#id_end_date" ).datepicker( "option", "minDate", selectedDate );
|
|
205 | 169 |
} |
206 | 170 |
}); |
207 | 171 |
|
208 | 172 |
$( "#id_end_date" ).datepicker({ |
173 |
defaultDate: "+3w", |
|
209 | 174 |
dateFormat: "yy-mm-dd", |
210 | 175 |
onSelect: function( selectedDate ) { |
211 |
$( "#id_end_date" ).datepicker( "option", "maxDate", selectedDate );
|
|
176 |
$( "#id_start_date" ).datepicker( "option", "maxDate", selectedDate );
|
|
212 | 177 |
} |
213 | 178 |
}); |
214 | 179 |
}); |
b/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html | ||
---|---|---|
97 | 97 |
<dl class="alt-style"> |
98 | 98 |
{% for rp in object.projectresourcegrant_set.all %} |
99 | 99 |
<dt> |
100 |
Max {% if rp.resource.is_abbreviation %}{{ rp.resource.verbose_name|upper }}{% else %}{{ rp.resource.verbose_name }}{% endif %}{% if not q.unit %}s {% endif %} per user
|
|
100 |
Max {% if rp.resource.is_abbreviation %}{{ rp.resource.verbose_name|upper }}{% else %}{{ rp.resource.verbose_name }}{% endif %}{% if not rp.resource.unit %}s {% endif %} per user
|
|
101 | 101 |
</dt> |
102 | 102 |
<dd> |
103 | 103 |
{% if rp.member_capacity %} |
Also available in: Unified diff