Add new images to mobile version and fixed problems. Ticket internal: 79
(cherry picked from commit 06b981e984
)
This commit is contained in:
parent
0ea6467045
commit
f53de09659
Binary file not shown.
After Width: | Height: | Size: 323 B |
Binary file not shown.
After Width: | Height: | Size: 392 B |
Binary file not shown.
After Width: | Height: | Size: 348 B |
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 7.8 KiB |
|
@ -989,8 +989,9 @@ li.ui-btn {
|
|||
}
|
||||
|
||||
.login_logo img {
|
||||
width: 185px;
|
||||
width: 220px;
|
||||
margin-bottom: 10px;
|
||||
padding-top: 5%;
|
||||
}
|
||||
|
||||
.untiny {
|
||||
|
@ -1033,6 +1034,7 @@ li.ui-btn {
|
|||
.login_logo img {
|
||||
width: 300px;
|
||||
margin-bottom: 20px;
|
||||
padding-top: 5%;
|
||||
}
|
||||
|
||||
.tiny {
|
||||
|
@ -1044,6 +1046,7 @@ li.ui-btn {
|
|||
width: 60%;
|
||||
margin: 0 auto;
|
||||
max-width: 300px;
|
||||
padding-top: 5%;
|
||||
}
|
||||
|
||||
.event_name {
|
||||
|
@ -1089,35 +1092,35 @@ table.tactical_bars {
|
|||
/*INIT-----------Icons styles---------------------------------------*/
|
||||
|
||||
.ui-icon-tactical_view {
|
||||
background-image: url(../../../images/op_monitoring.png) !important;
|
||||
background-image: url(../../../images/op_monitoring.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-events {
|
||||
background-image: url(../../../images/op_events.png) !important;
|
||||
background-image: url(../../../images/op_events.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-groups {
|
||||
background-image: url(../../../images/group.png) !important;
|
||||
background-image: url(../../../images/group.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-alerts {
|
||||
background-image: url(../../../images/op_alerts.png) !important;
|
||||
background-image: url(../../../images/op_alerts.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-agents {
|
||||
background-image: url(../../../images/agent_mc.png) !important;
|
||||
background-image: url(../../../images/agent_mc.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-modules {
|
||||
background-image: url(../../../images/brick.png) !important;
|
||||
background-image: url(../../../images/brick.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-network_maps {
|
||||
background-image: url(../../../images/op_network.png) !important;
|
||||
background-image: url(../../../images/op_network.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-visual_console {
|
||||
background-image: url(../../../images/visual_console.png) !important;
|
||||
background-image: url(../../../images/visual_console.menu.png) !important;
|
||||
}
|
||||
|
||||
.ui-icon-tactical_view, .ui-icon-events,
|
||||
|
|
|
@ -202,6 +202,7 @@ class User {
|
|||
global $pandora_version;
|
||||
|
||||
$ui = Ui::getInstance();
|
||||
$system = System::getInstance();
|
||||
|
||||
$ui->createPage();
|
||||
if ($this->errorLogin) {
|
||||
|
@ -224,36 +225,42 @@ class User {
|
|||
$ui->createHeader();
|
||||
$ui->showFooter(false);
|
||||
$ui->beginContent();
|
||||
$ui->contentAddHtml('<div style="text-align: center;" class="login_logo">' .
|
||||
html_print_image ("mobile/images/pandora_mobile_console.png",
|
||||
true, array ("alt" => "logo", "border" => 0)) .
|
||||
'</div>');
|
||||
$ui->contentAddHtml('<div id="login_container">');
|
||||
$ui->beginForm();
|
||||
$ui->formAddHtml(html_print_input_hidden('action', 'login', true));
|
||||
$options = array(
|
||||
'name' => 'user',
|
||||
'value' => $this->user,
|
||||
'placeholder' => __('user'),
|
||||
'label' => __('User')
|
||||
);
|
||||
$ui->formAddInputText($options);
|
||||
$options = array(
|
||||
'name' => 'password',
|
||||
'value' => '',
|
||||
'placeholder' => __('password'),
|
||||
'label' => __('Password')
|
||||
);
|
||||
$ui->formAddInputPassword($options);
|
||||
$options = array(
|
||||
'value' => __('Login'),
|
||||
'icon' => 'arrow-r',
|
||||
'icon_pos' => 'right',
|
||||
'name' => 'login_btn'
|
||||
);
|
||||
$ui->formAddSubmitButton($options);
|
||||
$ui->endForm();
|
||||
$ui->contentAddHtml('</div>');
|
||||
|
||||
if (!$system->getConfig('metaconsole'))
|
||||
$logo_image = html_print_image ("mobile/images/pandora_mobile_console.png",
|
||||
true, array ("alt" => "logo", "border" => 0));
|
||||
else
|
||||
$logo_image = html_print_image ("mobile/images/metaconsole_mobile.png",
|
||||
true, array ("alt" => "logo", "border" => 0),false, false, false, true);
|
||||
|
||||
$ui->contentAddHtml('<div style="text-align: center;" class="login_logo">' .
|
||||
$logo_image . '</div>');
|
||||
$ui->contentAddHtml('<div id="login_container">');
|
||||
$ui->beginForm();
|
||||
$ui->formAddHtml(html_print_input_hidden('action', 'login', true));
|
||||
$options = array(
|
||||
'name' => 'user',
|
||||
'value' => $this->user,
|
||||
'placeholder' => __('user'),
|
||||
'label' => __('User')
|
||||
);
|
||||
$ui->formAddInputText($options);
|
||||
$options = array(
|
||||
'name' => 'password',
|
||||
'value' => '',
|
||||
'placeholder' => __('password'),
|
||||
'label' => __('Password')
|
||||
);
|
||||
$ui->formAddInputPassword($options);
|
||||
$options = array(
|
||||
'value' => __('Login'),
|
||||
'icon' => 'arrow-r',
|
||||
'icon_pos' => 'right',
|
||||
'name' => 'login_btn'
|
||||
);
|
||||
$ui->formAddSubmitButton($options);
|
||||
$ui->endForm();
|
||||
$ui->contentAddHtml('</div>');
|
||||
$ui->endContent();
|
||||
$ui->showPage();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ if (function_exists ('mb_internal_encoding')) {
|
|||
mb_internal_encoding ("UTF-8");
|
||||
}
|
||||
|
||||
$develop_bypass = 1;
|
||||
$develop_bypass = 0;
|
||||
|
||||
require_once("include/ui.class.php");
|
||||
require_once("include/system.class.php");
|
||||
|
|
Loading…
Reference in New Issue