mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-10 06:08:29 -06:00
Make logo clickable, add Font-Awesome for cog on header, add better default profile picture
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
<title>Runnerspace</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
||||
<link rel="stylesheet" href="https://necolas.github.io/normalize.css/8.0.1/normalize.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.5.0/js/all.min.js"
|
||||
integrity="sha512-YUwFoN1yaVzHxZ1cLsNYJzVt1opqtVLKgBQ+wDj+JyfvOkH66ck1fleCm8eyJG9O1HpKIf86HrgTXkWDyHy9HA=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content-outer">
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
<div class="header">
|
||||
<div class="header-primary">
|
||||
<span id="logo">runnerspace</span>
|
||||
<a id="logo" href="{{ url_for('main.index') }}">runnerspace</a>
|
||||
<div class="header-login">
|
||||
{% if current_user.is_authenticated %}
|
||||
Logged in as <a href="{{ url_for('main.user', username=current_user.username) }}" class="username">{{ current_user.username }}</a> | <a href="{{ url_for('main.logout') }}">Logout</a>
|
||||
Logged in as
|
||||
<a href="{{ url_for('main.user', username=current_user.username) }}" class="username">{{ current_user.username }}</a>
|
||||
<a href="{{ url_for('main.edit_user', username=current_user.username) }}"><i class="fas fa-cog fa-1x"></i></a>
|
||||
| <a href="{{ url_for('auth.logout') }}">Logout</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('main.login') }}">Login</a> or <a href="{{ url_for('main.signup') }}">Sign-up</a>!
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user