Skip to content

Commit

Permalink
"Release 2.6"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkinsT2 committed May 25, 2020
1 parent 2c42138 commit c3b696c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{#current}}
<a href="/#!settings/profile" data-toggle="tooltip" title="Profile" class="Topbar__login">{{#if ProfileError}}<i class="fa fa-warning text text-warning"></i> {{/if}}{{ Username }}</a>&nbsp;
{{#ifGreaterThan Balance 0}}<span class="badge badge-info" style="vertical-align: middle;">{{Balance}}</span>&nbsp;&nbsp;{{/if}}
{{#ifLevel Level "ADMIN" }}
<a href="/#!cpanel" data-toggle="tooltip" title="Control Panel" class="Topbar__login"><i class="fa fa-cog"/></a>&nbsp;
{{/ifLevel}}
<a href="{{ conf.contactLink }}" data-toggle="tooltip" title="Contact" class="Topbar__login"><i class="fa fa-envelope"/></a>&nbsp;
<a href="{{ conf.docsUrl }}" target="_blank" data-toggle="tooltip" title="Documentation" class="Topbar__login"><i class="fa fa-book"/></a>&nbsp;
{{#if conf.hasSupport}}
<a href="{{ conf.supportUrl }}" target="_blank" data-toggle="tooltip" title="Support" class="Topbar__login"><i class="fa fa-question"/></a>&nbsp;
{{/if}}
<a href="/t2api/logout?redirect_uri={{conf.signoutRedirectUri}}" data-toggle="tooltip" title="Sign out" class="Topbar__login"><i class="fa fa-sign-out"/></a>

{{/current}}
{{#noLogged}}
<a href="/t2api/oauth" class="Topbar__login">sign in</a>
<span class="Topbar__loginSeparator">|</span>
<a href="/guest/register" class="Topbar__login"> register </a>
{{/noLogged}}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.terradue.tephydro</groupId>
<artifactId>webserver-tephydro</artifactId>
<version>2.5.2</version>
<version>2.6</version>
<packaging>rpm</packaging>

<name>Web Server for Tep Hydrology</name>
Expand Down
6 changes: 6 additions & 0 deletions src/main/web-resources/db/db-1.2#.sql
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c3b696c

Please sign in to comment.