Skip to content

Commit

Permalink
added website button to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jose.correia committed Sep 29, 2019
1 parent 731a5aa commit ce90190
Show file tree
Hide file tree
Showing 18 changed files with 91 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header">
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/activities/add_activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/activities/update_activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/companies/add_company.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header">
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/companies/update_company.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
7 changes: 5 additions & 2 deletions jeec_brain/templates/admin/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
<img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg">

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down Expand Up @@ -57,7 +61,6 @@ <h2>JEEC Brain</h2>
</div>
{% endif %}


<blockquote style="margin-left: 40px;margin-top: 70px;">
<b>Caution!</b> Any change in this system will instantly affect the <b>JEEC website</b> and <b>CV platform</b>!
</blockquote>
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/speakers/add_speaker.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/speakers/speakers_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/speakers/update_speaker.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/teams/add_team.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/teams/add_team_member.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/teams/team_members_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/teams/teams_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/teams/update_team.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
8 changes: 6 additions & 2 deletions jeec_brain/templates/admin/teams/update_team_member.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<div class="nav-bar">
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="admin/team/{{member.team.external_id.hex}}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/users/add_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down
6 changes: 5 additions & 1 deletion jeec_brain/templates/admin/users/users_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
<a href="{{ url_for('admin_api.dashboard') }}"><img class="jeec-logo-mobile" src="/static/jeec_logo_mobile.svg"></a>

<form action="{{ url_for('admin_api.admin_logout') }}" method="get">
<button class="waves-effect waves-light btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
<button class="waves-effect red lighten-2 btn-small right logout-btn"><i class="material-icons left">lock</i>Log out</button>
</form>

<a target="_blank" rel="noopener noreferrer" href="https://jeec.ist" method="get">
<button class="waves-effect waves-light btn-small right" style="margin-top: -3px; margin-right: 50px;"><i class="large material-icons left">web</i>Visit website</button>
</a>
</div>

<div class="section-header" >
Expand Down

0 comments on commit ce90190

Please sign in to comment.