Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sirep
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julio Fabricio Jaramillo
sirep
Commits
1da046a0
Commit
1da046a0
authored
Apr 16, 2019
by
JULIO JARAMILLO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sub
parent
e49a40b3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
188 additions
and
0 deletions
+188
-0
index_1.php
protected/views/site/index_1.php
+20
-0
column1.php
themes/classic/views/layouts/column1.php
+7
-0
column2.php
themes/classic/views/layouts/column2.php
+31
-0
main.php
themes/classic/views/layouts/main.php
+130
-0
No files found.
protected/views/site/index_1.php
0 → 100644
View file @
1da046a0
<?php
/* @var $this SiteController */
$this
->
pageTitle
=
Yii
::
app
()
->
name
;
?>
<h1>
Welcome to
<i>
<?php
echo
CHtml
::
encode
(
Yii
::
app
()
->
name
);
?>
</i></h1>
<p>
Congratulations! You have successfully created your Yii application.
</p>
<p>
You may change the content of this page by modifying the following two files:
</p>
<ul>
<li>
View file:
<code>
<?php
echo
__FILE__
;
?>
</code></li>
<li>
Layout file:
<code>
<?php
echo
$this
->
getLayoutFile
(
'main'
);
?>
</code></li>
</ul>
<p>
For more details on how to further develop this application, please read
the
<a
href=
"http://www.yiiframework.com/doc/"
>
documentation
</a>
.
Feel free to ask in the
<a
href=
"http://www.yiiframework.com/forum/"
>
forum
</a>
,
should you have any questions.
</p>
themes/classic/views/layouts/column1.php
0 → 100644
View file @
1da046a0
<?php
/* @var $this Controller */
?>
<?php
$this
->
beginContent
(
'//layouts/main'
);
?>
<div
id=
"content"
>
<?php
echo
$content
;
?>
</div>
<!-- content -->
<?php
$this
->
endContent
();
?>
\ No newline at end of file
themes/classic/views/layouts/column2.php
0 → 100644
View file @
1da046a0
<?php
/* @var $this Controller */
?>
<?php
$this
->
beginContent
(
'//layouts/main'
);
?>
<table>
<tr>
<td>
<div
class=
"content"
>
<div
id=
"content"
>
<?php
echo
$content
;
?>
</div>
<!-- content -->
</div>
</td>
<td>
<div
class=
"span-5 last"
>
<div
id=
"sidebar"
>
<?php
$this
->
beginWidget
(
'zii.widgets.CPortlet'
,
array
(
'title'
=>
'Operaciones'
,
));
$this
->
widget
(
'zii.widgets.CMenu'
,
array
(
'items'
=>
$this
->
menu
,
'htmlOptions'
=>
array
(
'class'
=>
'operations'
),
));
$this
->
endWidget
();
?>
</div>
<!-- sidebar -->
</div>
</td>
</tr>
</table>
<?php
$this
->
endContent
();
\ No newline at end of file
themes/classic/views/layouts/main.php
0 → 100644
View file @
1da046a0
<?php
/* @var $this Controller */
?>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
>
<meta
name=
"language"
content=
"en"
>
<!-- blueprint CSS framework -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
<?php
echo
Yii
::
app
()
->
request
->
baseUrl
;
?>
/css/screen.css"
media=
"screen, projection"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
<?php
echo
Yii
::
app
()
->
request
->
baseUrl
;
?>
/css/print.css"
media=
"print"
>
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="
<?php
echo
Yii
::
app
()
->
request
->
baseUrl
;
?>
/css/ie.css" media="screen, projection">
<![endif]-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
<?php
echo
Yii
::
app
()
->
request
->
baseUrl
;
?>
/css/main.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
<?php
echo
Yii
::
app
()
->
request
->
baseUrl
;
?>
/css/form.css"
>
<title>
<?php
echo
CHtml
::
encode
(
$this
->
pageTitle
);
?>
</title>
</head>
<body>
<div
class=
"container"
id=
"page"
>
<div
id=
"header"
style=
"background-image:url(/sirep/images/banner.jpg)"
style=
"background-attachment: fixed; background-position:center;"
>
<div
id=
"logo"
>
<?php
echo
CHtml
::
encode
(
Yii
::
app
()
->
name
);
?>
</div>
</div>
<!-- header -->
<div
id=
"mainmenu"
>
<?php
$this
->
widget
(
'application.extensions.mbmenu.MbMenu'
,
array
(
'items'
=>
array
(
array
(
'label'
=>
'Home'
,
'url'
=>
array
(
'/site/index'
)),
array
(
'label'
=>
'Registrar'
,
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_registrar"
),
'items'
=>
array
(
array
(
'label'
=>
'Eventos'
,
'url'
=>
array
(
'/mzgteventos/create'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_registrar_eventos"
)),
//Nuevos cambios solicitados 762017-ca
array
(
'label'
=>
'Publicaciones'
,
'url'
=>
array
(
'/mzgtpublicaciones/create'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_registrar_publicaciones"
),
),
array
(
'label'
=>
'Libros'
,
'url'
=>
array
(
'/mzgtlibros/create'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_registrar_libros"
),
),
array
(
'label'
=>
'Consultorías'
,
'url'
=>
array
(
'/mzgtconsultorias/create'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_registrar_consultorias"
)),
array
(
'label'
=>
'Proyectos de vinculación con la Sociedad'
,
'url'
=>
array
(
'/mzgtproyvincsoci/create'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_registrar_proyvincsoci"
)),
),
),
array
(
'label'
=>
'Banco de Autores'
,
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_bancoautores"
),
'url'
=>
array
(
'/mzgtbancoautores/admin'
),
),
array
(
'label'
=>
'Exportar archivos CSV'
,
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_exportar"
),
'items'
=>
array
(
array
(
'label'
=>
'Eventos'
,
'url'
=>
array
(
'/reportes/listarEventos'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_exportar_eventos"
)),
array
(
'label'
=>
'Publicaciones'
,
'url'
=>
array
(
'/reportes/listarPublicaciones'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_exportar_publicaciones"
)),
),
),
array
(
'label'
=>
'Reportes'
,
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_reportes"
),
'items'
=>
array
(
array
(
'label'
=>
'Eventos por Carrera|Departamento|Unidad'
,
'url'
=>
array
(
'/reportes/listarEventosPorCarrera'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"reportes_eventosporcarrera"
),
),
array
(
'label'
=>
'Eventos por Tipo '
,
'url'
=>
array
(
'/reportes/listarEventosPorTipo'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"reportes_eventosportipo"
),
),
),
),
array
(
'label'
=>
'Mantenimiento'
,
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento"
),
'items'
=>
array
(
array
(
'label'
=>
'Alcances'
,
'url'
=>
array
(
'/mzgtalcances/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_alcances"
)),
array
(
'label'
=>
'Bases de datos indexadas'
,
'url'
=>
array
(
'/mzgtbasesdatosindexada/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_basesdatosindexada"
)),
array
(
'label'
=>
'Campos amplios CINE'
,
'url'
=>
array
(
'/mzgtcampamplioscine/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_campamplioscine"
)),
array
(
'label'
=>
'Campos específico CINE'
,
'url'
=>
array
(
'/mzgtcampespecificoscine/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_campespecificoscine"
)),
array
(
'label'
=>
'Instituciones'
,
'url'
=>
array
(
'/mzgtinstituciones/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_instituciones"
)),
array
(
'label'
=>
'Líneas de investigación'
,
'url'
=>
array
(
'/mzgtlineasinvestigacion/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_lineasinvestigacion"
)),
array
(
'label'
=>
'Proyectos'
,
'url'
=>
array
(
'/mzgtproyectos/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_proyectos"
)),
array
(
'label'
=>
'Tipos de eventos'
,
'url'
=>
array
(
'/mzgttiposeventos/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_tiposeventos"
)),
array
(
'label'
=>
'Tipos de publicaciones'
,
'url'
=>
array
(
'/mzgttipospublicaciones/index'
),
'visible'
=>
Yii
::
app
()
->
user
->
checkAccess
(
"menu_mantenimiento_tipospublicaciones"
)),
)),
array
(
'label'
=>
'Administrar Usuarios'
,
'url'
=>
Yii
::
app
()
->
user
->
ui
->
userManagementAdminUrl
,
'visible'
=>!
Yii
::
app
()
->
user
->
isGuest
),
array
(
'label'
=>
'Login'
,
'url'
=>
Yii
::
app
()
->
user
->
ui
->
loginUrl
,
'visible'
=>
Yii
::
app
()
->
user
->
isGuest
),
array
(
'label'
=>
'Logout ('
.
Yii
::
app
()
->
user
->
name
.
')'
,
'url'
=>
Yii
::
app
()
->
user
->
ui
->
logoutUrl
,
'visible'
=>!
Yii
::
app
()
->
user
->
isGuest
),
),
));
?>
</div>
<!-- mainmenu -->
<?php
if
(
isset
(
$this
->
breadcrumbs
))
:?>
<?
php
$this
->
widget
(
'zii.widgets.CBreadcrumbs'
,
array
(
'links'
=>
$this
->
breadcrumbs
,
));
?>
<!-- breadcrumbs -->
<?php
endif
?>
<?php
echo
$content
;
?>
<div
class=
"clear"
></div>
<div
id=
"footer"
>
Copyright
©
<?php
echo
date
(
'Y'
);
?>
by Universidad de las Fuerzas Armadas ESPE.
<br/>
All Rights Reserved.
<br/>
<?php
echo
Yii
::
powered
();
?>
</div>
<!-- footer -->
</div>
<!-- page -->
<?php
echo
Yii
::
app
()
->
user
->
ui
->
displayErrorConsole
();
?>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment