styles and logging

This commit is contained in:
ntr 2019-05-19 19:16:09 +10:00
parent 78013b83f7
commit bcf17cd19d
3 changed files with 7 additions and 2 deletions

View File

@ -271,7 +271,7 @@ button[disabled] {
*/
.login {
flex: 0 1 25%;
width: 25%;
display: flex;
flex-flow: column;
}

View File

@ -60,4 +60,8 @@
pointer-events: none;
}
.login {
width: 100%;
}
}

View File

@ -39,7 +39,6 @@ impl Rpc {
return Ok(RpcResponse { method: "pong".to_string(), params: RpcResult::Pong(()) });
}
info!("message method: {:?}", v.method);
let mut tx = db.transaction()?;
let account: Option<Account> = match v.token {
@ -47,6 +46,8 @@ impl Rpc {
None => None,
};
info!("method={:?} method={:?}", v.method, account.name);
// check the method
// if no auth required
match v.method.as_ref() {