Skip to content

Commit 6bff179

Browse files
Fix layout html
1 parent 26be270 commit 6bff179

File tree

9 files changed

+10
-155
lines changed

9 files changed

+10
-155
lines changed

mvc/views/home.njk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="ui pusher">
44
<div class="ui inverted vertical masthead center aligned segment">
@@ -10,7 +10,7 @@
1010
<aside class="three wide column">
1111
<img class="ui image" src="/images/Beacha_sculpture_by_David_Walsh.jpg">
1212
</aside>
13-
<article class="thirteen wide column">
13+
<section class="thirteen wide column">
1414

1515
{%- if regions %}
1616
{%- include "partials/regionlist.njk" %}
@@ -20,7 +20,7 @@
2020
<br><br><br>
2121
{%- endif %}
2222

23-
</article>
23+
</section>
2424
</div>
2525
</section>
2626
<section class="ui stacked segment">

mvc/views/layouts/layout.njk renamed to mvc/views/layouts/layout.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
{%- block title %}
6-
<title> {{- '' if not title else title }} </title>
7-
{%- endblock %}
8-
<meta charset="UTF-8">
95

106
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
117
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>

mvc/views/layouts/main.html

Lines changed: 0 additions & 141 deletions
This file was deleted.

mvc/views/login.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="pusher">
44
<div class="ui inverted vertical masthead center aligned segment">

mvc/views/main.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="pusher">
44
<div class="ui inverted vertical masthead center aligned segment">

mvc/views/privacy.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="pusher">
44
<div class="ui inverted vertical masthead center aligned segment">

mvc/views/report.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="pusher">
44
<div class="ui inverted vertical masthead center aligned segment">
55

66
{% include "partials/mainmenu.njk" %}
77

8-
<section class="ui stacked segment">
8+
<section class="ui stacked segment grid">
99
<div class="ui grid">
1010
<aside class="three wide column">
1111
<img class="ui image" src="/images/Beacha_sculpture_by_David_Walsh.jpg">

mvc/views/settings.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="pusher">
44
<div class="ui inverted vertical masthead center aligned segment">

mvc/views/signup.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include "layouts/main.html" %}
1+
{% include "layouts/layout.html" %}
22

33
<div class="pusher">
44
<div class="ui inverted vertical masthead center aligned segment">

0 commit comments

Comments
 (0)