Revision 526dad9e
b/snf-astakos-app/astakos/im/static/im/css/modules.css | ||
---|---|---|
243 | 243 |
table.alt-style tr th a { padding-right:20px; } |
244 | 244 |
table.alt-style tr th.asc a { background:url(../images/arrow_th_bg.png) no-repeat right -48px; } |
245 | 245 |
table.alt-style tr th.desc a { background:url(../images/arrow_th_bg.png) no-repeat right 6px; } |
246 |
table.alt-style tr th.headerSortDown { padding-right:20px;background:url(../images/arrow_th_bg.png) no-repeat 70% -42px; }
|
|
247 |
table.alt-style tr th.headerSortUp { padding-right:20px;background:url(../images/arrow_th_bg.png) no-repeat 70% 10px; }
|
|
248 |
table.my-projects tr th:hover { cursor: pointer; text-decoration: underline;} |
|
246 |
table.alt-style tr th.headerSortDown span { padding-right:20px;background:url(../images/arrow_th_bg.png) no-repeat right -46px; }
|
|
247 |
table.alt-style tr th.headerSortUp span { padding-right:20px;background:url(../images/arrow_th_bg.png) no-repeat right 6px;}
|
|
248 |
table.my-projects tr th:hover { cursor: pointer; text-decoration: underline;}
|
|
249 | 249 |
.content a.submit { margin:0; display:inline-block; margin:10px 0 ; height:auto; min-width:100px; text-align:center;} |
250 | 250 |
table.alt-style tr:nth-child(2n) td { background:#F2F2F2 } |
251 | 251 |
dl.alt-style dt { width:30%; float:left; color:#3582AC; font-weight:normal;} |
b/snf-astakos-app/astakos/im/templates/im/table_render.html | ||
---|---|---|
15 | 15 |
<tr> |
16 | 16 |
{% for column in table.columns %} |
17 | 17 |
{% if column.orderable %} |
18 |
<th {{ column.attrs.th.as_html }}><a href="{% querystring table.prefixed_order_by_field=column.order_by_alias.next %}#{{ table.attrs.id }}">{{ column.header }}</a></th> |
|
18 |
<th {{ column.attrs.th.as_html }}><a href="{% querystring table.prefixed_order_by_field=column.order_by_alias.next %}#{{ table.attrs.id }}"> |
|
19 |
<span>{{ column.header }}</span></a></th> |
|
19 | 20 |
{% else %} |
20 |
<th {{ column.attrs.th.as_html }}>{{ column.header }}</th> |
|
21 |
<th {{ column.attrs.th.as_html }}> |
|
22 |
<span>{{ column.header }}</span> |
|
23 |
</th> |
|
21 | 24 |
{% endif %} |
22 | 25 |
{% endfor %} |
23 | 26 |
</tr> |
Also available in: Unified diff