diff --git a/Terradue.Tep.Hydrology.WebServer/sites/tephydro/db/db-1.2#.sql b/Terradue.Tep.Hydrology.WebServer/sites/tephydro/db/db-1.2#.sql new file mode 100644 index 0000000..0ae39e9 --- /dev/null +++ b/Terradue.Tep.Hydrology.WebServer/sites/tephydro/db/db-1.2#.sql @@ -0,0 +1,6 @@ +USE $MAIN$; + +-- Update config...\ +INSERT INTO config (`name`, `type`, `caption`, `hint`, `value`, `optional`) VALUES ('hep-contact-mailaddress', 'string', 'hep-contact-mailaddress', 'hep-contact-mailaddress', 'contact@hydrology-tep.eu', '0'); +INSERT INTO config (`name`, `type`, `caption`, `hint`, `value`, `optional`) VALUES ('dashboard_page', 'string', 'dashboard_page', 'dashboard_page', 'https://hydrology-tep.eu/guest', '0'); +-- RESULT diff --git a/Terradue.Tep.Hydrology.WebServer/sites/tephydro/root/styles/img/logo-hydro-old.png b/Terradue.Tep.Hydrology.WebServer/sites/tephydro/root/styles/img/logo-hydro-old.png new file mode 100644 index 0000000..3405357 Binary files /dev/null and b/Terradue.Tep.Hydrology.WebServer/sites/tephydro/root/styles/img/logo-hydro-old.png differ diff --git a/Terradue.Tep.Hydrology.WebServer/sites/tephydro/root/views/login.html b/Terradue.Tep.Hydrology.WebServer/sites/tephydro/root/views/login.html new file mode 100644 index 0000000..57bf71c --- /dev/null +++ b/Terradue.Tep.Hydrology.WebServer/sites/tephydro/root/views/login.html @@ -0,0 +1,19 @@ +{{#current}} + {{#if ProfileError}} {{/if}}{{ Username }}  + {{#ifGreaterThan Balance 0}}{{Balance}}  {{/if}} + {{#ifLevel Level "ADMIN" }} +   + {{/ifLevel}} +   +   + {{#if conf.hasSupport}} +   + {{/if}} + + +{{/current}} +{{#noLogged}} + + | + +{{/noLogged}} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 1b9aea7..6c1786c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.terradue.tephydro webserver-tephydro - 2.5.2 + 2.6 rpm Web Server for Tep Hydrology diff --git a/src/main/web-resources/db/db-1.2#.sql b/src/main/web-resources/db/db-1.2#.sql new file mode 100644 index 0000000..0ae39e9 --- /dev/null +++ b/src/main/web-resources/db/db-1.2#.sql @@ -0,0 +1,6 @@ +USE $MAIN$; + +-- Update config...\ +INSERT INTO config (`name`, `type`, `caption`, `hint`, `value`, `optional`) VALUES ('hep-contact-mailaddress', 'string', 'hep-contact-mailaddress', 'hep-contact-mailaddress', 'contact@hydrology-tep.eu', '0'); +INSERT INTO config (`name`, `type`, `caption`, `hint`, `value`, `optional`) VALUES ('dashboard_page', 'string', 'dashboard_page', 'dashboard_page', 'https://hydrology-tep.eu/guest', '0'); +-- RESULT