Implement more tables, add more page templates, initial working db example
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ self.title() }}</title>
|
||||
<link rel="stylesheet" href="/static/index.css">
|
||||
<link rel="stylesheet" href="/static/base.css">
|
||||
{% block headers %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% include "header.html" %}
|
||||
|
||||
7
templates/clients/client.html
Normal file
7
templates/clients/client.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
31
templates/clients/index.html
Normal file
31
templates/clients/index.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<table>
|
||||
<tr>
|
||||
<td>First Name</td>
|
||||
<td>Last Name</td>
|
||||
<td>Address</td>
|
||||
<td>Number</td>
|
||||
<td>Email</td>
|
||||
</tr>
|
||||
{% for client in clients %}
|
||||
<tr>
|
||||
<td>{{ client.first_name }}</td>
|
||||
<td>{{ client.last_name }}</td>
|
||||
<td>
|
||||
{{ client.country}}
|
||||
{{ client.city}}
|
||||
{{ client.state}}
|
||||
{{ client.address_line}}
|
||||
{{ client.house_number}}
|
||||
{{ client.postal_code}}
|
||||
</td>
|
||||
<td>{{ client.phone_number }}</td>
|
||||
<td>{{ client.email }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
@@ -1,5 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
A server error happened: {{ error }}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
||||
Hewo world
|
||||
|
||||
7
templates/inventory/catalog.html
Normal file
7
templates/inventory/catalog.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
7
templates/inventory/index.html
Normal file
7
templates/inventory/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
7
templates/inventory/transfer.html
Normal file
7
templates/inventory/transfer.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
@@ -1,5 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block headers %}
|
||||
<link rel="stylesheet" href="/static/login.css">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<form class="login-form" action_url="/login" method="POST">
|
||||
|
||||
7
templates/tickets/closed.html
Normal file
7
templates/tickets/closed.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
7
templates/tickets/create.html
Normal file
7
templates/tickets/create.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
7
templates/tickets/index.html
Normal file
7
templates/tickets/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block headers %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
Hewwo wowld!!!!
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user