Merge branch 'ent-4154-Configuración-purgado-histórico-duplicada-+-error' into 'develop'

Added button for close error popup - #4154

See merge request artica/pandorafms!2674
This commit is contained in:
Daniel Rodriguez 2020-02-17 13:26:32 +01:00
commit a3d4fdf9c6

View File

@ -78,6 +78,23 @@
#opacity{ #opacity{
background:black;opacity:0.1;left:0px;top:0px;width:100%;height:100%; background:black;opacity:0.1;left:0px;top:0px;width:100%;height:100%;
background:black;
opacity:0.1;
left:0px;
top:0px;
width:100%;
height:100%;
position: fixed;
z-index: 1;
}
img.modalclose {
text-align: right;
float: right;
padding-right: 11px;
padding-top: 11px;
vertical-align: middle;
cursor:pointer;
} }
</style> </style>
@ -89,6 +106,7 @@ background:black;opacity:0.1;left:0px;top:0px;width:100%;height:100%;
<span class='modalheadertex'> <span class='modalheadertex'>
<?php echo __('Database error'); ?> <?php echo __('Database error'); ?>
</span> </span>
<img class='modalclose' src='<?php echo $config['homeurl']; ?>images/icono_cerrar.png'>
</div> </div>
<div class='modalconten'> <div class='modalconten'>
@ -122,7 +140,7 @@ background:black;opacity:0.1;left:0px;top:0px;width:100%;height:100%;
echo ' echo '
<a href="'.ui_get_full_external_url($docs_url).'" target="_blank"> <a href="'.ui_get_full_external_url($docs_url).'" target="_blank">
<div class="modalwikibutto cerrar"> <div class="modalwikibutto">
<span class="modalwikibuttontex">'.__('Documentation').' <span class="modalwikibuttontex">'.__('Documentation').'
</span> </span>
</div> </div>
@ -140,3 +158,12 @@ background:black;opacity:0.1;left:0px;top:0px;width:100%;height:100%;
</body> </body>
</html> </html>
<script>
$(".modalclose").click(function(){
$('div#alert_messages_na').toggle();
$('div#opacity').toggle();
});
</script>