diff --git a/debian/changelog b/debian/changelog index ff5c7713..e07a64b0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.345-deb8) stable; urgency=low +hedera-web (1.346-deb8) stable; urgency=low * Initial Release. diff --git a/image/banner.svg b/image/banner.svg new file mode 100644 index 00000000..07374b11 --- /dev/null +++ b/image/banner.svg @@ -0,0 +1,111 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/facebook-old.svg b/image/social/facebook-old.svg new file mode 100644 index 00000000..503fcb8d --- /dev/null +++ b/image/social/facebook-old.svg @@ -0,0 +1,57 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/facebook.svg b/image/social/facebook.svg index 503fcb8d..d214e55b 100644 --- a/image/social/facebook.svg +++ b/image/social/facebook.svg @@ -2,6 +2,7 @@ image/svg+xml \ No newline at end of file + inkscape:current-layer="Capa_1" />image/svg+xml \ No newline at end of file diff --git a/image/social/google-plus.svg b/image/social/google-plus.svg deleted file mode 100644 index 4ef34f59..00000000 --- a/image/social/google-plus.svg +++ /dev/null @@ -1,370 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/image/social/gplus.svg b/image/social/gplus.svg new file mode 100644 index 00000000..459c5d5b --- /dev/null +++ b/image/social/gplus.svg @@ -0,0 +1,69 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/instagram.svg b/image/social/instagram.svg new file mode 100644 index 00000000..ecc844aa --- /dev/null +++ b/image/social/instagram.svg @@ -0,0 +1,65 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/linkedin.svg b/image/social/linkedin.svg new file mode 100644 index 00000000..80306a48 --- /dev/null +++ b/image/social/linkedin.svg @@ -0,0 +1,70 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/pinterest.svg b/image/social/pinterest.svg new file mode 100644 index 00000000..93b3e9dc --- /dev/null +++ b/image/social/pinterest.svg @@ -0,0 +1,65 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/twitter.svg b/image/social/twitter.svg new file mode 100644 index 00000000..ff4a97f2 --- /dev/null +++ b/image/social/twitter.svg @@ -0,0 +1,65 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/image/social/youtube-old.svg b/image/social/youtube-old.svg new file mode 100644 index 00000000..c38c48c4 --- /dev/null +++ b/image/social/youtube-old.svg @@ -0,0 +1,68 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/image/social/youtube.svg b/image/social/youtube.svg index c38c48c4..e6423656 100644 --- a/image/social/youtube.svg +++ b/image/social/youtube.svg @@ -1,7 +1,8 @@ - + - - - - - - image/svg+xml - - - - - - - image/svg+xml - - + style="fill:#da3b35" /> \ No newline at end of file diff --git a/js/hedera/gui.xml b/js/hedera/gui.xml index ba41c1cb..2576bf32 100755 --- a/js/hedera/gui.xml +++ b/js/hedera/gui.xml @@ -29,18 +29,18 @@
diff --git a/js/hedera/login.css b/js/hedera/login.css index c540860c..1daa1654 100644 --- a/js/hedera/login.css +++ b/js/hedera/login.css @@ -45,8 +45,8 @@ body margin: 0 auto; max-width: 40em; height: 100%; - background-color: white; - box-shadow: 0 0.2em 0.2em #DDD; + background-color: #9CBC28; + box-shadow: 0 .3em .3em rgba(1, 1, 1, 0.4); } /* Login */ @@ -54,12 +54,12 @@ body .vn-login .login { position: absolute; - margin-top: -16em; padding: 1em; - max-width: 45em; + max-width: 15em; top: 50%; - left: 0; - right: 0; + left: 50%; + margin-top: -20em; + margin-left: -8.5em; } @media (max-height: 630px) @@ -76,21 +76,38 @@ body padding: 1.5em 1em; } } -.vn-login .logo img +.vn-login form > div +{ + margin: 1em 0; +} +.vn-login p +{ + margin: .4em 0; +} + +/* Header */ + +.vn-login .header +{ + margin-bottom: 3em; +} +.vn-login .header img { display: block; - margin: 0.5em auto; - min-width: 20em; - width: 75%; + width: 100%; } .vn-login .version-code { color: red; text-align: right; - margin: 0.2em auto; + margin: .2em auto; font-weight: bold; height: 1.4em; + display: none; } + +/* Body */ + .vn-login .form-inputs { margin: 0 auto; @@ -112,8 +129,8 @@ body .vn-login input[type=text], .vn-login input[type=password] { - margin: .5em 0; - margin-bottom: 0.5em; + margin: 0; + margin-top: .5em; padding: 0 .5em; width: 100%; border: 1px solid #AAA; @@ -121,36 +138,45 @@ body } .vn-login input[type=text], .vn-login input[type=password], -.vn-login input[type=submit] +.vn-login input[type=submit], +.vn-login input[type=button], +.vn-login button { - border-radius: 0.1em; - box-shadow: 0 0.1em 0.1em #AAA; + border-radius: .1em; + box-shadow: 0 .1em .1em rgba(1, 1, 1, 0.4); } -.vn-login td.entry +.vn-login input[type=checkbox] { - text-align: left; + padding: 0; + margin: 0; + width: initial; + height: initial; + margin-right: .5em; } -.vn-login .submit -{ - text-align: center; -} -.vn-login .submit > * -{ - display: inline-block; - vertical-align: top; -} -.vn-login input[type=submit] +.vn-login input[type=submit], +.vn-login input[type=button], +.vn-login button { margin: 0 auto; - background-color: #AD4; - border: 1px solid #8B2; + background-color: #333; + border: 1px solid #222; height: 2.4em; - width: 8em; - color: #250; + width: 100%; + color: white; + text-transform: uppercase; } -.vn-login input[type=submit]:hover +.vn-login input[type=submit]:hover, +.vn-login input[type=button]:hover, +.vn-login button:hover { - background-color: #9C3; + background-color: #222; +} +hr +{ + border: solid 1px white; + margin: 0; + padding: 0; + display: block; } .vn-login .wrapper { @@ -163,37 +189,29 @@ body margin: .45em 1em; position: absolute; } -.vn-login .bottom -{ - text-align: center; - padding: 1em; -} -/* Info */ +/* Footer */ -.vn-login .info +.vn-login .footer +{ + margin-top: 3em; +} +.vn-login .social { - margin-top: 2em; text-align: center; } -.vn-login .info p -{ - margin: 0.5em; -} -.vn-login .links -{ - margin: 0 auto; - margin-top: 2em; - text-align: center; -} -.vn-login .links a +.vn-login .social a { display: inline-block; margin: 0 .1em; } -.vn-login .links img +.vn-login .social img { height: 1.8em; width: 1.8em; } +.vn-login .contact +{ + text-align: center; +} diff --git a/js/hedera/login.js b/js/hedera/login.js index ab1b6d46..4bf6809c 100644 --- a/js/hedera/login.js +++ b/js/hedera/login.js @@ -14,7 +14,10 @@ Vn.Login = new Class ,set: function (x) { this.link ({_conn: x}, {'loading-changed': this._onConnLoadChange}); - } +/* x.execQuery ( + 'SELECT title, link, icon FROM social ORDER BY priority', + this.onSocialQueryDone.bind (this)); +*/ } ,get: function () { return this._conn; @@ -94,6 +97,26 @@ Vn.Login = new Class else this._focusUserInput (); } + + ,onSocialQueryDone: function (resultSet) + { + var res = resultSet.fetchResult (); + var social = this.$('social'); + + while (res.next ()) + { + var a = document.createElement ('a'); + a.href = res.get ('link'); + a.target = '_blank'; + social.appendChild (a); + + var img = document.createElement ('img'); + imt.src = 'image/social/'+ res.get ('icon'); + img.alt = res.get ('title'); + img.title = res.get ('title'); + a.appendChild (img); + } + } }); }); diff --git a/js/hedera/login.xml b/js/hedera/login.xml index 96da195f..fa1953de 100755 --- a/js/hedera/login.xml +++ b/js/hedera/login.xml @@ -11,48 +11,76 @@