Skip to content

Commit

Permalink
front page registration and logout links
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeboucas committed Jun 4, 2020
1 parent 3ee18a1 commit f084cd9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions flaski/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,14 @@

{% if userlogged == "no" %}

<a class="align-items-center justify-content-center" href="{{ url_for('login') }}">
<p style="padding-bottom:20px;padding-top:50px;color: white;" ><font size="4px">Login <b>here</b> to see more apps.</font></p></a>
<p style="padding-bottom:20px;padding-top:50px;color: white;" >
<a class="align-items-center justify-content-center" style="padding-bottom:20px;padding-top:50px;color: white;" href="{{ url_for('login') }}"><font size="4px"><b>Login</b></font></a> <font size="4px">or</font>
<a class="align-items-center justify-content-center" style="padding-bottom:20px;padding-top:50px;color: white;" href="{{ url_for('register') }}"><font size="4px"><b>register</b></font></a> <font size="4px">to see more apps.</font></p>

{% else %}

<p style="padding-bottom:20px;padding-top:50px;color: white;" ><font size="4px">You are logged in. Click on an App to try it out.</font></p></a>
<p style="padding-bottom:0px;padding-top:50px;color: white;" ><font size="4px">You are logged in. Click on an App to try it out.</font></p></a>
<p style="padding-bottom:20px;padding-top:0px;color: white;" ><a class="align-items-center justify-content-center" style="padding-bottom:20px;padding-top:0px;color: white;" href="{{ url_for('logout') }}"><font size="4px"><b>Logout</b></font></a></p></a>

{% endif %}

Expand Down

0 comments on commit f084cd9

Please sign in to comment.