rbrindley: branch rbrindley/welcome_revamp r4217 - in /team/rbrindley/welcome...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Nov 25 11:23:15 CST 2008


Author: rbrindley
Date: Tue Nov 25 11:23:14 2008
New Revision: 4217

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4217
Log:

- added generic table styles in stylesheets/tables.css
- added styling options for tablesorter
- adjusted html to account for styling changes


Added:
    team/rbrindley/welcome_revamp/config/stylesheets/tables.css
Modified:
    team/rbrindley/welcome_revamp/config/js/welcome2.js
    team/rbrindley/welcome_revamp/config/welcome2.html

Modified: team/rbrindley/welcome_revamp/config/js/welcome2.js
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/js/welcome2.js?view=diff&rev=4217&r1=4216&r2=4217
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Tue Nov 25 11:23:14 2008
@@ -60,7 +60,12 @@
 
 	/* jQuery Tablesorter init */
 	/* this requires a rewrite of the loadExtensions and loadTrunks */
-		$("#extensions_list").tablesorter();
+		$("#extensions_list").tablesorter({
+			cancelSelection: true,
+			cssAsc: "header_sort_up",
+			cssDesc: "header_sort_down",
+			widgets: ['zebra']
+		});
 
 	return;
  });

Added: team/rbrindley/welcome_revamp/config/stylesheets/tables.css
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/stylesheets/tables.css?view=auto&rev=4217
==============================================================================
--- team/rbrindley/welcome_revamp/config/stylesheets/tables.css (added)
+++ team/rbrindley/welcome_revamp/config/stylesheets/tables.css Tue Nov 25 11:23:14 2008
@@ -1,0 +1,41 @@
+/* list class for tables */
+table.list {
+	background-color: #ffffff;
+	border-spacing: 1px;
+	width: 100%;
+}
+
+table.list thead tr.list_titles {
+	background-color: #6b79a5;
+	color: #ffffff;
+	font-weight: bold;
+}
+
+table.list thead tr th {
+	background-repeat: no-repeat;
+	background-position: center left;
+}
+
+table.list tbody tr {
+}
+
+table.list tbody tr.even {
+	background: #EFEFEF; 
+}
+
+table.list tbody tr.odd {
+	background: #FFFFFF; 
+}
+
+/* Tablesorter Styling */
+th.header {
+	cursor: pointer;
+}
+
+th.header_sort_up {
+	background-color:green;
+}
+
+th.header_sort_down {
+	background-color:red;
+}

Modified: team/rbrindley/welcome_revamp/config/welcome2.html
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/welcome2.html?view=diff&rev=4217&r1=4216&r2=4217
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome2.html (original)
+++ team/rbrindley/welcome_revamp/config/welcome2.html Tue Nov 25 11:23:14 2008
@@ -22,6 +22,7 @@
 <!-- Initial CSS -->
 <link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
 <link href="stylesheets/ui-tabs.css" media="all" rel="Stylesheet" type="text/css" />
+<link href="stylesheets/tables.css" media="all" rel="Stylesheet" type="text/css" />
 <style type="text/css">
 
 body {
@@ -100,21 +101,6 @@
 div.content div.body {
 	-moz-border-radius: 4px;
 	-webkit-border-radius: 4px;
-}
-
-div.content div.body table.list {
-	-moz-border-radius: 4px;
-	-webkit-border-radius: 4px;
-	background-color: #ffffff;
-	border-spacing: 0px;
-	border-collapse: collapse;
-	width: 100%;
-}
-
-div.content div.body table.list tr.list_titles {
-	background-color: #6b79a5;
-	color: #ffffff;
-	font-weight: bold;
 }
 
 div.content_container .title, div.info_container .title {




More information about the asterisk-gui-commits mailing list