Skip to content
Snippets Groups Projects
Commit 00c73059 authored by MikaelKrats's avatar MikaelKrats
Browse files

fixed the issues and added very simple style sheet

parent bbf23f5a
No related branches found
No related tags found
1 merge request!20Registeration changes: Don't merge yet
Pipeline #14523 passed
......@@ -102,11 +102,3 @@ def login():
flash(error)
return render_template('auth/login.html')
#@bp.route('/logout')
#def logout():
#session.clear()
#flash("You have been logged out.")
#return redirect(url_for('index'))
\ No newline at end of file
This diff is collapsed.
......@@ -7,53 +7,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" href="{{ url_for('static', filename='material-dashboard') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='material-dashboard.min') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='nucleo-icons') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='nucleo-svg') }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body class="bg-secondary">
<!--
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="{{url_for('index')}}">{{config['BRAND']}}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01"
aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo03">
"""
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="{{ url_for('items.index') }}">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('items.sell') }}">Sell</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
</ul>
"""
<ul class="navbar-nav">
{% if g.user %}
<li class="nav-item"><span>{{ g.user['username'] }}</span></li>
<li class="nav-item"><a href="{{ url_for('auth.logout') }}" class="nav-link">Log Out</a></li>
{% else %}
<li class="nav-item"><a href="{{ url_for('auth.register') }}" class="nav-link">Register</a>
<li class="nav-item"><a href="{{ url_for('auth.login') }}" class="nav-link">Log In</a>
{% endif %}
</ul>
<form class="form-inline">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-info my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
-->
<header>
{% block header %}
<h1>{{ config['BRAND'] }}</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment