1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

OZones GUI: Style fixes after vendor update

This commit is contained in:
Hector Sanjuan 2011-11-30 11:41:03 +01:00 committed by Tino Vazquez
parent 61962e5dc3
commit a59859ce98
3 changed files with 33 additions and 21 deletions

View File

@ -215,6 +215,12 @@ label{
text-align:left;
}
.dataTables_wrapper label {
float: none;
width: auto;
padding: 0 0;
text-align:right;
}
div.tip {
display: inline-block;
@ -411,7 +417,7 @@ tr.even:hover{
}
.top_button {
font-size: 0.8em;
font-size: 0.8em!important;
height: 25px;
margin: 3px 2px;
vertical-align: middle;
@ -578,4 +584,13 @@ ul.dd_right{
}
ul.dd_left{
}
.ui-widget{
font: 10pt Arial, Verdana, Geneva, Helvetica, sans-serif;
}
.ui-layout-resizer-open-hover, /* hover-color to 'resize' */
.ui-layout-resizer-dragging {
background: #EEE;
}

View File

@ -44,19 +44,26 @@ body {
}
#header {
padding:0;
padding: 0 10px 0 10px;
background-color: #353735;
border:0;
}
#footer {
padding:0;
padding-top: 9px;
font-size: 0.8em;
color: white;
text-align: center;
background-color: #353735;
border:0;
}
#header {
padding: 0 10px 0 10px;
background-color: #353735;
#footer a {
color: white;
text-decoration: underline;
}
#logo {
padding-top: 6px;
font-weight: bold;
@ -87,18 +94,6 @@ body {
color: #88C140;
}
#footer {
padding-top: 9px;
font-size: 0.8em;
color: white;
text-align: center;
}
#footer a {
color: white;
text-decoration: underline;
}
#logo-wrapper {
float: right;
margin-top: 0px;
@ -108,6 +103,7 @@ body {
#menu {
padding-right: 0;
padding-left: 0;
border:0;
border-right: 1px solid #353735;
background-image: -webkit-gradient(
linear,

View File

@ -42,7 +42,7 @@ var create_vdc_tmpl =
<label for="vdcadminname">Admin name:</label>\
<input type="text" name="vdcadminname" id="vdcadminname" /><br />\
<label for="vdcadminpass">Admin pass:</label>\
<input type="password" name="vdcadminpass" id="vdcadminpass" />\
<input type="password" name="vdcadminpass" id="vdcadminpass" /><br />\
<label for="zone">Zone:</label>\
<select id="zoneid" name="zone">\
</select><br />\
@ -52,7 +52,8 @@ var create_vdc_tmpl =
<div class="tip">Allows hosts belonging to other VDCs to be re-added to this one. They will appear greyed-out in the lists.</div>\
<div class="clear"></div>\
<label style="margin-left:265px;font-size:0.8em;color:#bbbbbb">Drag & Drop</label>\
<label style="margin-left:243px;font-size:0.8em;color:#bbbbbb">Available / Selected</label>\
<label style="margin-left:243px;font-size:0.8em;color:#bbbbbb">Available / Selected</label><br />\
<div class="clear"></div>\
<label>Hosts:</label>\
<div id="vdc_hosts_lists" class="dd_lists" style="width:250px">\
<ul id="vdc_available_hosts_list" class="dd_list dd_left" style="width:115px"></ul>\
@ -278,7 +279,7 @@ function updateVDCInfo(req,vdc_json){
var zone_host = "";
var zone_port = "";
var sun_link = "";
var zone_match = zone_endpoint.match(/^https?:\/\/([\w.]+):(\d+)\/([\W\w]+)$/);
var zone_match = zone_endpoint.match(/^https?:\/\/([\w.-]+):(\d+)\/([\W\w]+)$/);
if (zone_match){
zone_host = zone_match[1];