Revision b88b1976
b/snf-astakos-app/astakos/im/static/im/css/modules.css | ||
---|---|---|
233 | 233 |
table.alt-style tr th a { color:#3582AC } |
234 | 234 |
table.alt-style tr td { color:#222; } |
235 | 235 |
table.alt-style tr td:first-child, |
236 |
table.alt-style tr th:first-child { padding-left:5px; } |
|
236 |
table.alt-style tr th:first-child { padding-left:5px; overflow:hidden; }
|
|
237 | 237 |
table.alt-style tr td a { margin:0; } |
238 | 238 |
table.alt-style tr td:first-child a { margin:0; } |
239 | 239 |
table.alt-style tr th.asc a { padding-right:20px; background:url(../images/arrow_th_bg.png) no-repeat right -48px; } |
240 | 240 |
table.alt-style tr th.desc a { padding-right:20px; background:url(../images/arrow_th_bg.png) no-repeat right 6px; } |
241 |
table.alt-style tr th:first-child, |
|
242 |
table.alt-style tr td:first-child { width:30% } |
|
243 | 241 |
.content a.submit { margin:0; display:inline-block; margin:10px 0 ; height:auto; min-width:100px; text-align:center;} |
244 | 242 |
table.alt-style tr:nth-child(2n) td { background:#F2F2F2 } |
245 | 243 |
dl.alt-style dt { width:30%; float:left; color:#3582AC; font-weight:normal;} |
... | ... | |
469 | 467 |
.projects .editable form textarea { width:70%; height:50px; max-width:70%; width:270px; height:120px;} |
470 | 468 |
|
471 | 469 |
|
472 |
table .msg-wrap { position:relative; } |
|
470 |
table .msg-wrap { position:relative; display:inline-block; }
|
|
473 | 471 |
table .msg-wrap .dialog { position:absolute; border:1px dashed #ccc; padding:15px; width:200px; bottom:30px; right:0; background:#fff; display:none; } |
474 | 472 |
table .msg-wrap .dialog .submit { min-width:30px; padding:5px 22px; } |
475 | 473 |
table .msg-wrap .dialog .no.submit { float:right; } |
b/snf-astakos-app/astakos/im/static/im/js/common.js | ||
---|---|---|
13 | 13 |
|
14 | 14 |
} |
15 | 15 |
|
16 |
function tableFixedCols(table, firstColWidth ){ |
|
17 |
ColsNum = $('table th').size(); |
|
18 |
var ColWidth = parseFloat( (100 - firstColWidth)/ColsNum ).toFixed(0); |
|
19 |
var ColWidthPercentage = ColWidth+'%'; |
|
20 |
var firstColWidthPercentage = firstColWidth+'%'; |
|
21 |
$('table th, table td').attr('width',ColWidthPercentage ); |
|
22 |
$('table tr td:first-child, table tr th:first-child').attr('width',firstColWidthPercentage ); |
|
23 |
|
|
24 |
} |
|
25 |
|
|
16 | 26 |
|
17 | 27 |
//equal heights |
18 | 28 |
|
... | ... | |
68 | 78 |
|
69 | 79 |
|
70 | 80 |
setContainerMinHeight('.container .wrapper'); |
71 |
|
|
81 |
tableFixedCols('my-projects', 30); |
|
72 | 82 |
|
73 | 83 |
$('.show-extra').click(function(e) { |
74 | 84 |
e.preventDefault(); |
... | ... | |
178 | 188 |
}); |
179 | 189 |
}); |
180 | 190 |
|
181 |
|
|
182 |
$(".table_sorting").tablesorter(); |
|
191 |
|
|
183 | 192 |
|
184 | 193 |
$('table .more-info').click(function(e){ |
185 | 194 |
e.preventDefault(); |
... | ... | |
208 | 217 |
} |
209 | 218 |
}); |
210 | 219 |
|
211 |
$('.widjet-x').click(function(e){ |
|
212 |
e.preventDefault(); |
|
213 |
$(this).siblings('ul').hide('slow'); |
|
214 |
$(this).hide(); |
|
215 |
}) |
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
220 |
|
|
221 | 221 |
$("input.leave, input.join").click(function () { |
222 | 222 |
$('dialog').hide(); |
223 | 223 |
$(this).parents('.msg-wrap').find('.dialog').show(); |
... | ... | |
267 | 267 |
$('input#id_password').siblings('label').css('opacity','0'); |
268 | 268 |
} |
269 | 269 |
}, 100); |
270 |
|
|
271 |
|
|
270 | 272 |
|
271 | 273 |
}); |
272 | 274 |
|
Also available in: Unified diff