- Timestamp:
- 04/24/10 22:07:41 (2 years ago)
- Location:
- trunk/www
- Files:
-
- 2 added
- 6 edited
-
macros/macro_rankings.php (modified) (1 diff)
-
macros/macro_stars.php (modified) (1 diff)
-
macros/macro_tasks.php (modified) (1 diff)
-
static/css/screen.css (modified) (2 diffs)
-
static/js/restoreparity.js (added)
-
static/js/sorttable.js (added)
-
static/js/tablednd.js (modified) (2 diffs)
-
views/header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/macros/macro_rankings.php
r1117 r1134 42 42 $options = pager_init_options($args); 43 43 $options['show_count'] = true; 44 $options['css_class'] = 'sortable'; 44 45 45 46 // Rounds parameters -
trunk/www/macros/macro_stars.php
r934 r1134 43 43 $html .= "<img src=\"".html_escape($url)."\" alt=\"{$type}\"/>"; 44 44 } 45 46 // add hidden text to allow js sorting 47 $html .= "<div class='hidden'>" . $rating . "/" . $scale . "</div>"; 48 45 49 $html .= "</span>"; 46 50 -
trunk/www/macros/macro_tasks.php
r1132 r1134 167 167 $options['css_row_parity'] = true; 168 168 169 $options['css_class'] = 'tasks ';169 $options['css_class'] = 'tasks sortable'; 170 170 if (getattr($args, 'drag_and_drop', false)) 171 171 $options['css_class'] .= ' dragndrop'; -
trunk/www/static/css/screen.css
r1132 r1134 1040 1040 } 1041 1041 1042 /* Tasks table */ 1043 table.tasks { 1044 line-height: 2em; 1045 width: 99%; 1046 } 1042 1047 1043 1048 /* Basic table css */ 1044 1049 table { 1045 1050 border-collapse: collapse; 1046 line-height: 2em;1047 margin: 0.5em;1048 width: 99%;1049 1051 } 1050 1052 … … 1573 1575 vertical-align: super; 1574 1576 } 1577 1578 /* Sort tables */ 1579 .hidden { 1580 display: none; 1581 } -
trunk/www/static/js/tablednd.js
r1132 r1134 38 38 currenttable.oldY = y; 39 39 // update the style to show we're dragging 40 currenttable.dragObject.style.backgroundColor = "#eee";40 // currenttable.dragObject.style.backgroundColor = "#eee"; 41 41 // If we're over a row then move the dragged row to there so that the user sees the 42 42 // effect dynamically … … 44 44 if (currentRow) { 45 45 if (movingDown && currenttable.dragObject != currentRow) { 46 currenttable.dragObject.parentNode.insertBefore(currenttable.dragObject, currentRow.nextSibling) 46 currenttable.dragObject.parentNode.insertBefore(currenttable.dragObject, currentRow.nextSibling); 47 recolorTable(currenttable.dragObject.parentNode.parentNode); 47 48 } else if (! movingDown && currenttable.dragObject != currentRow) { 48 49 currenttable.dragObject.parentNode.insertBefore(currenttable.dragObject, currentRow); 50 recolorTable(currenttable.dragObject.parentNode.parentNode); 49 51 } 50 52 } -
trunk/www/views/header.php
r1132 r1134 69 69 <script type="text/javascript" src="<?= html_escape(url_static('js/tags.js')) ?>"></script> 70 70 <script type="text/javascript" src="<?= html_escape(url_static('js/roundtimer.js')) ?>"></script> 71 <script type="text/javascript" src="<?= html_escape(url_static('js/restoreparity.js')) ?>"></script> 71 72 <script type="text/javascript" src="<?= html_escape(url_static('js/foreach.js')) ?>"></script> 73 <script type="text/javascript" src="<?= html_escape(url_static('js/sorttable.js')) ?>"></script> 72 74 <script type="text/javascript" src="<?= html_escape(url_static('js/tablednd.js')) ?>"></script> 73 75
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)