Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1 | Rev 15350 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
$notify = '';
3
$messages = $this->flashMessenger()->getInfoMessages();
4
foreach($messages as $message)
5
{
6
    $notify .= "$.fn.showInfo('$message')";
7
}
8
 
9
$messages = $this->flashMessenger()->getSuccessMessages();
10
foreach($messages as $message)
11
{
12
    $notify .= "$.fn.showSuccess('$message')";
13
}
14
 
15
$messages = $this->flashMessenger()->getWarningMessages();
16
foreach($messages as $message)
17
{
18
    $notify .= " $.fn.showWarning('$message')";
19
}
20
 
21
$messages = $this->flashMessenger()->getErrorMessages();
22
foreach($messages as $message)
23
{
24
    $notify .= " $.fn.showError('$message')";
25
}
26
 
27
if($notify) {
28
    $this->inlineScript()->captureStart();
29
    echo " jQuery( document ).ready(function( $ ) { $notify }); ";
30
    $this->inlineScript()->captureEnd();
31
}
32
 
33
 
34
?>
35
<!DOCTYPE html>
36
<html lang="es">
37
	<head>
38
		<?php
39
        echo $this->headTitle();
40
        echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
41
            ->appendHttpEquiv('expires','0')
42
        	->appendHttpEquiv('expires','Tue, 01 Jan 1980 1:00:00 GMT')
43
        	->appendHttpEquiv('pragma', 'no-cache')
44
        	->appendHttpEquiv('Cache-Control', 'no-store')
45
        	->appendHttpEquiv('Cache-Control', 'max-age=0')
46
        	->appendHttpEquiv('Cache-Control', 'no-cache')
47
        	->appendHttpEquiv('charset', 'UTF-8')
48
        	->appendName('viewport', 'width=device-width, initial-scale=1.0');
49
        ?>
50
 
51
	    <!-- Google Font: Source Sans Pro -->
52
		<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
53
        <!-- Font Awesome -->
54
		<link rel="stylesheet" href="<?php echo $this->basePath('plugins/fontawesome-free/css/all.min.css') ?>">
55
        <!-- icheck bootstrap -->
56
      	<link rel="stylesheet" href="<?php echo $this->basePath('plugins/icheck-bootstrap/icheck-bootstrap.min.css') ?>">
57
        <!-- Theme style -->
58
      	<link rel="stylesheet" href="<?php echo $this->basePath('css/adminlte.min.css') ?>">
59
  	    <!-- App style -->
60
      	<link rel="stylesheet" href="<?php echo $this->basePath('css/app.css') ?>">
61
 
62
        <?php
63
        echo $this->headStyle();
15337 efrain 64
        echo $this->networkStylesAndColorsHelper();
1 www 65
        echo $this->headLink();
66
        echo $this->headScript();
67
        ?>
68
    </head>
69
    <body class="hold-transition login-page">
70
    	<!-- /.login-box -->
71
    	<div class="login-box">
72
			<?php echo $this->content ?>
73
    	</div>
74
        <!-- /.login-box -->
75
 
76
        <!-- jQuery -->
77
    	<script src="<?php echo $this->basePath('plugins/jquery/jquery.min.js') ?>"></script>
78
        <!-- Bootstrap 4 -->
79
		<script src="<?php echo $this->basePath('plugins/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
80
        <!-- AdminLTE App -->
81
    	<script src="<?php echo $this->basePath('js/adminlte.min.js') ?>"></script>
82
 
83
    	<!--  Aplicacion -->
84
    	<script src="<?php echo $this->basePath('plugins/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>
85
    	<script src="<?php echo $this->basePath('js/app.js') ?>"></script>
86
		<?php
87
        echo $this->inlineScript();
88
        ?>
89
 
90
    </body>
91
</html>