Clean up of Archive and style sheets
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@31 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
Before Width: | Height: | Size: 61 B |
Before Width: | Height: | Size: 897 B |
Before Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 91 B |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 101 B |
Before Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 859 B |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 71 B |
Before Width: | Height: | Size: 70 B |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 843 B |
Before Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 47 B |
Before Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1009 B |
Before Width: | Height: | Size: 123 B |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 131 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
@ -1,157 +0,0 @@
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
color:#666666;
|
||||
font-family:Arial,Helv,sans-serif;
|
||||
font-size:11px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
a:link,a:visited {
|
||||
color: #FFF;
|
||||
font-weight:
|
||||
bold; text-decoration:none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #fff;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
.content_title {
|
||||
position: absolute;
|
||||
padding-top: 18px;
|
||||
padding-left: 17px;
|
||||
font-size:14px;
|
||||
margin-bottom: 1px;
|
||||
font-weight:bold;
|
||||
width: 400px;
|
||||
color: #FFF;
|
||||
background: url(header.gif) no-repeat top left;
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
#content_title a, #content_title a:visited {
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding-top: 15px;
|
||||
padding-left: 18px;
|
||||
font-size:12px;
|
||||
color: #fff;
|
||||
background: url(rightheader.gif) no-repeat top left;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#zaglavlje {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0px;
|
||||
padding-top: 3px;
|
||||
padding-left: 26px;
|
||||
color: #fff;
|
||||
height: 73px;
|
||||
background: url(rightcontent.gif) no-repeat;
|
||||
}
|
||||
|
||||
#logo {
|
||||
padding-top: 25px;
|
||||
}
|
||||
|
||||
#lijeva_kolona {
|
||||
float: left;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
#lijeva_kolona a, #lijeva_kolona a:visited {
|
||||
display: block;
|
||||
background: url(menulink.gif);
|
||||
padding-top: 3px;
|
||||
padding-left: 20px;
|
||||
height: 20px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#lijeva_kolona a:hover {
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#sadrzaj {
|
||||
width: 750px;
|
||||
margin: 5px auto;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
line-height: 130%;
|
||||
}
|
||||
|
||||
#desna_kolona {
|
||||
float: right;
|
||||
width: 240px;
|
||||
background: #FFF url(rightcontent.gif);
|
||||
text-align:justify;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.srednja_kolona {
|
||||
margin-left: 135px;
|
||||
margin-right: 240px;
|
||||
max-width: 34em;
|
||||
background: url(content.gif) top left;
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
#menuheader {
|
||||
background: url(menuheader.gif) no-repeat;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#menufooter {
|
||||
background: url(menufooter.gif) no-repeat left top;
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
.text {
|
||||
padding: 40px 18px 25px 18px;
|
||||
color: #FFF;
|
||||
background: url(footer.gif) no-repeat left bottom;
|
||||
}
|
||||
|
||||
.text_desno {
|
||||
padding: 0px 18px 25px 18px;
|
||||
color: #e2e2e2;
|
||||
background: url(rightfooter.gif) no-repeat left bottom;
|
||||
}
|
||||
|
||||
#info {
|
||||
color: #ccc;
|
||||
background: #5982B3;
|
||||
font-size: 9px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
padding: 5px;
|
||||
border: 1px solid #6F92BD;
|
||||
}
|
||||
|
||||
#hmenu {
|
||||
padding: 13px 0 5px 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#hmenu a {
|
||||
padding: 12px 13px 2px 11px;
|
||||
text-decoration: none;
|
||||
color: #414141;
|
||||
background: #ccc url(hmenuarrow.gif) no-repeat top center;
|
||||
margin: 0 0 3px 1px;
|
||||
border-bottom: 4px solid #BCBCBC;
|
||||
}
|
||||
|
||||
#hmenu a:hover {
|
||||
background: #3C6491 url(hmenuarrowhover.gif) no-repeat top center;
|
||||
color: #FFFFFF;
|
||||
border-bottom: 4px solid #2F4A6C;
|
||||
}
|
Before Width: | Height: | Size: 3.5 KiB |
@ -1,129 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
|
||||
<meta http-equiv="Content-Language" content="English" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<title>xCAT Clustering Administration</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
.style3 {
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
font-size: larger;
|
||||
}
|
||||
.style5 {
|
||||
font-size: 1.2em
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table border="0" align="center" cellspacing="1" cellpadding="0" class="main_table">
|
||||
<tr>
|
||||
<td width="102"> </td>
|
||||
<td width="55"> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="102"><img src="images/xCAT_icon.gif" width="94" height="78" /></td>
|
||||
<td colspan="2"><img src="images/header_bg3.gif" width="850" height="78" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" id="header_bar"><img src="images/header_bar.gif" width="934" height="2" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="1">
|
||||
<tr>
|
||||
<td id="menu_left"><a href="#"><img src="images/arrow.gif" alt="" width="15" height="7" /> Settings </a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" /> Installation </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> MS Software</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Add Nodes</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Define Nodes</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Hardware Control</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" /> Administration </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Nodes</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Layout</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Run Commands</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Copy files</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Sync files</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Cmd on MS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Import/Export</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" /> Monitor </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Conditions</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Responses</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Sensors </a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> RMC Classes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Even Log</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" /> Performance</a></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td width="794"><div id="border"> </div></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,155 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
|
||||
<meta http-equiv="Content-Language" content="English" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<title>xCAT Clustering Administration</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
.style3 {
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
font-size: larger;
|
||||
}
|
||||
.style5 {
|
||||
font-size: 1.2em
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table border="0" align="center" cellspacing="1" cellpadding="0" class="main_table">
|
||||
<tr>
|
||||
<td width="97"> </td>
|
||||
<td width="53"> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="97"><img src="images/xCAT_icon.gif" width="94" height="78" /></td>
|
||||
<td colspan="2"><img src="images/header_bg3.gif" width="850" height="78" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" id="header_bar"><img src="images/header_bar.gif" width="934" height="2" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table width="98%" border="0" cellpadding="0" cellspacing="1">
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" /> Console </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border" /> Log out</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Preferences</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Update</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Suggestions</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="menu_left"><a href="#"><img src="images/arrow.gif" alt="" width="15" height="7" class="no-border"/> Settings </a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" class="no-border"/> Installation </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> MS Software</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Add Nodes</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Define Nodes</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Hardware Control</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" class="no-border"/> Administration </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border" /> Nodes</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Layout</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Run Commands</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Copy files</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Sync files</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Cmd on MS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Import/Export</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="menu_left"><img src="images/arrow.gif" alt="" width="15" height="7" class="no-border"/> Monitor </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Conditions</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Responses</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Sensors </a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> RMC Classes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Even Log</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#CCCCCC" id="menu_sub_left">
|
||||
<a href="#"><img src="images/h3bg_new.gif" alt="" width="9" height="9" class="no-border"/> Performance</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="menu_left"><a href="#"><img src="images/arrow.gif" alt="" width="15" height="7" class="no-border"/> Documentations</a></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td width="796" class="BorderMe"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,222 +0,0 @@
|
||||
/*
|
||||
|
||||
template: Artificial Intelligence
|
||||
author: luka cvrk (www.solucija.com)
|
||||
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 10;
|
||||
background: #fff url(images/bg.gif) repeat-x;
|
||||
font: normal .7em Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
|
||||
line-height: 1.6em;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* LINKS AND HEADINGS STYLING */
|
||||
|
||||
a { color: #546F92; background: inherit; }
|
||||
a:hover { color: #808080; background: inherit; }
|
||||
h1 { font: bold 2em "Trebuchet MS", Helvetica, Sans-Serif; margin: 0; color: #fff; background-color:transparent; }
|
||||
h2 { font: bold 1.4em "Trebuchet MS", Helvetica, Sans-Serif; }
|
||||
h3 { clear: both; font-size: 1.1em; color: #000; background: #fff url(images/h3bg.gif) no-repeat center left; padding: 0 14px; margin: 0;}
|
||||
.blue { color: #546F92; background: inherit; }
|
||||
.image { float: left; border: 2px solid #e2e2e2; padding: 3px; margin: 0 15px 10px 0; }
|
||||
.no-border {border:0;}
|
||||
|
||||
/* CONTENT WRAPPER */
|
||||
|
||||
#main {
|
||||
width: 900px;
|
||||
margin: 25px auto 0 auto;
|
||||
}
|
||||
|
||||
/* TOP LEFT LOGO */
|
||||
|
||||
#logo {
|
||||
float: left;
|
||||
}
|
||||
#logo h1 { color: #FFFFFF; background: inherit;}
|
||||
#logo h3 { color: #999999; background: inherit;}
|
||||
|
||||
/* TOP RIGHT HORIZONTAL MENU */
|
||||
|
||||
#menu {
|
||||
float: right;
|
||||
/*background: #fff url(images/barul.gif) no-repeat bottom right; */
|
||||
color: #808080;
|
||||
padding: 18px 1px 11px 0;
|
||||
margin: 0;
|
||||
}
|
||||
#menu li {
|
||||
padding: 14px 18px 14px 18px;
|
||||
color: #444;
|
||||
/*background: #fff url(images/bar.gif) no-repeat bottom left; */
|
||||
display: inline;
|
||||
}
|
||||
#menu li.active {
|
||||
/*background: #fff url(images/baractive.gif) no-repeat bottom left; */
|
||||
color: #FFFF00;
|
||||
font-weight: bold;
|
||||
padding: 14px 18px 14px 18px;
|
||||
margin: 0 1px 0 0;
|
||||
}
|
||||
#menu li a {
|
||||
/*background: #f8f8f8; */
|
||||
color: #808080;
|
||||
text-decoration: font: bold 2em "Trebuchet MS", Helvetica, Sans-Serif; margin: 0; color: #fff; background-color:transparent;
|
||||
}
|
||||
#menu li a:hover {
|
||||
color: #000;
|
||||
/*background: #f8f8f8; */
|
||||
}
|
||||
.key { text-decoration: underline; } /* ACCESKEY UNDERLINED LETTER */
|
||||
|
||||
/* LEFT INTRO SIDE */
|
||||
|
||||
#intro_left {
|
||||
clear: left;
|
||||
float: left;
|
||||
width: 250px;
|
||||
background: #8D9CAF url(images/leftintrobg.gif) repeat-x;
|
||||
color: #E5EAF2;
|
||||
margin: 0 0 1px 0;
|
||||
}
|
||||
#intro_left a { color: #fff; background: inherit; }
|
||||
#intro_left p { padding: 14px 15px; margin: 0; }
|
||||
|
||||
/* LEFT VERTICAL MENU */
|
||||
|
||||
#menu_left {
|
||||
float: left;
|
||||
/*margin: 0 0 6px 0; */
|
||||
|
||||
/*border-bottom: 2px solid #e2e2e2*/
|
||||
|
||||
/*display: block; */
|
||||
color: #3F5B7F;
|
||||
background: #C2CEDE;
|
||||
font-weight: bold;
|
||||
/*padding: 7px 0px 7px 0px; */
|
||||
font-size:12px;
|
||||
}
|
||||
#menu_left li { list-style: none; }
|
||||
#menu_left a:link,a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F;
|
||||
background: #C2CEDE;
|
||||
width: auto;
|
||||
height:auto;
|
||||
padding: 0px;
|
||||
/*margin: 0 0 1px 0; */
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu_left a:hover { background: #9EB1C9 ; color: #fff; text-decoration: underline; }
|
||||
|
||||
#menu_sub_left {
|
||||
float: left;
|
||||
/*margin: 0; */
|
||||
/*padding: 0 0 1px 0; */
|
||||
/*border-bottom: 2px solid #e2e2e2; */
|
||||
font-size:11px;
|
||||
}
|
||||
#menu_sub_left li { list-style: none; }
|
||||
#menu_sub_left a:link, a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F;
|
||||
background: #CCCCCC ;
|
||||
width: auto;
|
||||
height:100%;
|
||||
padding: 0px 0px 0px 23px;
|
||||
margin: 0;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu_sub_left a:hover { background: #999999; color: #fff; }
|
||||
#menu_sub_left a.current { background: #999999; color: #fff; }
|
||||
|
||||
|
||||
/* RIGHT INTRO SIDE */
|
||||
|
||||
#intro_right {
|
||||
float: right;
|
||||
width: 340px;
|
||||
padding: 25px 280px 0 20px;
|
||||
background: #BCCEDA url(images/intro.jpg) no-repeat;
|
||||
color: #547592;
|
||||
margin: 0 0 6px 0;
|
||||
height: 174px;
|
||||
border: 2px solid #e2e2e2;
|
||||
}
|
||||
#intro_right h1 { margin: 0 0 20px 0; }
|
||||
#intro_right .white { color: #FFF; background-color:transparent; }
|
||||
|
||||
/* LEFT SIDE */
|
||||
|
||||
#left {
|
||||
float: left;
|
||||
width: 250px;
|
||||
}
|
||||
.box {
|
||||
padding: 4px 15px;
|
||||
border: 1px solid #ccc;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
.note {
|
||||
padding: 15px 15px 20px 100px;
|
||||
border: 1px solid #CFCB66;
|
||||
margin: 0 0 5px 0;
|
||||
background: #FFFFAD url(images/package.gif) no-repeat;
|
||||
color: #585616;
|
||||
}
|
||||
|
||||
/* RIGHT SIDE */
|
||||
|
||||
#right {
|
||||
float: right;
|
||||
width: 643px;
|
||||
}
|
||||
.leftcol {
|
||||
float: left;
|
||||
padding: 12px 15px;
|
||||
width: 285px;
|
||||
border:#ccc 1px solid;
|
||||
text-align: justify;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
.rightcol {
|
||||
float: right;
|
||||
padding: 10px 15px;
|
||||
width: 285px;
|
||||
border:#ccc 1px solid;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
.special {
|
||||
clear: both;
|
||||
margin:0px 0 20px 0;
|
||||
padding: 5px 20px;
|
||||
border: 1px solid #ccc;
|
||||
background: #eee;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
/* FOOTER */
|
||||
|
||||
#footer { clear: both; padding: 5px; border-top: 1px solid #ccc; }
|
||||
|
||||
#main_table{
|
||||
/*padding:10px; */
|
||||
border-collapse:collapse;
|
||||
border: 1px solid;
|
||||
|
||||
}
|
||||
|
||||
#header_bar{
|
||||
padding:5px 0 5px 0;
|
||||
}
|
||||
td.BorderMe{
|
||||
border:1px dotted #CCC;
|
||||
|
||||
}
|
@ -2,11 +2,12 @@
|
||||
/*------------------------------------------------------------------------------
|
||||
Produce the page for running commands on the nodes of the cluster
|
||||
------------------------------------------------------------------------------*/
|
||||
$TOPDIR = '.';
|
||||
$expire_time = gmmktime(0, 0, 0, 1, 1, 2038);
|
||||
setcookie("history", "date;hello.sh", $expire_time);
|
||||
|
||||
//require_once("globalconfig.php");
|
||||
require_once("XCAT/XCATCommand/XCATCommandRunner.class.php");
|
||||
require_once("lib/XCAT/XCATCommand/XCATCommandRunner.class.php");
|
||||
|
||||
require_once "$TOPDIR/functions.php";
|
||||
//require_once "$TOPDIR/nav.php";
|
||||
|
@ -67,7 +67,10 @@ if ($javascripts) {
|
||||
<table border=0 align=left cellspacing=0 cellpadding=0>
|
||||
<tr>
|
||||
<td><img src="images/xCAT_icon.gif"></td>
|
||||
<td background="images/header_bg.gif" width=700><p id=Banner>xCAT - e<u>x</u>treme <u>C</u>luster <u>A</u>dministration <u>T</u>ool</p></td>
|
||||
<td background="images/header_bg.gif" width=700>
|
||||
<p id=banner>xCAT - e<u>x</u>treme <u>C</u>luster <u>A</u>dministration <u>T</u>ool</p>
|
||||
<p id=disclaimer>This interface is still under construction and not yet ready for use.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php } // end insertHeader
|
||||
@ -86,55 +89,6 @@ $plusgif = "$imagedir/plus-sign.gif";
|
||||
*/
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------------------------
|
||||
Function to run the commands on the remote nodes. Four arguments:
|
||||
1. The command
|
||||
2. Mode:
|
||||
0: If successful, return output to a reference variable in the caller function, with the newlines removed.
|
||||
Otherwise, print the error msg to the screen
|
||||
2: Like mode 0, if successful, return output to a reference variable in the caller function, with the newlines removed.
|
||||
But error msgs are output to reference variable in the caller function
|
||||
1: Long running cmd, intermediate results/errors are ouput as the command is executed
|
||||
-1: Like mode 1
|
||||
3: Long running cmd. Results/errors are output to a file and return a file handle to the caller function
|
||||
3. Reference variable to hold the output returned to caller function
|
||||
4. Reference to an options hash, e.g. { NoVerbose => 1, NoRedirectStderr => 1 }
|
||||
Return status: 0 - successful, error - 1
|
||||
------------------------------------------------------------------------------------------------*/
|
||||
function runcmd ($cmd, $mode, &$output, $options=NULL){
|
||||
|
||||
//Set error output to the same source as standard output (on Linux)
|
||||
if (strstr($cmd,'2>&1') == FALSE && !$options["NoRedirectStdErr"])
|
||||
$cmd .= ' 2>&1';
|
||||
|
||||
$ret_stat = "";
|
||||
$arr_output = NULL;
|
||||
if ($mode == 3){
|
||||
$handle = popen($cmd, "r");
|
||||
if($handle){
|
||||
$output = $handle; //return file handle to caller
|
||||
return 0; //successful
|
||||
}else{
|
||||
echo "Piping command into a file failed";
|
||||
return 1;
|
||||
}
|
||||
}elseif ($mode == 0 || $mode == 2 ){
|
||||
exec($cmd,$arr_output,$ret_stat);
|
||||
if ($ret_stat == 0){
|
||||
$output = $arr_output;
|
||||
} else {
|
||||
//output the error msg to the screen
|
||||
if ($mode == 0) echo $arr_output[0];
|
||||
//output error msg to the caller function
|
||||
elseif ($mode == 2) $output = $arr_output[0];
|
||||
}
|
||||
}elseif ($mode == 1 || $mode == -1){
|
||||
system($cmd,$ret_stat);
|
||||
}
|
||||
return $ret_stat;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
Create the navigation area on the left.
|
||||
$currentlink is the key of the link to the page
|
||||
@ -150,7 +104,7 @@ $bulgif = "$TOPDIR/images/h3bg_new.gif";
|
||||
$minusgif = "$TOPDIR/images/minus-sign.gif";
|
||||
$plusgif = "$TOPDIR/images/plus-sign.gif";
|
||||
|
||||
echo '<div id=nav><table border="0" cellpadding="0" cellspacing="1" width="110">';
|
||||
echo '<div id=nav><table border="0" cellpadding="0" cellspacing="1" width="70">';
|
||||
|
||||
//Console section
|
||||
insertInner('open', 1,'Console', 'constab', $currentLink, array(
|
||||
@ -162,13 +116,13 @@ insertInner('open', 1,'Console', 'constab', $currentLink, array(
|
||||
|
||||
// xCAT Cluster section
|
||||
?>
|
||||
<TR><TD id="menu_level1" width="110">
|
||||
<TR><TD id="menu_level1">
|
||||
<P title="<?php echo $colTxt; ?>" onclick="toggleSection(this,'clustab')" ondblclick="toggleSection(this,'clustab')">
|
||||
<IMG src=<?php echo $minusgif ?> id='clustab-im'> xCAT Cluster
|
||||
</P></TD></TR>
|
||||
<TR><TD>
|
||||
<TABLE id='clustab' cellpadding=0 cellspacing=0 width="110"><TBODY>
|
||||
<TR><TD id="menu_level2"><A href="csmconfig">Settings</A></TD></TR>
|
||||
<TABLE id='clustab' cellpadding=0 cellspacing=0 width="100%"><TBODY>
|
||||
<TR><TD id="menu_level3"><A href="csmconfig"><IMG src='<?php echo "$TOPDIR/images/h3bg_new.gif" ?>'> Settings</A></TD></TR>
|
||||
|
||||
<?php
|
||||
insertInner('open', 2,'Installation', 'installtab', $currentLink, array(
|
||||
@ -245,7 +199,7 @@ $plusgif = "$TOPDIR/images/plus-sign.gif";
|
||||
$style = "display:none";
|
||||
}
|
||||
?>
|
||||
<TR><TD id=<?php echo $menu_level; if($level == 2) echo " class=no-link"; ?>>
|
||||
<TR><TD id=<?php echo $menu_level; ?>>
|
||||
<P title="<?php echo $hoverTxt; ?>" onclick="toggleSection(this,'<?php echo $id ?>')" ondblclick="toggleSection(this,'<?php echo $id ?>')">
|
||||
<IMG src=<?php echo $gif; ?> id=<?php echo $id."-im" ?>> <?php echo $title ?></P></TD></TR>
|
||||
<TR><TD >
|
||||
@ -255,15 +209,64 @@ $plusgif = "$TOPDIR/images/plus-sign.gif";
|
||||
|
||||
foreach ($list as $key => $link) {
|
||||
if ($key == $currentLink){
|
||||
echo "<TR><TD bgcolor='#CCCCCC' id='menu_level3' class='current'><IMG src='". $TOPDIR . "/images/h3bg_new.gif'> $link[1]</TD></TR>\n";
|
||||
echo "<TR><TD id='menu_level3' class='current'><IMG src='$TOPDIR/images/h3bg_new.gif'> $link[1]</TD></TR>\n";
|
||||
}else{
|
||||
echo "<TR><TD bgcolor='#CCCCCC' id='menu_level3'><A href='$link[0]'><IMG src='". $TOPDIR . "/images/h3bg_new.gif'> $link[1]</A></TD></TR>\n";
|
||||
echo "<TR><TD id='menu_level3'><A href='$link[0]'><IMG src='$TOPDIR/images/h3bg_new.gif'> $link[1]</A></TD></TR>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</TABLE></TD></TR>
|
||||
|
||||
<?php }//end function
|
||||
<?php }//end insertInner
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------------------------
|
||||
Function to run the commands on the remote nodes. Four arguments:
|
||||
1. The command
|
||||
2. Mode:
|
||||
0: If successful, return output to a reference variable in the caller function, with the newlines removed.
|
||||
Otherwise, print the error msg to the screen
|
||||
2: Like mode 0, if successful, return output to a reference variable in the caller function, with the newlines removed.
|
||||
But error msgs are output to reference variable in the caller function
|
||||
1: Long running cmd, intermediate results/errors are ouput as the command is executed
|
||||
-1: Like mode 1
|
||||
3: Long running cmd. Results/errors are output to a file and return a file handle to the caller function
|
||||
3. Reference variable to hold the output returned to caller function
|
||||
4. Reference to an options hash, e.g. { NoVerbose => 1, NoRedirectStderr => 1 }
|
||||
Return status: 0 - successful, error - 1
|
||||
------------------------------------------------------------------------------------------------*/
|
||||
function runcmd ($cmd, $mode, &$output, $options=NULL){
|
||||
|
||||
//Set error output to the same source as standard output (on Linux)
|
||||
if (strstr($cmd,'2>&1') == FALSE && !$options["NoRedirectStdErr"])
|
||||
$cmd .= ' 2>&1';
|
||||
|
||||
$ret_stat = "";
|
||||
$arr_output = NULL;
|
||||
if ($mode == 3){
|
||||
$handle = popen($cmd, "r");
|
||||
if($handle){
|
||||
$output = $handle; //return file handle to caller
|
||||
return 0; //successful
|
||||
}else{
|
||||
echo "Piping command into a file failed";
|
||||
return 1;
|
||||
}
|
||||
}elseif ($mode == 0 || $mode == 2 ){
|
||||
exec($cmd,$arr_output,$ret_stat);
|
||||
if ($ret_stat == 0){
|
||||
$output = $arr_output;
|
||||
} else {
|
||||
//output the error msg to the screen
|
||||
if ($mode == 0) echo $arr_output[0];
|
||||
//output error msg to the caller function
|
||||
elseif ($mode == 2) $output = $arr_output[0];
|
||||
}
|
||||
}elseif ($mode == 1 || $mode == -1){
|
||||
system($cmd,$ret_stat);
|
||||
}
|
||||
return $ret_stat;
|
||||
}
|
||||
|
||||
|
||||
// Send the keys and values in the primary global arrays
|
||||
|
@ -1,8 +1,9 @@
|
||||
/*
|
||||
Styles for the navigation area and some other general styles.
|
||||
|
||||
Some of this came from:
|
||||
template: Artificial Intelligence
|
||||
author: luka cvrk (www.solucija.com)
|
||||
|
||||
*/
|
||||
|
||||
body {
|
||||
@ -14,10 +15,9 @@ body {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.middle{
|
||||
font: normal 1em Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
|
||||
}
|
||||
.middle{ font: normal 1em Tahoma, Verdana, Arial, Helvetica, Sans-Serif; }
|
||||
|
||||
/* this overlaps the BlueBack class in style.css */
|
||||
.BlueBack{
|
||||
font: bold .9em Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
|
||||
color:#003399;
|
||||
@ -39,26 +39,106 @@ h3 { clear: both; font-size: 1.1em; color: #000; background: #fff url(images/h3b
|
||||
.image { float: left; border: 2px solid #e2e2e2; padding: 3px; margin: 0 15px 10px 0; }
|
||||
.no-border {border:0;}
|
||||
|
||||
/* CONTENT WRAPPER */
|
||||
|
||||
#main {
|
||||
width: 900px;
|
||||
margin: 25px auto 0 auto;
|
||||
.inner_table{
|
||||
/*border-collapse:collapse;*/
|
||||
border: 3px;
|
||||
/* background-color: green; */
|
||||
margin-left : 15px;
|
||||
margin-right : 0px;
|
||||
margin-top : 0px;
|
||||
}
|
||||
|
||||
/* TOP LEFT LOGO */
|
||||
td.BorderMe { border:1px dotted #CCC; }
|
||||
|
||||
#logo {
|
||||
tr.indent td { padding:0px 0 0px 10px; }
|
||||
|
||||
.none { display:none; }
|
||||
|
||||
|
||||
/* LEFT VERTICAL MENU/Navigation area */
|
||||
|
||||
#menu_level1 {
|
||||
float: left;
|
||||
color: #3F5B7F;
|
||||
background: #C2CEDE;
|
||||
font-weight: bold;
|
||||
font-size:12px;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
padding: 0px 5px 0px 0px;
|
||||
}
|
||||
/* menu_level1 rows are not links or lists, they are collapseable sections...
|
||||
#menu_level1 li { list-style: none; }
|
||||
#menu_level1 a:link,a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F; font-weight: bold; background: #C2CEDE; width: 100%; height:100%; padding: 0px; font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu_level1 a:hover { background: #9EB1C9 ; color: #fff; text-decoration: underline; }
|
||||
*/
|
||||
|
||||
#menu_level2 {
|
||||
float: left;
|
||||
color: #3F5B7F;
|
||||
font-weight: bold;
|
||||
background: #BDBDBD ;
|
||||
font-size: 11px;
|
||||
padding: 0px 5px 0px 3px;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
/* menu_level2 rows are not links or lists, they are collapseable sections...
|
||||
#menu_level2 li { list-style: none; }
|
||||
#menu_level2 a:link, a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F; font-weight: bold; background: #BDBDBD;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
padding: 0px 5px 0px 15px;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu_level2 a img { border: 0 none; }
|
||||
#menu_level2 a:hover { background: #999999; color: #fff; }
|
||||
#menu_level2 a.current { background: #999999; color: #fff; }
|
||||
#menu_level2.no-link { }
|
||||
*/
|
||||
|
||||
#menu_level3 {
|
||||
float: left;
|
||||
color: #3F5B7F;
|
||||
font-weight: bold;
|
||||
background: #CCCCCC ;
|
||||
border-bottom: 1px solid #fff;
|
||||
font-size:11px;
|
||||
padding: 0px 5px 0px 15px;
|
||||
width: 100%;
|
||||
}
|
||||
/* #menu_level3 li { list-style: none; } */
|
||||
#menu_level3 a:link, a:visited {
|
||||
display: block;
|
||||
/* color: #3F5B7F; width: 110px; font-weight: bold; background: #CCCCCC; */
|
||||
height:100%;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu_level3 a img { border: 0 none; }
|
||||
#menu_level3 a:hover { background: #999999; color: #fff; }
|
||||
/* #menu_level3 a.current { background: #999999; color: #fff; } */
|
||||
#menu_level3.current { background: #FFFFFF ; }
|
||||
|
||||
/* CONTENT WRAPPER */
|
||||
/* #main { width: 900px; margin: 25px auto 0 auto; } */
|
||||
|
||||
/* TOP LEFT LOGO - not used...
|
||||
#logo { float: left; }
|
||||
#logo h1 { color: #FFFFFF; background: inherit;}
|
||||
#logo h3 { color: #999999; background: inherit;}
|
||||
*/
|
||||
|
||||
/* TOP RIGHT HORIZONTAL MENU */
|
||||
/* .main_table { border-collapse:collapse; } */
|
||||
|
||||
/* TOP RIGHT HORIZONTAL MENU - not used...
|
||||
#menu {
|
||||
float: right;
|
||||
/*background: #fff url(images/barul.gif) no-repeat bottom right; */
|
||||
/*background: #fff url(images/barul.gif) no-repeat bottom right; *//*
|
||||
color: #808080;
|
||||
padding: 18px 1px 11px 0;
|
||||
margin: 0;
|
||||
@ -66,29 +146,28 @@ h3 { clear: both; font-size: 1.1em; color: #000; background: #fff url(images/h3b
|
||||
#menu li {
|
||||
padding: 14px 18px 14px 18px;
|
||||
color: #444;
|
||||
/*background: #fff url(images/bar.gif) no-repeat bottom left; */
|
||||
/*background: #fff url(images/bar.gif) no-repeat bottom left; *//*
|
||||
display: inline;
|
||||
}
|
||||
#menu li.active {
|
||||
/*background: #fff url(images/baractive.gif) no-repeat bottom left; */
|
||||
/*background: #fff url(images/baractive.gif) no-repeat bottom left; *//*
|
||||
color: #FFFF00;
|
||||
font-weight: bold;
|
||||
padding: 14px 18px 14px 18px;
|
||||
margin: 0 1px 0 0;
|
||||
}
|
||||
#menu li a {
|
||||
/*background: #f8f8f8; */
|
||||
/*background: #f8f8f8; *//*
|
||||
color: #808080;
|
||||
text-decoration: none; font: bold 2em "Trebuchet MS", Helvetica, Sans-Serif; margin: 0; color: #fff; background-color:transparent;
|
||||
}
|
||||
#menu li a:hover {
|
||||
color: #000;
|
||||
/*background: #f8f8f8; */
|
||||
/*background: #f8f8f8; *//*
|
||||
}
|
||||
.key { text-decoration: underline; } /* ACCESKEY UNDERLINED LETTER */
|
||||
|
||||
/* LEFT INTRO SIDE */
|
||||
|
||||
/* LEFT INTRO SIDE - not used
|
||||
#intro_left {
|
||||
clear: left;
|
||||
float: left;
|
||||
@ -99,90 +178,9 @@ h3 { clear: both; font-size: 1.1em; color: #000; background: #fff url(images/h3b
|
||||
}
|
||||
#intro_left a { color: #fff; background: inherit; }
|
||||
#intro_left p { padding: 14px 15px; margin: 0; }
|
||||
*/
|
||||
|
||||
/* LEFT VERTICAL MENU */
|
||||
|
||||
#menu_level1 {
|
||||
float: left;
|
||||
color: #3F5B7F;
|
||||
background: #C2CEDE;
|
||||
font-weight: bold;
|
||||
font-size:12px;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
padding: 0px;
|
||||
}
|
||||
#menu_level1 li { list-style: none; }
|
||||
#menu_level1 a:link,a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F;
|
||||
font-weight: bold;
|
||||
background: #C2CEDE;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
padding: 0px;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu_level1 a:hover { background: #9EB1C9 ; color: #fff; text-decoration: underline; }
|
||||
|
||||
#menu_level2 {
|
||||
float: left;
|
||||
color: #3F5B7F;
|
||||
font-weight: bold;
|
||||
background: #BDBDBD ;
|
||||
font-size:11px;
|
||||
border-bottom: 1px solid #fff;
|
||||
width: 110px;
|
||||
}
|
||||
#menu_level2 li { list-style: none; }
|
||||
#menu_level2 a:link, a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F;
|
||||
width: 110px;
|
||||
height:100%;
|
||||
padding: 0px 0px 0px 15px;
|
||||
font-weight: bold;
|
||||
background: #BDBDBD ;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
#menu_level2 a img { border: 0 none; }
|
||||
#menu_level2 a:hover { background: #999999; color: #fff; }
|
||||
#menu_level2 a.current { background: #999999; color: #fff; }
|
||||
#menu_level2.no-link { padding: 0px 0px 0px 3px; }
|
||||
|
||||
#menu_level3 {
|
||||
float: left;
|
||||
/*color: #FFFF00;*/
|
||||
color: #3F5B7F;
|
||||
font-weight: bold;
|
||||
background: #CCCCCC ;
|
||||
border-bottom: 1px solid #fff;
|
||||
font-size:11px;
|
||||
width: 100%;
|
||||
}
|
||||
#menu_level3 li { list-style: none; }
|
||||
#menu_level3 a:link, a:visited {
|
||||
display: block;
|
||||
color: #3F5B7F;
|
||||
width: 110px;
|
||||
height:100%;
|
||||
padding: 0px 0px 0px 15px;
|
||||
background: #CCCCCC ;
|
||||
/*margin: 0;*/
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
#menu_level3 a img { border: 0 none; }
|
||||
#menu_level3 a:hover { background: #999999; color: #fff; }
|
||||
#menu_level3 a.current { background: #999999; color: #fff; }
|
||||
#menu_level3.current {padding: 0px 0px 0px 15px; background: #FFFFFF ; }
|
||||
|
||||
|
||||
/* RIGHT INTRO SIDE */
|
||||
|
||||
/* RIGHT INTRO SIDE - not used...
|
||||
#intro_right {
|
||||
float: right;
|
||||
width: 340px;
|
||||
@ -195,9 +193,9 @@ width: 100%;
|
||||
}
|
||||
#intro_right h1 { margin: 0 0 20px 0; }
|
||||
#intro_right .white { color: #FFF; background-color:transparent; }
|
||||
*/
|
||||
|
||||
/* LEFT SIDE */
|
||||
|
||||
/* LEFT SIDE - not used...
|
||||
#left {
|
||||
float: left;
|
||||
width: 250px;
|
||||
@ -214,9 +212,9 @@ width: 100%;
|
||||
background: #FFFFAD url(images/package.gif) no-repeat;
|
||||
color: #585616;
|
||||
}
|
||||
*/
|
||||
|
||||
/* RIGHT SIDE */
|
||||
|
||||
/* RIGHT SIDE - not used...
|
||||
#right {
|
||||
float: right;
|
||||
width: 643px;
|
||||
@ -244,32 +242,8 @@ width: 100%;
|
||||
background: #eee;
|
||||
color: #444;
|
||||
}
|
||||
*/
|
||||
|
||||
/* FOOTER */
|
||||
|
||||
/* FOOTER - not used...
|
||||
#footer { clear: both; padding: 5px; border-top: 1px solid #ccc; }
|
||||
|
||||
.main_table{
|
||||
border-collapse:collapse;
|
||||
}
|
||||
|
||||
.inner_table{
|
||||
/*border-collapse:collapse;*/
|
||||
border: 3px;
|
||||
/* background-color: green; */
|
||||
margin-left : 15px;
|
||||
margin-right : 0px;
|
||||
margin-top : 0px;
|
||||
}
|
||||
|
||||
td.BorderMe{
|
||||
border:1px dotted #CCC;
|
||||
}
|
||||
|
||||
tr.indent td{
|
||||
padding:0px 0 0px 10px;
|
||||
}
|
||||
|
||||
.none{
|
||||
display:none;
|
||||
}
|
||||
*/
|
||||
|
@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
//Note: this file is not used any more
|
||||
|
||||
// Set the include path
|
||||
$APP_ROOT = dirname(__FILE__);
|
||||
// Switch : to ; on Windows
|
||||
ini_set('include_path', ini_get('include_path') . ":$APP_ROOT:$APP_ROOT/lib");
|
||||
|
||||
// The settings below display error on the screen, instead of giving blank pages.
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
ini_set('display_errors', true);
|
||||
|
||||
require_once("lib/config.php");
|
||||
|
||||
// define global variables
|
||||
$XCATROOT = getenv("XCATROOT") ? getenv("XCATROOT").'/bin' : '/opt/xcat/bin';
|
||||
$SYSTEMROOT = '/bin';
|
||||
$TOPDIR = '.';
|
||||
$CURRDIR = '/opt/xcat/web';
|
||||
$IMAGEDIR = "$TOPDIR/images";
|
||||
|
||||
// Put any configuration global variables here
|
||||
// e.g. $config = &Config::getInstance();
|
||||
// $config->setValue("settingName", "settingValue");
|
||||
|
||||
$config = &Config::getInstance();
|
||||
$config->setValue("XCATROOT", $XCATROOT);
|
||||
$config->setValue("TOPDIR", $TOPDIR);
|
||||
$config->setValue("CURRDIR", $CURRDIR);
|
||||
$config->setValue("IMAGEDIR", $IMAGEDIR);
|
||||
?>
|
@ -1,83 +0,0 @@
|
||||
<?php
|
||||
|
||||
// This file is no longer used...
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
Create the navigation area on the left.
|
||||
$currentlink is the key of the link to the page
|
||||
that is currently being displayed.
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
function insertNav($currentLink) {
|
||||
// A few constants
|
||||
global $TOPDIR; // or could use $GLOBALS['TOPDIR']
|
||||
$colTxt = "Click to collapse section";
|
||||
$exTxt = "Click to expand section";
|
||||
$bulgif = "$TOPDIR/images/h3bg_new.gif";
|
||||
$minusgif = "$TOPDIR/images/minus-sign.gif";
|
||||
$plusgif = "$TOPDIR/images/plus-sign.gif";
|
||||
|
||||
echo '<div id=nav><table border="0" cellpadding="0" cellspacing="1" width="110">';
|
||||
|
||||
//Console section
|
||||
insertInner('open', 1,'Console', 'constab', $currentLink, array(
|
||||
'prefs' => array("$TOPDIR/prefs.php", 'Preferences'),
|
||||
'updategui' => array("$TOPDIR/softmaint/updategui.php", 'Update'),
|
||||
'suggestions' => array("$TOPDIR/suggestions.html", 'Suggestions'),
|
||||
'logout' => array("$TOPDIR/logout.php", 'Logout')
|
||||
));
|
||||
|
||||
// xCAT Cluster section
|
||||
?>
|
||||
<TR><TD id="menu_level1" width="110">
|
||||
<P title="<?php echo $colTxt; ?>" onclick="toggleSection(this,'clustab')" ondblclick="toggleSection(this,'clustab')">
|
||||
<IMG src=<?php echo $minusgif ?> id='clustab-im'> xCAT Cluster
|
||||
</P></TD></TR>
|
||||
<TR><TD>
|
||||
<TABLE id='clustab' cellpadding=0 cellspacing=0 width="110"><TBODY>
|
||||
<TR><TD id="menu_level2"><A href="csmconfig">Settings</A></TD></TR>
|
||||
|
||||
<?php
|
||||
insertInner('open', 2,'Installation', 'installtab', $currentLink, array(
|
||||
'softmaint' => array("$TOPDIR/softmaint", 'MS Software'),
|
||||
'addnodes' => array("$TOPDIR/addnodes.php", 'Add Nodes'),
|
||||
'definenode' => array("$TOPDIR/definenode.php", 'Define Nodes'),
|
||||
'hwctrl' => array("$TOPDIR/hwctrl/index.php", 'HW Control')
|
||||
));
|
||||
insertInner('open', 2,'Administration', 'admintab', $currentLink, array(
|
||||
'nodes' => array("$TOPDIR/index.php", 'Nodes'),
|
||||
'layout' => array("$TOPDIR/hwctrl/layout.php", 'Layout'),
|
||||
'dsh' => array("$TOPDIR/dsh.php", 'Run Cmds'),
|
||||
'dcp' => array("$TOPDIR/dcp.php", 'Copy Files'),
|
||||
'cfm' => array("$TOPDIR/cfm.php", 'Sync Files'),
|
||||
'shell' => array("$TOPDIR/shell.php", 'Cmd on MS'),
|
||||
'import' => array("$TOPDIR/import.php", 'Import/Export'),
|
||||
));
|
||||
insertInner('open', 2,'Monitor', 'montab', $currentLink, array(
|
||||
'conditions' => array("$TOPDIR/mon", 'Conditions'),
|
||||
'responses' => array("$TOPDIR/mon/resp.php", 'Responses'),
|
||||
'sensors' => array("$TOPDIR/mon/sensor.php", 'Sensors'),
|
||||
'rmcclass' => array("$TOPDIR/mon/rmcclass.php", 'RMC Classes'),
|
||||
'auditlog' => array("$TOPDIR/mon/auditlog.php", 'Event Log'),
|
||||
'perfmon' => array("$TOPDIR/perfmon/index.php", 'Performance'),
|
||||
|
||||
));
|
||||
insertInner('open', 2,'Diagnostics', 'diagtab', $currentLink, array(
|
||||
'diagms' => array("$TOPDIR/diagms", 'MS Diags'),
|
||||
));
|
||||
|
||||
echo '</TABLE></TD></TR>';
|
||||
|
||||
insertInner('open', 1,'Documentation', 'doctab', $currentLink, array(
|
||||
'xcatdocs' => array(getDocURL('web','docs'), 'xCAT Docs'),
|
||||
'forum' => array(getDocURL('web','forum'), 'Mailing List'),
|
||||
'codeupdates' => array(getDocURL('web','updates'), 'Code Updates'),
|
||||
'opensrc' => array(getDocURL('web','opensrc'), 'Open Src Reqs'),
|
||||
'wiki' => array(getDocURL('web','wiki'), 'xCAT Wiki'),
|
||||
));
|
||||
|
||||
echo '</table></div>';
|
||||
} //end insertNav
|
||||
?>
|
||||
|
||||
|
@ -12,16 +12,18 @@ div#content {
|
||||
top: 95px;
|
||||
}
|
||||
|
||||
/* not used...
|
||||
P#logo {
|
||||
background-color: #d8dff1; /* #f5f3cf #fffdb0 */
|
||||
background-color: #d8dff1; #f5f3cf #fffdb0
|
||||
vertical-align : middle;;
|
||||
padding-top: 5px;
|
||||
text-align: center;
|
||||
padding-bottom: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
*/
|
||||
|
||||
p#Banner {
|
||||
#banner {
|
||||
font-weight: bolder;
|
||||
font-size: 20pt;
|
||||
font-style: italic;
|
||||
@ -30,6 +32,13 @@ p#Banner {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#disclaimer {
|
||||
font-weight: bold;
|
||||
font-size: 9pt;
|
||||
color: red;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.PageHeading {
|
||||
background-color: #c0c0c0;
|
||||
margin-top: 5px;
|
||||
@ -61,6 +70,8 @@ p#Banner {
|
||||
.Font8 {font-size : 8pt;}
|
||||
.Boxed { border: 1px solid gray; }
|
||||
.NoMargin { margin: 0px; }
|
||||
.Hidden { visibility : hidden ;}
|
||||
|
||||
|
||||
.but{
|
||||
background-color : #fbf999;
|
||||
@ -92,19 +103,9 @@ BODY {font-size : 10pt; font-family : Arial;
|
||||
}
|
||||
|
||||
/* The rest of the styles are for the navigation area */
|
||||
#foo {
|
||||
margin-left : 0px;
|
||||
margin-right : 0px;
|
||||
margin-top : 0px;
|
||||
margin-bottom : 0px;
|
||||
padding-top : 0px;
|
||||
padding-left : 0px;
|
||||
padding-right : 0px;
|
||||
padding-bottom : 0px;
|
||||
}
|
||||
|
||||
table#navtable {
|
||||
width: 105px;
|
||||
/* width: 105px; */
|
||||
font-size : 8pt;
|
||||
padding-left : 1px;
|
||||
border: 0px;
|
||||
@ -153,7 +154,6 @@ table#navtable {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.Hidden { visibility : hidden ;}
|
||||
|
||||
/* OuterTable is not currently used */
|
||||
.OuterTable{
|
||||
|