From 173674973cb3b2fb9c01cec7a4a9bfde54953649 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Fri, 23 Feb 2018 12:40:55 +0100
Subject: [PATCH] use <main> as main container

---
 resources/css/style.css         | 4 ----
 templates/web/en/index.tt2.html | 6 +++---
 templates/web/fr/index.tt2.html | 6 +++---
 3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/resources/css/style.css b/resources/css/style.css
index 060512f..3d566b0 100644
--- a/resources/css/style.css
+++ b/resources/css/style.css
@@ -13,10 +13,6 @@ body {
 }
 
 /* global */
-#content {
-    margin: 0;
-    padding: 2rem 1rem;
-}
 button, .button {
     background: #214BB5;
     border: 2px solid #214BB5;
diff --git a/templates/web/en/index.tt2.html b/templates/web/en/index.tt2.html
index fd16eba..6430c9d 100644
--- a/templates/web/en/index.tt2.html
+++ b/templates/web/en/index.tt2.html
@@ -33,7 +33,7 @@
             <h1>[% app.name %]</h1>
         </header>
 
-        <div id="content">
+        <main>
 
             [% IF errors %]
             <div class="ui-widget">
@@ -50,10 +50,10 @@
             [% PROCESS 'content.tt2.html' %]
 
             [% END %]
-        </div>
+        </main>
 
         <footer>
-	    <p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">contact us</a></p>
+            <p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">contact us</a></p>
         </footer>
 
         <script src="foundation/js/vendor/what-input.js"></script>
diff --git a/templates/web/fr/index.tt2.html b/templates/web/fr/index.tt2.html
index 15515eb..5d62c1a 100644
--- a/templates/web/fr/index.tt2.html
+++ b/templates/web/fr/index.tt2.html
@@ -33,7 +33,7 @@
 	    <h1>[% app.name %]</h1>
         </header>
 
-        <div id="content">
+        <main>
 
             [% IF errors %]
             <div class="ui-widget">
@@ -50,10 +50,10 @@
             [% PROCESS 'content.tt2.html' %]
 
             [% END %]
-        </div>
+        </main>
 
         <footer>
-	    <p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">contactez nous</a></p>
+            <p class="text-center">[% app.name %] [% app.version %] - <a href="mailto:[% app.support_email %]">contactez nous</a></p>
         </footer>
 
         <script src="foundation/js/vendor/what-input.js"></script>
-- 
GitLab