Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 8905 | Rev 8907 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 8905 Rev 8906
Línea 1... Línea 1...
1
<?php
1
<?php
2
use LeadersLinked\Model\UserType;
-
 
3
 
-
 
4
$currentUser    = $this->currentUserHelper();
2
$currentUser    = $this->currentUserHelper();
5
$user = $currentUser->getUser();
3
$user = $currentUser->getUser();
6
$company = $currentUser->getCompany();
4
$company = $currentUser->getCompany();
Línea 7... Línea 5...
7
 
5
 
Línea 84... Línea 82...
84
		name: "",
82
		name: "",
85
	}	
83
	}	
86
JS;
84
JS;
87
}
85
}
88
$this->inlineScript()->appendScript($js);
86
$this->inlineScript()->appendScript($js);
89
$this->inlineScript()->appendFile('js/adminlte.min.js');
-
 
90
$this->inlineScript()->appendFile('/react-bundles/menu/menuBundle.js');
87
$this->inlineScript()->appendFile('/react-bundles/menu/menuBundle.js');
91
?>
88
?>
92
<!DOCTYPE html>
89
<!DOCTYPE html>
93
<html lang="es">
90
<html lang="es">
Línea 126... Línea 123...
126
<body class="hold-transition sidebar-mini">
123
<body class="hold-transition sidebar-mini">
127
	<!-- Site wrapper -->
124
	<!-- Site wrapper -->
128
	<div class="wrapper">
125
	<div class="wrapper">
Línea 129... Línea 126...
129
 
126
 
-
 
127
		<!-- Main Sidebar Container -->
-
 
128
		<aside class="main-sidebar sidebar-light-primary right-border">
-
 
129
			<!-- Brand Logo -->
-
 
130
			<a href="<?php echo $this->url('dashboard') ?>" class="brand-link">
-
 
131
				<?php if ($company) :
130
		<!-- Main Sidebar Container -->
132
					$names = explode(' ', $company->name);
-
 
133
 
-
 
134
				?>
-
 
135
					<img src="<?php echo $this->url('storage', ['type' => 'company', 'code' => $company->uuid, 'filename' => $company->image]) ?>" alt="<?php echo $company->name ?>" class="brand-image " style="opacity: .8; background-color: white">
-
 
136
					<span class="brand-text font-weight-light"><?php echo $names[0] ?></span>
-
 
137
 
-
 
138
				<?php else : ?>
-
 
139
					<img src="<?php echo $this->basePath('img/logo-ll34x34.png') ?>" alt="Administrador" class="brand-image " style="opacity: .8; background-color: white">
-
 
140
					<span class="brand-text font-weight-light">Admin</span>
-
 
141
				<?php endif; ?>
-
 
142
			</a>
-
 
143
 
131
		
144
			<!-- Sidebar -->
-
 
145
			<div class="sidebar" id="menu-sidebar">
-
 
146
 
-
 
147
			</div>
-
 
148
			<!-- /.sidebar -->
Línea 132... Línea 149...
132
		<div id="menu-sidebar"></div>
149
		</aside>
133
 
150
 
134
		<!-- Content Wrapper. Contains page content -->
151
		<!-- Content Wrapper. Contains page content -->
135
		<div class="content-wrapper">
152
		<div class="content-wrapper">
Línea 144... Línea 161...
144
	<!-- jQuery -->
161
	<!-- jQuery -->
145
	<script src="<?php echo $this->basePath('plugins/jquery/jquery.js') ?>"></script>
162
	<script src="<?php echo $this->basePath('plugins/jquery/jquery.js') ?>"></script>
146
	<!-- Bootstrap 4 -->
163
	<!-- Bootstrap 4 -->
147
	<script src="<?php echo $this->basePath('plugins/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
164
	<script src="<?php echo $this->basePath('plugins/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
148
	<!-- AdminLTE App -->
165
	<!-- AdminLTE App -->
-
 
166
	<script src="<?php echo $this->basePath('js/adminlte.min.js') ?>"></script>
149
	<!--  Aplicacion -->
167
	<!--  Aplicacion -->
150
	<script src="<?php echo $this->basePath('plugins/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>
168
	<script src="<?php echo $this->basePath('plugins/bootstrap-notify/bootstrap-notify.min.js') ?>"></script>
151
	<script src="<?php echo $this->basePath('js/app.js') ?>"></script>
169
	<script src="<?php echo $this->basePath('js/app.js') ?>"></script>
152
	<?php
170
	<?php
153
	echo $this->inlineScript();
171
	echo $this->inlineScript();