Started adding implementation of client-side functionality.
- Changed ts_api:dispatch_user/3 to return information for the user currently, authenticated if a valid session id is presented and no username is presented. - Moved the generic styling of form > * elements to be specific to .bar > form. - Added jQuery U 1.8.0. - Created login dialog that will automatically load upon page load if the user is not logged in. - Added styling for jQuery UI login dialog. - Implemented login functionality on the client page. - Implemented functionality to load user and timeline records on the client side.
This commit is contained in:
@ -34,7 +34,7 @@ $iBorWidth: 0.2em;
|
||||
|
||||
html {
|
||||
//background-color: $obg;
|
||||
background: url('../img/loving_blu.png') repeat;
|
||||
background: url('/img/loving_blu.png') repeat;
|
||||
}
|
||||
|
||||
body {
|
||||
@ -94,7 +94,7 @@ body {
|
||||
@include rounded2(bottom, left, 0.5em);
|
||||
}
|
||||
|
||||
form {
|
||||
.bar form {
|
||||
|
||||
border-top: solid 1px $bbor;
|
||||
padding: 0.5em 0 0.5em 2em;
|
||||
@ -206,3 +206,24 @@ form {
|
||||
|
||||
#new-entry-input { margin-right: 1em; }
|
||||
}
|
||||
|
||||
#login-dialog {
|
||||
font-size: small;
|
||||
|
||||
label, input { display: block }
|
||||
input.text {
|
||||
margin-bottom: 1em;
|
||||
width: 95%;
|
||||
padding: 0.4em;
|
||||
}
|
||||
|
||||
form fieldset {
|
||||
padding: 0; border: 0; margin: 0;
|
||||
}
|
||||
|
||||
.validate-tips { display: none; }
|
||||
}
|
||||
|
||||
#ui-dialog-title-login-dialog, .ui-dialog-buttonset {
|
||||
font-size: medium;
|
||||
}
|
||||
|
Reference in New Issue
Block a user