diff --git a/db/test/DECISION_TAB.LOG b/db/test/DECISION_TAB.LOG index b7cfd43..f9db568 100644 Binary files a/db/test/DECISION_TAB.LOG and b/db/test/DECISION_TAB.LOG differ diff --git a/db/test/LATEST.LOG b/db/test/LATEST.LOG index 3facf33..9385302 100644 Binary files a/db/test/LATEST.LOG and b/db/test/LATEST.LOG differ diff --git a/doc/model.txt b/doc/model.txt new file mode 100644 index 0000000..ea15525 --- /dev/null +++ b/doc/model.txt @@ -0,0 +1,34 @@ +Data +---- +UserModel +TimelineModel +TimelineListModel +EntryListModel +EntryModel + + +Views +----- +EntryView +NewEntryInput +TimelineListView +TimelineView +UserView + + +Data Dependencies +----------------- +UserModel: none +TimelineModel: UserModel +TimelineListModel: UserModel +EntryModel: TimelineModel +EntryListModel: TimelineModel + + +View Dependencies +----------------- +UserView: UserModel +TimelineView: TimelineModel, UserView +TimelineListView: TimelineListModel, UserView +EntryView: EntryModel, EntryListView +EntryListView: EntryListModel, TimelineView diff --git a/doc/model.xcf b/doc/model.xcf new file mode 100644 index 0000000..670924f Binary files /dev/null and b/doc/model.xcf differ diff --git a/www/css/ts-screen.css b/www/css/ts-screen.css index 21b405a..46af972 100644 --- a/www/css/ts-screen.css +++ b/www/css/ts-screen.css @@ -34,10 +34,12 @@ body { display: inline-block; } #user.fullname-edit .fullname { display: none; } - #user ul#user-controls { + #user .drop-menu { + display: inline-block; } + #user .drop-menu .drop-menu-items { float: right; list-style: none; } - #user ul#user-controls li { + #user .drop-menu .drop-menu-items li { float: right; text-align: center; padding-right: 1em; } @@ -54,13 +56,25 @@ body { #timeline .timeline-desc { display: inline-block; width: 70%; } + #timeline .timeline-desc-input { + width: 70%; } #timeline .timeline-id { display: inline-block; } - #timeline .timeline-menu { + #timeline .timeline-desc-input, #timeline .timeline-id-input { + display: none; } + #timeline.edit-id .timeline-id-input { + display: inline-block; } + #timeline.edit-id .timeline-id { + display: none; } + #timeline.edit-desc .timeline-desc-input { + display: inline-block; } + #timeline.edit-desc .timeline-desc { + display: none; } + #timeline .drop-menu { text-align: right; display: inline-block; width: 29%; } - #timeline .timeline-menu .drop-menu-items { + #timeline .drop-menu .drop-menu-items { text-align: right; right: 0; } diff --git a/www/css/ts-screen.scss b/www/css/ts-screen.scss index 06ecf7d..d8c2c04 100644 --- a/www/css/ts-screen.scss +++ b/www/css/ts-screen.scss @@ -48,7 +48,10 @@ body { .fullname { display: none; } } - ul#user-controls { + .drop-menu { display: inline-block; } + + .drop-menu .drop-menu-items { + float: right; list-style: none; @@ -81,9 +84,23 @@ body { width: 70%; } + .timeline-desc-input { width: 70% } + .timeline-id { display: inline-block; } - .timeline-menu { + .timeline-desc-input, .timeline-id-input { display: none; } + + &.edit-id { + .timeline-id-input { display: inline-block; } + .timeline-id { display: none; } + } + + &.edit-desc { + .timeline-desc-input { display: inline-block; } + .timeline-desc { display: none; } + } + + .drop-menu { text-align: right; display: inline-block; width: 29%; diff --git a/www/index.yaws b/www/index.yaws index 98afab9..aef2d14 100644 --- a/www/index.yaws +++ b/www/index.yaws @@ -3,8 +3,8 @@