diff --git a/db/test/DECISION_TAB.LOG b/db/test/DECISION_TAB.LOG index 11c1188..0c590e4 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 417ff44..ea2d05b 100644 Binary files a/db/test/LATEST.LOG and b/db/test/LATEST.LOG differ diff --git a/db/test/id_counter.DCD b/db/test/id_counter.DCD index 6bd1360..f17ad07 100644 Binary files a/db/test/id_counter.DCD and b/db/test/id_counter.DCD differ diff --git a/db/test/id_counter.DCL b/db/test/id_counter.DCL deleted file mode 100644 index b2c17e4..0000000 Binary files a/db/test/id_counter.DCL and /dev/null differ diff --git a/db/test/ts_entry.DCD b/db/test/ts_entry.DCD index 765d806..724f32a 100644 Binary files a/db/test/ts_entry.DCD and b/db/test/ts_entry.DCD differ diff --git a/db/test/ts_entry.DCL b/db/test/ts_entry.DCL index 0c6b866..97b12e1 100644 Binary files a/db/test/ts_entry.DCL and b/db/test/ts_entry.DCL differ diff --git a/doc/issues/desktop/0005bn2.rst b/doc/issues/desktop/0005bn2.rst deleted file mode 100644 index d60d94f..0000000 --- a/doc/issues/desktop/0005bn2.rst +++ /dev/null @@ -1,9 +0,0 @@ -Fix user menu UI. -================= - -UI for user menu does not work. - -========= ========== -Created: 2011-05-15 -Resolved: YYYY-MM-DD -========= ========== \ No newline at end of file diff --git a/doc/issues/desktop/0005bs2.rst b/doc/issues/desktop/0005bs2.rst new file mode 100644 index 0000000..15cdd0a --- /dev/null +++ b/doc/issues/desktop/0005bs2.rst @@ -0,0 +1,14 @@ +Fix user menu UI. +================= + +UI for user menu does not work. + +Resolution +---------- + +UI menu changed to be displayed to the right of the username, in the empty black space vailable. + +========= ========== +Created: 2011-05-15 +Resolved: 2011-06-01 +========= ========== \ No newline at end of file diff --git a/doc/issues/desktop/0008tn2.rst b/doc/issues/desktop/0008tn2.rst deleted file mode 100644 index 2399e82..0000000 --- a/doc/issues/desktop/0008tn2.rst +++ /dev/null @@ -1,10 +0,0 @@ -Create and implement UI for timeline creation. -============================================== - -There should be a way through the interface for a user to create a new -timeline. - -========= ========== -Created: 2011-05-15 -Resolved: YYYY-MM-DD -========= ========== \ No newline at end of file diff --git a/doc/issues/desktop/0008ts2.rst b/doc/issues/desktop/0008ts2.rst new file mode 100644 index 0000000..9978151 --- /dev/null +++ b/doc/issues/desktop/0008ts2.rst @@ -0,0 +1,15 @@ +Create UI for timeline creation. +================================ + +There should be a way through the interface for a user to create a new +timeline. + +Resolution +---------- + +Abstracted the login dialog CSS to support other dialogs of the same look and feel. Used this to create a dialog for creating new timelines. + +========= ========== +Created: 2011-05-15 +Resolved: 2011-06-01 +========= ========== \ No newline at end of file diff --git a/doc/issues/desktop/0015tn2.rst b/doc/issues/desktop/0015tn2.rst new file mode 100644 index 0000000..4d10b0b --- /dev/null +++ b/doc/issues/desktop/0015tn2.rst @@ -0,0 +1,9 @@ +Create new timeline button in timeline menu. +============================================ + +Need a button to trigger the new timeline dialog. + +========= ========== +Created: 2011-06-01 +Resolved: YYYY-MM-DD +========= ========== \ No newline at end of file diff --git a/doc/issues/desktop/0016bn5.rst b/doc/issues/desktop/0016bn5.rst new file mode 100644 index 0000000..0501d24 --- /dev/null +++ b/doc/issues/desktop/0016bn5.rst @@ -0,0 +1,7 @@ +Duration of next previous entries are not updated when a timestamp is updated. +============================================================================== + +========= ========== +Created: 2011-06-01 +Resolved: YYYY-MM-DD +========= ========== \ No newline at end of file diff --git a/www/css/ts-screen.css b/www/css/ts-screen.css index 106ca04..4b9c4b7 100644 --- a/www/css/ts-screen.css +++ b/www/css/ts-screen.css @@ -77,22 +77,22 @@ input { #timeline .drop-menu .drop-menu-items .timeline-link { font-size: medium; } -#login { +.dialog { background: white; + background: rgba(255, 255, 255, 0.5); color: #eeeeee; margin: 0; padding: 0; - opacity: 1; position: fixed; top: 0px; left: 0px; width: 100%; height: 100em; z-index: 10; } - #login * { + .dialog * { margin: 0; padding: 0; } - #login div.container { + .dialog div.container { background: #222222; border-radius: 10px; font-family: Cantarell; @@ -101,26 +101,96 @@ input { margin-top: 4em; padding: 1em; width: 20em; } - #login div.container h2 { + .dialog div.container h2 { border-bottom: thin solid #eeeeee; font-family: Arvo; padding-bottom: 0.5em; margin-bottom: 0.5em; } - #login div.container label { + .dialog div.container label { display: inline-block; width: 6em; } - #login div.container input { + .dialog div.container input { color: #222222; } - #login div.container #login-button { - text-align: right; + .dialog div.container .button-panel { margin-top: 0.5em; - font-family: Arvo; - font-size: 1.2em; } - #login div.container #login-button .validate-tips { + overflow: hidden; } + .dialog div.container .button-panel .validate-tips { font-size: 1em; } - #login div.container #login-button a { - color: #eeeeee; } + .dialog div.container .button-panel .dialog-button { + float: right; + padding-left: 1em; + font-family: Arvo; + font-size: 1.2em; } + .dialog div.container .button-panel .dialog-button a { + color: #eeeeee; } +#login.dialog { + background: white; + opacity: 1; } + +/*#login { + + background: white; + color: $lightTxt; + margin: 0; + padding: 0; + opacity: 1; + + position: fixed; + top: 0px; + left: 0px; + + width: 100%; + height: 100em; + + z-index: 10; + + * { + margin: 0; + padding: 0; + } + + div.container { + + background: $darkBg; + border-radius: 10px; + font-family: Cantarell; + margin-left: auto; + margin-right: auto; + margin-top: 4em; + padding: 1em; + width: 20em; + + h2 { + border-bottom: thin solid $lightBg; + font-family: Arvo; + padding-bottom: 0.5em; + margin-bottom: 0.5em; + } + + label { + display: inline-block; + width: 6em; + } + + input { + color: $darkTxt; + } + + #login-button { + + text-align: right; + margin-top: 0.5em; + + font-family: Arvo; + font-size: 1.2em; + + .validate-tips { font-size: 1em; } + + a { color: $lightBg; } + } + } +}*/ #user { font-family: "Josefin Sans"; margin-top: -0.3em; @@ -140,14 +210,20 @@ input { display: inline-block; } #user.edit-fullname .fullname { display: none; } - #user .drop-menu { + #user .user-menu { display: inline-block; } - #user .drop-menu .drop-menu-items { - margin-top: -0.5em; - text-align: right; - right: 0; + #user .user-menu .user-menu-items { list-style: none; - width: 10em; } + display: none; } + #user .user-menu .user-menu-items li { + display: inline-block; + padding-left: 0.5em; } + #user .user-menu .user-menu-items a { + text-decoration: none; } + #user .user-menu .user-menu-items a:hover { + text-decoration: underline; } + #user .user-menu:hover .user-menu-items, #user .user-menu-items:hover { + display: inline-block; } #entry-list { margin: 6em 0 0 0; diff --git a/www/css/ts-screen.scss b/www/css/ts-screen.scss index 398280b..a24715b 100644 --- a/www/css/ts-screen.scss +++ b/www/css/ts-screen.scss @@ -107,7 +107,81 @@ input { } } -#login { +.dialog { + + background: white; + background: rgba(255, 255, 255, 0.5); + color: $lightTxt; + margin: 0; + padding: 0; + + position: fixed; + top: 0px; + left: 0px; + + width: 100%; + height: 100em; + + z-index: 10; + + * { + margin: 0; + padding: 0; + } + + div.container { + + background: $darkBg; + border-radius: 10px; + font-family: Cantarell; + margin-left: auto; + margin-right: auto; + margin-top: 4em; + padding: 1em; + width: 20em; + + h2 { + border-bottom: thin solid $lightBg; + font-family: Arvo; + padding-bottom: 0.5em; + margin-bottom: 0.5em; + } + + label { + display: inline-block; + width: 6em; + } + + input { + color: $darkTxt; + } + + .button-panel { + margin-top: 0.5em; + overflow: hidden; + + .validate-tips { font-size: 1em; } + + .dialog-button { + + float: right; + padding-left: 1em; + + font-family: Arvo; + font-size: 1.2em; + + a { color: $lightBg; } + } + } + } +} + +#login.dialog { + background: white; + opacity: 1; +} + +/*#login { background: white; color: $lightTxt; @@ -169,7 +243,7 @@ input { a { color: $lightBg; } } } -} +}*/ #user { @@ -197,16 +271,22 @@ input { .fullname { display: none; } } - .drop-menu { display: inline-block; } + .user-menu { display: inline-block; } - .drop-menu .drop-menu-items { - margin-top: -0.5em; - text-align: right; - right: 0; + .user-menu .user-menu-items { list-style: none; - width: 10em; + display: none; + + li { + display: inline-block; + padding-left: 0.5em; + } + + a { text-decoration: none; } + a:hover { text-decoration: underline; } } + .user-menu:hover .user-menu-items, .user-menu-items:hover { display: inline-block; } } diff --git a/www/index.yaws b/www/index.yaws index a9d096e..dce60b0 100644 --- a/www/index.yaws +++ b/www/index.yaws @@ -61,9 +61,9 @@ out(YArg) ->