Add all the templates and the routes
This commit is contained in:
12
templates/calculator.html.to
Normal file
12
templates/calculator.html.to
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html.to" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-grid usa-section usa-content usa-layout-docs" id="main-content">
|
||||
|
||||
calculator
|
||||
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
@@ -10,14 +10,26 @@
|
||||
|
||||
<nav role="navigation" class="usa-nav">
|
||||
<ul class="usa-nav-primary usa-accordion">
|
||||
<li><a class="usa-nav-link" href="#"><span>Home</span></a></li>
|
||||
<li><a class="usa-nav-link usa-current" href="#"><span>JEDI Requests</span></a></li>
|
||||
<li><a class="usa-nav-link" href="#"><span>Users</span></a></li>
|
||||
<li><a class="usa-nav-link" href="#"><span>Reports</span></a></li>
|
||||
<li><a class="usa-nav-link" href="#"><span>Usage Calculator</span></a></li>
|
||||
{% for item in [
|
||||
['home', 'Home'],
|
||||
['requests', 'JEDI Requests'],
|
||||
['users', 'Users' ],
|
||||
['reports', 'Reports' ],
|
||||
['calculator','Usage Calculator'],
|
||||
]
|
||||
%}
|
||||
<li>
|
||||
{% if item[0]==page %}
|
||||
<a class="usa-nav-link usa-current" href='{{ reverse_url(item[0]) }}'><span>{{ item[1] }}</span></a>
|
||||
{% else %}
|
||||
<a class="usa-nav-link" href='{{ reverse_url(item[0]) }}'><span>{{ item[1] }}</span></a>
|
||||
{% end %}
|
||||
</li>
|
||||
{% end %}
|
||||
|
||||
<li>Tech Lead</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
|
12
templates/home.html.to
Normal file
12
templates/home.html.to
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html.to" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-grid usa-section usa-content usa-layout-docs" id="main-content">
|
||||
|
||||
home
|
||||
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
12
templates/reports.html.to
Normal file
12
templates/reports.html.to
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html.to" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-grid usa-section usa-content usa-layout-docs" id="main-content">
|
||||
|
||||
reports
|
||||
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
12
templates/requests.html.to
Normal file
12
templates/requests.html.to
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html.to" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-grid usa-section usa-content usa-layout-docs" id="main-content">
|
||||
|
||||
jedi requests
|
||||
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
12
templates/users.html.to
Normal file
12
templates/users.html.to
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html.to" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="usa-grid usa-section usa-content usa-layout-docs" id="main-content">
|
||||
|
||||
users
|
||||
|
||||
</main>
|
||||
|
||||
{% end %}
|
||||
|
Reference in New Issue
Block a user