commit fb03702c23ae09de49e49069ab07d5688201fbef
parent 04cc52d86046a00f21b75010ef836eccbc7294e2
Author: Friedel Schön <[email protected]>
Date: Wed, 18 May 2022 12:25:46 +0200
changed domain to muizenval.tk
Diffstat:
4 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/add-user.py b/add-user.py
@@ -7,11 +7,11 @@ from server.models import User, UserType
#typ = input('Type [admin,manager,technician,catcher,client]? ')
users = [
- (UserType.CLIENT, 'Boer Herman', '[email protected]'),
- (UserType.CATCHER, 'Vanger Kees', '[email protected]'),
- (UserType.TECHNICIAN, 'Technicus Jos', '[email protected]'),
- (UserType.MANAGER, 'Manager Peter', '[email protected]'),
- (UserType.ADMIN, 'Administrator Ralf', '[email protected]'),
+ (UserType.CLIENT, 'Boer Herman', '[email protected]'),
+ (UserType.CATCHER, 'Vanger Kees', '[email protected]'),
+ (UserType.TECHNICIAN, 'Technicus Jos', '[email protected]'),
+ (UserType.MANAGER, 'Manager Peter', '[email protected]'),
+ (UserType.ADMIN, 'Administrator Ralf', '[email protected]'),
]
address = 'Kerklaan 69\n9876XY Groningen'
diff --git a/readme.md b/readme.md
@@ -8,7 +8,7 @@ Dit is een dev-server, dus run je met `debug=True`-flag!
**Deze repository clonen:**
```
-$ git clone https://github.com/friedelschoen/muizenval.io/
+$ git clone https://github.com/friedelschoen/muizenval.tk/
```
**Alle afhankelijkheden installeren:**
diff --git a/server/site.db b/server/site.db
Binary files differ.
diff --git a/server/templates/layout.html b/server/templates/layout.html
@@ -13,13 +13,12 @@
<!-- Google Font: Source Sans Pro, Source Code Pro -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link
- href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&family=Source+Sans+Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap"
- rel="stylesheet">
+ <link rel="stylesheet"
+ href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&family=Source+Sans+Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap">
{% if title %}
- <title>muizenval.io - {{ title }}</title>
+ <title>muizenval.tk - {{ title }}</title>
{% else %}
- <title>muizenval.io</title>
+ <title>muizenval.tk</title>
{% endif %}
</head>
@@ -28,7 +27,7 @@
<nav class="navbar navbar-expand-md fixed-top">
<div class="container">
<a class="navbar-brand mr-4" href="/">
- <b><code>muizenval.io</code></b>
+ <b><code>muizenval.tk</code></b>
</a>
<div class="collapse navbar-collapse" id="navbarToggle">
<div class="navbar-nav mr-auto">
@@ -80,11 +79,9 @@
<li class="list-group-item list-group-item-light">
<a href="{{ url_for('account') }}">Profielinstellingen</a>
</li>
- {#} {% if current_user.type in [ 'client', 'catcher' ] %}{#}
<li class="list-group-item list-group-item-light">
<a href="{{ url_for('traps') }}">Uw muizenvallen</a>
</li>
- {#}{% endif %}{#}
{% if current_user.type == 'catcher' %}
<li class="list-group-item list-group-item-light">
<a href="#">Uw cliënten</a>