Changed popup no access - #3625

Former-commit-id: c58c9f47bab666985ed4cfe0c9c5edf1ed057e76
This commit is contained in:
Tatiana Llorente 2019-04-12 13:54:48 +02:00
parent f5088299f3
commit 6a9c972ed6

View File

@ -4,29 +4,34 @@
<style> <style>
#alert_messages_na{ #alert_messages_na{
-moz-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
z-index:2; z-index:2;
position:fixed; position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
width:650px; width:650px;
height: 350px;
background:white; background:white;
background-image:url('images/image_problem_area.png');
justify-content: center;
display: flex;
flex-direction: column;
box-shadow:4px 5px 10px 3px rgba(0, 0, 0, 0.4);
} }
.modalheade{ .modalheade{
text-align:center; text-align:center;
width:100%; width:100%;
height:37px; position:absolute;
left:0px; top:0;
background-color:#82b92e;
} }
.modalheadertex{ .modalheadertex{
color:white; color:#000;
position:relative;
font-family:Nunito; font-family:Nunito;
font-size:13pt; line-height: 40px;
top:8px; font-size: 25pt;
margin-bottom:30px;
} }
.modalclose{ .modalclose{
cursor:pointer; cursor:pointer;
@ -38,49 +43,59 @@
.modalconten{ .modalconten{
color:black; color:black;
background:white; background:white;
} width:350px;
.modalcontentim{ margin-left: 30px;
float:left;
margin-left:30px;
margin-top:30px;
margin-bottom:30px;
} }
.modalcontenttex{ .modalcontenttex{
float:left;
text-align:justify; text-align:justify;
color:black; color:black;
font-size: 9.5pt; font-size: 11pt;
line-height:13pt; line-height:13pt;
margin-top:30px; margin-bottom:30px;
width:430px;
margin-left:30px;
} }
.modalokbutto{ .modalokbutto{
cursor:pointer; cursor:pointer;
text-align:center; text-align:center;
margin-right:45px; display: inline-block;
float:right; padding: 6px 45px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
margin-bottom:30px; border-radius: 3px;
border-radius: 3px;width:90px;height:30px;background-color:white;border: 1px solid #82b92e; background-color:white;
border: 1px solid #82b92e;
} }
.modalokbuttontex{ .modalokbuttontex{
color:#82b92e;font-family:Nunito;font-size:10pt;position:relative;top:6px; color:#82b92e;
font-family:Nunito;
font-size:13pt;
} }
.modalgobutto{ .modalgobutto{
cursor:pointer;text-align:center;margin-right:15px;margin-bottom:30px;float:right;-moz-border-radius: 3px; cursor:pointer;
-webkit-border-radius: 3px;border-radius: 3px;width:240px;height:30px;background-color:white;border: 1px solid #82b92e; text-align:center;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
background-color:white;
border: 1px solid #82b92e;
} }
.modalgobuttontex{ .modalgobuttontex{
color:#82b92e;font-family:Nunito;font-size:10pt;position:relative;top:6px; color:#82b92e;
font-family:Nunito;
font-size:10pt;
} }
#opacida{ #opacidad{
position:absolute;background:black;opacity:0.6;z-index:-1;left:0px;top:0px;width:100%;height:100%; position:fixed;
background:black;
opacity:0.6;
z-index:-1;
left:0px;
top:0px;
width:100%;
height:100%;
} }
/*
.textodialog{ .textodialog{
margin-left: 0px; margin-left: 0px;
color:#333; color:#333;
@ -101,25 +116,23 @@ position:absolute;background:black;opacity:0.6;z-index:-1;left:0px;top:0px;width
.cargatextodialog p, .cargatextodialog b, .cargatextodialog a{ .cargatextodialog p, .cargatextodialog b, .cargatextodialog a{
font-size:18pt; font-size:18pt;
} }
*/
</style> </style>
</head> </head>
<body> <body>
<div id="alert_messages_na"> <div id="alert_messages_na">
<div class='modalheade'> <div class='modalheade'>
<span class='modalheadertex'> <img class='modalclose cerrar' src='<?php echo $config['homeurl']; ?>images/input_cross.png'>
<?php echo __("You don't have access to this page"); ?>
</span>
<img class='modalclose cerrar' src='<?php echo $config['homeurl']; ?>images/icono_cerrar.png'>
</div> </div>
<div class='modalconten'> <div class='modalconten'>
<img class='modalcontentim' src='<?php echo $config['homeurl']; ?>images/access_denied.png'> <div class='modalheadertex'>
<?php echo __("You don't have access to this page"); ?>
</div>
<div class='modalcontenttex'> <div class='modalcontenttex'>
<?php <?php
echo __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance.'); echo __('Access to this page is restricted to authorized users only, please contact system administrator if you need assistance.');
@ -129,24 +142,23 @@ position:absolute;background:black;opacity:0.6;z-index:-1;left:0px;top:0px;width
</div> </div>
<div class='modalokbutto cerrar'>
<span class='modalokbuttontex'>OK</span>
</div>
</div>
</div>
</div> <div id="opacidad"></div>
<div class='modalokbutto cerrar'>
<span class='modalokbuttontex'>OK</span>
</div>
</div>
<div id="opacida" style="position:fixed;background:black;opacity:0.6;z-index:-1;left:0px;top:0px;width:100%;height:100%;"></div>
</body> </body>
</html> </html>
<script> <script>
$(".cerrar").click(function(){ $(".cerrar").click(function(){
window.location="."; window.location=".";
}); });
$('div#page').css('background-color','#a5a5a5');
</script> </script>