Commit 5acbb2b8 authored by Manuel De la Penna's avatar Manuel De la Penna

se acomoda pantalla de backend plus para loguearse con cel

parent 2fa1a1b0
doctype html
html
head
meta(name='viewport', content='width=device-width, initial-scale=1.0, user-scalable = no')
link(rel='stylesheet', href=skinUrl+'css/login.css')
body
form(id="loginForm", action="login", method="post")
table.logintable
tr
td(colspan=4)
h2.formtitle=msgs.login.title
tr
td.iconostd
label(for="username")
img.iconoslog(src=skinUrl+'img/iconousuario.png')
td.formlabel
label(for="username")=msgs.login.username
td.formtd
input(id="username", type="text", name="username", autofocus=true, placeholder=usernameLabel)
td.logintableRightImg(rowspan=3)
img.formImg#loginFormRightImg(src=skinUrl+'img/login-lock-icon.png')
tr
td.iconostd
label(for="password")
img.iconoslog(src=skinUrl+'img/iconopass.png')
td.formlabel
label(for="password")=msgs.login.password
td.formtd
input(id="password", type="password", name="password" placeholder=passwordLabel)
tr
td.iconostd.buttonmargin
td.formlabel.buttonmargin
td(colspan=4)
input.submit(type="submit", value=msgs.login.button)
each errorLine in (flash.error||[])
tr(style={color:'red'})
td(colspan=5)=errorLine
if autoLogin
script(src="auto-login.js")
\ No newline at end of file
"use strict";
var viewPortTag=document.createElement('meta');
viewPortTag.id="viewport";
viewPortTag.name = "viewport";
viewPortTag.content = "width=device-width, initial-scale=1.0, user-scalable=0";
document.getElementsByTagName('head')[0].appendChild(viewPortTag);
myOwn.wScreens.proc.result.setToken=function(result, div){
localStorage.setItem('token', JSON.stringify(result));
div.innerText='El token para el usuario ' + result.usuario + ' y la tarea "' + result.tarea + '" es '+result.token + '. Redirigiendo a la app...';
......
#loginFormRightImg{
width: 140px;
}
@media (max-width: 375px){
.logintableRightImg{
display:none;
}
}
\ No newline at end of file
"use strict";
var viewPortTag=document.createElement('meta');
viewPortTag.id="viewport";
viewPortTag.name = "viewport";
viewPortTag.content = "width=device-width, initial-scale=1.0, user-scalable=0";
document.getElementsByTagName('head')[0].appendChild(viewPortTag);
\ No newline at end of file
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