Started implementing entry loading in client side.
- Bug fix in ts_entry:new/1. Msspelled ``atomic``. - Bug fix in ts_json:record_to_ejson/1. For ``ts_entry`` records, the Username and TimelineId elements were not being converted from atoms to list. - Added the entry template for loaded and created entry elements. - Added ICanHaz.js (which wraps mustache.js) and underscore.js. - Implemented a naive version of displayEntries() in ts.js. - Added debug alerts for error cases in ts.js. - Styling the new entry elements.
This commit is contained in:
@ -94,6 +94,20 @@ body {
|
||||
@include rounded2(bottom, left, 0.5em);
|
||||
}
|
||||
|
||||
#more-entries a {
|
||||
border: 1px solid $bbor;
|
||||
background: lighten($bbg, 10%);
|
||||
display: block;
|
||||
color: $greyTxt;
|
||||
text-decoration: none;
|
||||
font-size: smaller;
|
||||
float: left;
|
||||
|
||||
&:hover {
|
||||
color: $obor;
|
||||
}
|
||||
}
|
||||
|
||||
.bar form {
|
||||
|
||||
border-top: solid 1px $bbor;
|
||||
@ -191,6 +205,9 @@ body {
|
||||
|
||||
#new-entry {
|
||||
|
||||
@include rounded2(bottom, left, 0.5em);
|
||||
border-bottom-width: $iBorWidth;
|
||||
|
||||
form {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
@ -207,6 +224,37 @@ body {
|
||||
#new-entry-input { margin-right: 1em; }
|
||||
}
|
||||
|
||||
.entry-bar {
|
||||
|
||||
padding: 0;
|
||||
|
||||
.id {
|
||||
color: $obor;
|
||||
font-weight: bold;
|
||||
padding-left: 1.5em;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
background: $ibg;
|
||||
}
|
||||
|
||||
.details {
|
||||
color: $txt;
|
||||
display: inline-block;
|
||||
background-color: $bbg;
|
||||
border-color: $bbor;
|
||||
border-style: solid;
|
||||
border-width: $iBorWidth;
|
||||
border-top-width: 0;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
|
||||
#entry-mark { }
|
||||
#entry-notes {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#login-dialog {
|
||||
font-size: small;
|
||||
|
||||
|
Reference in New Issue
Block a user