1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

More minor website improvements

This commit is contained in:
Steffo 2019-01-03 12:40:10 +01:00
parent 49908536df
commit 1e9d244248
2 changed files with 15 additions and 7 deletions

View file

@ -14,7 +14,7 @@
<body> <body>
<nav> <nav>
<div class="left"> <div class="left">
<img src="{{ url_for('static', filename='FixMeRYGLogo.jpg') }}" class="ryg-logo"> <img src="{{ url_for('static', filename='FixMeRYGLogo.jpg') }}" alt="" class="ryg-logo">
<b>Royalnet</b> <b>Royalnet</b>
<a href="/">Home</a> <a href="/">Home</a>
</div> </div>
@ -26,10 +26,10 @@
{% endif %} {% endif %}
<span class="login-status"> <span class="login-status">
{% if session.get('username') is not none %} {% if session.get('username') is not none %}
<a href="/profile/{{ session.get('username') }}">{{ session.get('username') }}</a> <a href="{{ url_for('page_profile', name=session.get('username')) }}">{{ session.get('username') }}</a>
<a class="btn" href="/logout">Logout</a> <a class="btn" href="{{ url_for('page_logout') }}">Logout</a>
{% else %} {% else %}
<a class="btn" href="/login">Login</a> <a class="btn" href="{{ url_for('page_login') }}">Login</a>
{% endif %} {% endif %}
</span> </span>
</div> </div>

View file

@ -44,11 +44,19 @@
</div> </div>
<div class="lower-box"> <div class="lower-box">
<ul> <ul>
{% if g.rygconf['Telegram']['invite_link'] %}
<li><a href="{{ g.rygconf['Telegram']['invite_link'] }}">Link di unione a Telegram</a></li> <li><a href="{{ g.rygconf['Telegram']['invite_link'] }}">Link di unione a Telegram</a></li>
{% else %}
<li><i>Link di unione a Telegram disattivato</i></li>
{% endif %}
{% if g.rygconf['Discord']['invite_link'] %}
<li><a href="{{ g.rygconf['Discord']['invite_link'] }}">Link di invito a Discord</a></li> <li><a href="{{ g.rygconf['Discord']['invite_link'] }}">Link di invito a Discord</a></li>
{% else %}
<li><i>Link di invito a Discord disattivato</i></li>
{% endif %}
<li><a href="https://steamcommunity.com/groups/royalgamescastle">Gruppo Steam Community</a></li> <li><a href="https://steamcommunity.com/groups/royalgamescastle">Gruppo Steam Community</a></li>
<li><a href="https://new.reddit.com/r/RoyalGames/">/r/RoyalGames</a></li> <li><a href="https://new.reddit.com/r/RoyalGames/">/r/RoyalGames</a></li>
<li><a href="/music">Statistiche su Royal Music</a></li> <li><a href="{{ url_for("page_music") }}">Statistiche su Royal Music</a></li>
<li><a href="http://amazon.steffo.eu/royal-music-cache/">File in cache di Royal Music</a></li> <li><a href="http://amazon.steffo.eu/royal-music-cache/">File in cache di Royal Music</a></li>
<li><a href="/activity">Statistiche sull'attività</a></li> <li><a href="/activity">Statistiche sull'attività</a></li>
</ul> </ul>