mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Added some definitive images and fixed several design issues
This commit is contained in:
parent
9fbeab4975
commit
e578c8ff64
@ -135,10 +135,10 @@ if ($email == 'admin@example.com') $email = '';
|
|||||||
// Prints accept register license
|
// Prints accept register license
|
||||||
echo '<div id="login_accept_register" title="' .
|
echo '<div id="login_accept_register" title="' .
|
||||||
__('Pandora FMS instance identification wizard') . '" style="">';
|
__('Pandora FMS instance identification wizard') . '" style="">';
|
||||||
echo '<div style="font-size: 15pt; margin: 20px 0; float: left; padding-left: 15px;">';
|
echo '<div style="margin: 20px 0; float: left; padding-left: 15px;">';
|
||||||
echo html_print_image ('images/support.png', true);
|
echo html_print_image ('images/pandora_circle_big.png', true);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div style="font-size: 15pt; margin: 20px; float: left;">';
|
echo '<div style="font-size: 12pt; margin: 25px 20px; float: left;">';
|
||||||
echo __('KEEP UPDATED!');
|
echo __('KEEP UPDATED!');
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ echo '</div>';
|
|||||||
// Print yes or not dialog
|
// Print yes or not dialog
|
||||||
echo '<div id="login_registration_yesno" title="' .
|
echo '<div id="login_registration_yesno" title="' .
|
||||||
__('Pandora FMS instance identification wizard') . '" style="">';
|
__('Pandora FMS instance identification wizard') . '" style="">';
|
||||||
echo '<div style="font-size: 15pt; margin: 20px;">';
|
echo '<div style="font-size: 12pt; margin: 20px;">';
|
||||||
echo __("Do you want to continue without any registration") . "?";
|
echo __("Do you want to continue without any registration") . "?";
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div style="float: left; padding-left: 15px; padding-top: 20px;">';
|
echo '<div style="float: left; padding-left: 15px; padding-top: 20px;">';
|
||||||
@ -189,9 +189,9 @@ echo '</div>';
|
|||||||
// Print feedback user dialog
|
// Print feedback user dialog
|
||||||
echo '<div id="ui_messages_feedback" style="">';
|
echo '<div id="ui_messages_feedback" style="">';
|
||||||
echo '<div style="float: left; margin: 15px; margin-left: 5px;">';
|
echo '<div style="float: left; margin: 15px; margin-left: 5px;">';
|
||||||
echo html_print_image ('images/support.png', true);
|
echo html_print_image ('images/success_circle_big.png', true);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div id="feedback_message" style="font-size: 15pt; margin: 20px; padding-left:80px;"></div>';
|
echo '<div id="feedback_message" style="font-size: 13pt; margin: 15px 20px; padding-left:80px;"></div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -231,7 +231,9 @@ function submit_open_wizard (register, newsletter, email, forced) {
|
|||||||
if (i == 'status') feedback_status = val;
|
if (i == 'status') feedback_status = val;
|
||||||
});
|
});
|
||||||
if (feedback_status == 0) {
|
if (feedback_status == 0) {
|
||||||
$("#ui_messages_feedback img").attr("src", "images/error_login.png");
|
$("#ui_messages_feedback img").attr("src", "images/fail_circle_big.png");
|
||||||
|
} else {
|
||||||
|
$("#ui_messages_feedback img").attr("src", "images/success_circle_big.png");
|
||||||
}
|
}
|
||||||
$("#feedback_message").html(feedback_message);
|
$("#feedback_message").html(feedback_message);
|
||||||
},
|
},
|
||||||
@ -266,7 +268,9 @@ $("#submit-finish_dialog_button").click (function () {
|
|||||||
var register_forced = register ? 1 : 0;
|
var register_forced = register ? 1 : 0;
|
||||||
submit_open_wizard (register_forced, newsletter, email, display_forced);
|
submit_open_wizard (register_forced, newsletter, email, display_forced);
|
||||||
$("#login_accept_register" ).dialog('close');
|
$("#login_accept_register" ).dialog('close');
|
||||||
$("#ui_messages_feedback").dialog('open');
|
if (register || newsletter) {
|
||||||
|
$("#ui_messages_feedback").dialog('open');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -299,14 +303,14 @@ $(document).ready (function () {
|
|||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
height: 350,
|
height: 350,
|
||||||
width: 630,
|
width: 570
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#login_registration_yesno").dialog({
|
$("#login_registration_yesno").dialog({
|
||||||
resizable: false,
|
resizable: false,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
width: 400,
|
width: 320,
|
||||||
overlay: {
|
overlay: {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
background: "black"
|
background: "black"
|
||||||
@ -319,7 +323,7 @@ $(document).ready (function () {
|
|||||||
resizable: false,
|
resizable: false,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
width: 350,
|
width: 300,
|
||||||
overlay: {
|
overlay: {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
background: "black"
|
background: "black"
|
||||||
@ -366,7 +370,7 @@ $(document).ready (function () {
|
|||||||
height: 100px;
|
height: 100px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
border: 1px solid grey;
|
border: 1px solid #E4E4E4;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,12 +40,15 @@ $buttons = array(
|
|||||||
'online' => array(
|
'online' => array(
|
||||||
'active' => ($tab == 'online') ? true : false,
|
'active' => ($tab == 'online') ? true : false,
|
||||||
'text' => '<a href="index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=online">' .
|
'text' => '<a href="index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=online">' .
|
||||||
html_print_image("images/op_gis.png", true, array ("title" => __('Online update manager'))) .'</a>'),
|
html_print_image("images/op_gis.png", true, array ("title" => __('Online update manager'))) .'</a>')
|
||||||
'messages' => array(
|
);
|
||||||
|
|
||||||
|
if (license_free()) {
|
||||||
|
$buttons['messages'] = array(
|
||||||
'active' => ($tab == 'messages') ? true : false,
|
'active' => ($tab == 'messages') ? true : false,
|
||||||
'text' => '<a href="index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=messages">' .
|
'text' => '<a href="index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=messages">' .
|
||||||
html_print_image("images/hourglass.png", true, array ("title" => __('Update manager messages'))) .'</a>')
|
html_print_image("images/email_mc.png", true, array ("title" => __('Update manager messages'))) .'</a>');
|
||||||
);
|
}
|
||||||
|
|
||||||
switch ($tab) {
|
switch ($tab) {
|
||||||
case 'setup':
|
case 'setup':
|
||||||
|
BIN
pandora_console/images/fail_circle_big.png
Normal file
BIN
pandora_console/images/fail_circle_big.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
pandora_console/images/pandora_circle_big.png
Normal file
BIN
pandora_console/images/pandora_circle_big.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
pandora_console/images/success_circle_big.png
Normal file
BIN
pandora_console/images/success_circle_big.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
x
Reference in New Issue
Block a user