Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 165

Añadido por jredrejo hace alrededor de 14 años

corregido error al mostrar las aulas, quitado enlace de cambiar contraseña y añadida entrada para portátiles

Ver diferencias:

controlies/branches/web2py/applications/controlies/models/menu.py
('Servidores LTSP',False, URL( 'hosts', 'getLTSPServers' )),
('Workstations', False,URL( 'hosts', 'workstations' )),
('Clientes Ligeros', False,URL( 'hosts', 'thinclient' )),
('Portátiles', False,URL( 'hosts', 'portatil' )),
('Parámetros DHCP', False,URL( 'dhcpd', 'index' )),
]
controlies/branches/web2py/applications/controlies/controllers/hosts.py
def thinclient():
return dict()
def portatil():
return dict()
controlies/branches/web2py/applications/controlies/views/grupos/index.html
datatype: "json",
colNames:['Tipo Grupo','Nombre','ID Grupo','Nº Usuarios'],
colModel:[
{name:'type',index:'type', width:60, align:"center", stype:'select', editoptions:{value:":Todo;Departamento:Departamentos;Curso:Cursos"}},
{name:'type',index:'type', width:60, align:"center", stype:'select', editoptions:{value:":Todo;Departamento:Departamentos;Aula:Cursos"}},
{name:'cn',index:'cn', width:80, align:"center"},
{name:'gidNumber',index:'gidNumber', width:60, align:"center"},
{name:'usersNumber',index:'usersNumber', width:60, align:"center"}
controlies/branches/web2py/applications/controlies/views/layout.html
<div id="header"> <!-- header and login nav -->
{{block header}} <!-- this is default header -->
{{try:}}{{=auth.navbar(action=URL('default','user'))}}{{except:pass}}
{{try:}}{{=SPAN(T('Welcome'),' ',auth.user.first_name,' [ ', A(T('logout'),_href=URL('default','user')+'/logout'), ']',_class='auth_navbar')}}{{except:pass}}
<h1>&nbsp;&nbsp;Control<span class="fontTitle">IES</span>&nbsp;&nbsp;<span class="subTitle">Centros Educativos de Extremadura</span></h1>
<div style="clear: both;"></div><!-- Clear the divs -->

Exportar a: Unified diff