# HG changeset patch # User ymh # Date 1365082515 -7200 # Node ID a822178766cecbfd0fde596a04d0071a8089be40 # Parent f3957d5942038cc016529a83e8b0fd25011adea1 Add column sort for projects diff -r f3957d594203 -r a822178766ce server/src/main/webapp/WEB-INF/templates/projectIndex.html --- a/server/src/main/webapp/WEB-INF/templates/projectIndex.html Wed Apr 03 23:36:05 2013 +0200 +++ b/server/src/main/webapp/WEB-INF/templates/projectIndex.html Thu Apr 04 15:35:15 2013 +0200 @@ -46,12 +46,12 @@ >> - - +
+ - - - + + + diff -r f3957d594203 -r a822178766ce server/src/main/webapp/static/css/index.css --- a/server/src/main/webapp/static/css/index.css Wed Apr 03 23:36:05 2013 +0200 +++ b/server/src/main/webapp/static/css/index.css Thu Apr 04 15:35:15 2013 +0200 @@ -33,7 +33,7 @@ border-collapse: collapse; margin: 5px 15px; border: 1px solid #CCCCCC; } th, td { - padding: 4px 16px 4px 4px; border: 1px solid #cccccc; + padding: 4px 12px 4px 4px; border: 1px solid #cccccc; } thead { font-size: 16px; @@ -277,3 +277,30 @@ #space-delete-confirm-buttons input[type=submit] { margin-right: 12px; } + +.proj-sort-form { + float: right; + height: auto; +} + +.proj-sort-form input[type=submit] { + width: 16px; + height: 16px; + border: 0; +} + +.proj-sort-form input[type=submit]:HOVER { + opacity: .5; +} + +.proj-sortable-col { + background: url("../img/sort_arrows.png") 0 0; +} + +.proj-sort-desc-col { + background: url("../img/sort_arrows.png") 0 -17px; +} + +.proj-sort-asc-col { + background: url("../img/sort_arrows.png") 0 -33px; +} diff -r f3957d594203 -r a822178766ce server/src/main/webapp/static/img/sort_arrows.png Binary file server/src/main/webapp/static/img/sort_arrows.png has changed
NameUpdatedCreationName
Updated
Creation
Edit Copy Del.