mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Minor fixes to GUIs style.
(cherry picked from commit bd2d5b557c3b973652e8760447a958a576450b53)
This commit is contained in:
parent
48f83532a2
commit
e5c4aeaba2
@ -471,15 +471,15 @@ tr.even:hover{
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.jGrowl-notification, .jGrowl-closer, .jGrowl-notify-submit {
|
||||
.jGrowl-notification, .jGrowl-notify-submit {
|
||||
border: 2px #444444 solid;
|
||||
background-color: #F3F3F3;
|
||||
background-color: #F3F3F3!important;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.jGrowl-notify-error {
|
||||
border: 2px #660000 solid;
|
||||
background-color: #F39999;
|
||||
background-color: #F39999!important;
|
||||
color: #660000;
|
||||
}
|
||||
|
||||
|
@ -478,15 +478,15 @@ tr.even:hover{
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.jGrowl-notification, .jGrowl-closer, .jGrowl-notify-submit {
|
||||
.jGrowl-notification, .jGrowl-notify-submit {
|
||||
border: 2px #444444 solid;
|
||||
background-color: #F3F3F3;
|
||||
background-color: #F3F3F3!important;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.jGrowl-notify-error {
|
||||
border: 2px #660000 solid;
|
||||
background-color: #F39999;
|
||||
background-color: #F39999!important;
|
||||
color: #660000;
|
||||
}
|
||||
|
||||
|
@ -686,6 +686,12 @@ function setupConfirmDialogs(){
|
||||
var value = $(this).val();
|
||||
var action = SunstoneCfg["actions"][value];
|
||||
var param = $('select#confirm_select',context).val();
|
||||
|
||||
if (!param.length){
|
||||
notifyError("You must select a value");
|
||||
return false;
|
||||
};
|
||||
|
||||
if (!action) { notifyError("Action "+value+" not defined."); return false;};
|
||||
switch (action.type){
|
||||
case "multiple": //find the datatable
|
||||
|
Loading…
x
Reference in New Issue
Block a user