Commit 9a2bda7f by Manuel De la Penna

ajustes visuales

parent 4c810f2f
......@@ -67,15 +67,15 @@
</nav>-->
<div class="container">
<div class="row">
<div id="botonera" class="col-xs-12 text-center">
<div id="botonera" class="col-xs-12">
<span id="version" class="label label-default"></span>
<span id="tarea" class="label label-default"></span>
<span id="usuario" class="label label-default"></span>
<button id="logout" type="button" class="btn btn-danger btn-sm">
<span id="tarea" class="label label-primary"></span>
<span id="usuario" class="label label-success"></span>
<button id="logout" type="button" class="btn btn-danger btn-sm pull-right">
Logout
<span class="glyphicon glyphicon-log-out"></span>
</button>
<button id="login" type="button" class="btn btn-success btn-sm">
<button id="login" type="button" class="btn btn-success btn-sm pull-right">
Login
<span class="glyphicon glyphicon-log-in"></span>
</button>
......@@ -210,7 +210,7 @@
Interfaz.addListeners();
Interfaz.setModoLadoView();
Relevador.tarea = 'v31a2017';
Relevador.version = 'v1.0';
Relevador.version = '1.0';
Interfaz.setAppData();
//Offline.options = {checks: {xhr: {url: window.location.href + 'test-connection.html'}}};
//Offline.check();
......
......@@ -16,14 +16,14 @@ Interfaz.addHistory=function(positionObject){
Interfaz.setAppData=function(){
Relevador.token = token;
$('#version').text(Relevador.version);
$('#tarea').text('Tarea: ' + Relevador.tarea);
$('#tarea').text(Relevador.tarea);
var token = LocalStorage.get('token');
if($.isEmptyObject(token)){
$('#logout').addClass('hidden');
$('#login').removeClass('hidden');
$('#usuario').text('');
}else{
$('#usuario').text('usuario: ' + token.usuario);
$('#usuario').text(token.usuario);
$('#logout').removeClass('hidden');
$('#login').addClass('hidden');
}
......
CACHE MANIFEST
# Version 0.0.13
# Version 0.0.14
#--------------------------- HTMLs ---------------------------------
index.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment