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

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Nov 24 16:34:42 CST 2008


Author: rbrindley
Date: Mon Nov 24 16:34:42 2008
New Revision: 4211

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4211
Log:
initial ui-tabs styling

Modified:
    team/rbrindley/welcome_revamp/config/js/welcome2.js
    team/rbrindley/welcome_revamp/config/stylesheets/ui-tabs.css
    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=4211&r1=4210&r2=4211
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Mon Nov 24 16:34:42 2008
@@ -36,9 +36,7 @@
 		placeholder: 'placeholder'
 	});
 
-	$("#sys_status_info .body > ul").tabs({
-		selected: 1
-	});
+	$("#sys_status_info .body > ul").tabs();
 
 	/* Event Delegation */
 	$('body').click( $.delegate({

Modified: team/rbrindley/welcome_revamp/config/stylesheets/ui-tabs.css
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/stylesheets/ui-tabs.css?view=diff&rev=4211&r1=4210&r2=4211
==============================================================================
--- team/rbrindley/welcome_revamp/config/stylesheets/ui-tabs.css (original)
+++ team/rbrindley/welcome_revamp/config/stylesheets/ui-tabs.css Mon Nov 24 16:34:42 2008
@@ -1,0 +1,79 @@
+ul.ui-tabs-nav {
+	list-style: none;
+	text-align: center;
+	margin: 0px;
+}
+
+ul.ui-tabs-nav li {
+	display: inline;
+	float: left;
+	font-weight: bold;
+	margin: 0px;
+	margin-left: 3px;
+}
+
+ul.ui-tabs-nav li.ui-tabs-selected {
+}
+
+ul.ui-tabs-nav li.ui-tabs-disabled {
+	color: #777777;
+}
+
+ul.ui-tabs-nav li a {
+	outline: 0;
+}
+
+ul.ui-tabs-nav li a:hover {
+	color: #efefef;
+}
+
+ul.ui-tabs-nav li a, .ui-tabs-nav li a span {
+	float: left;
+}
+
+.ui-tabs-nav li a span {
+	-moz-border-radius: 3px;
+	-webkit-border-radius: 3px;
+	background-color: #6b79a5;
+	border: 1px solid #bdc7e7;
+	display: block;
+	padding: 1px;
+	padding-left: 4px;
+	padding-right: 4px;
+	vertical-align: center;
+}
+
+ul.ui-tabs-nav li.ui-tabs-selected a span {
+	-moz-border-radius-bottomleft: 0px;
+	-moz-border-radius-bottomright: 0px;
+	-webkit-border-radius-bottomleft: 0px;
+	-webkit-border-radius-bottomright: 0px;
+	background-color: #FFFFFF;
+	border: 1px solid #6b79a5;
+	border-bottom: 0px;
+	margin: 0px;
+	padding: 2px;
+}
+
+ul.ui-tabs-nav li a, ul.ui-tabs-nav li a:visited {
+	text-decoration: none;
+	color: #FFFFFF;
+}
+
+ul.ui-tabs-nav li.ui-tabs-selected a, ul.ui-tabs-nav li.ui-tabs-selected a:visited {
+	color: #6b79a5;
+}
+
+div.ui-tabs-panel {
+	-moz-border-radius: 4px;
+	-webkit-border-radius: 4px;
+	background-color: #FFFFFF;
+	border: 1px solid #6b79a5;
+	margin: 0px;
+	min-height: 100px;
+	padding: 4px;
+}
+
+div.ui-tabs-hide {
+	display: none;
+}

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=4211&r1=4210&r2=4211
==============================================================================
--- team/rbrindley/welcome_revamp/config/welcome2.html (original)
+++ team/rbrindley/welcome_revamp/config/welcome2.html Mon Nov 24 16:34:42 2008
@@ -132,8 +132,8 @@
 	height: 50px;
 }
 
-div.ui-tabs-hide {
-	display: none;
+.clear {
+	clear: both;
 }
 
 </style>
@@ -242,6 +242,7 @@
 						<li><a href="#info_memory"><span>Memory</span></a></li>
 						<li><a href="#info_disk"><span>Disk</span></a></li>
 					</ul>
+					<div class="clear"></div>
 					<div id="info_network" class="ui-tabs-panel">Network</div>
 					<div id="info_cpu" class="ui-tabs-panel">CPU</div>
 					<div id="info_memory" class="ui-tabs-panel">Memory</div>




More information about the asterisk-gui-commits mailing list