summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-03-19 13:26:14 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-03-19 13:26:14 -0400
commitbb05daf393c7d1041fef82f29fc8f02b006a0ec2 (patch)
tree33c833f15d3e59b7ed1caf7c4faf7de1111c45a6
parent70f23a5b2b2caa9e245edb1be6d6cd052d2d91ed (diff)
Add a back button to non-PDF pages.
-rw-r--r--www/Emergency_Procedures.html5
-rw-r--r--www/MSDS.html.in5
-rw-r--r--www/PPE_Information.html5
-rw-r--r--www/alert.html5
-rw-r--r--www/css/index.scss24
-rw-r--r--www/report.html5
6 files changed, 41 insertions, 8 deletions
diff --git a/www/Emergency_Procedures.html b/www/Emergency_Procedures.html
index 2729093..bd89771 100644
--- a/www/Emergency_Procedures.html
+++ b/www/Emergency_Procedures.html
@@ -11,7 +11,10 @@
<title>FRC Team 4272 Safety</title>
</head>
<body id="emergency">
- <h1>Emergency Procedures</h1>
+ <header>
+ <nav><a href="./index.html">«</a></nav>
+ <h1>Emergency Procedures</h1>
+ </header>
<h2>Fire Escape</h2>
<img src="img/Fire_Escape_Layout.jpg" />
<h2>Tornado</h2>
diff --git a/www/MSDS.html.in b/www/MSDS.html.in
index 4bfc689..6179a69 100644
--- a/www/MSDS.html.in
+++ b/www/MSDS.html.in
@@ -11,7 +11,10 @@
<title>FRC Team 4272 Safety - Report an injury</title>
</head>
<body id="msds">
- <h1>MSDS</h1>
+ <header>
+ <nav><a href="./index.html">«</a></nav>
+ <h1>MSDS</h1>
+ </header>
@list@
</body>
</html>
diff --git a/www/PPE_Information.html b/www/PPE_Information.html
index 9050275..f8c03c5 100644
--- a/www/PPE_Information.html
+++ b/www/PPE_Information.html
@@ -11,7 +11,10 @@
<title>FRC Team 4272 Safety</title>
</head>
<body id="ppe">
- <h1>PPE Information</h1>
+ <header>
+ <nav><a href="./index.html">«</a></nav>
+ <h1>PPE Information</h1>
+ </header>
Safety glasses assignments:
<ol>
<li>1. Cassie Alsop</li>
diff --git a/www/alert.html b/www/alert.html
index f9f8bb3..58351b6 100644
--- a/www/alert.html
+++ b/www/alert.html
@@ -11,7 +11,10 @@
<title>FRC Team 4272 Safety</title>
</head>
<body id="alert">
- <h1>Safety Committee Members</h1>
+ <header>
+ <nav><a href="./index.html">«</a></nav>
+ <h1>Safety Committee Members</h1>
+ </header>
<a href="tel:+1-260-519-2905">Adi</a>
<a href="tel:+1-765-421-2086">Cassie</a>
<a href="tel:+1-765-491-1957">Hunter</a>
diff --git a/www/css/index.scss b/www/css/index.scss
index fa593a5..514865d 100644
--- a/www/css/index.scss
+++ b/www/css/index.scss
@@ -16,8 +16,26 @@ html {
color: $yellow;
font-family: sans-serif;
font-weight: bolder;
- h1 {
- text-align: center;
+ header {
+ & > * {
+ display: table-cell;
+ vertical-align: middle;
+ }
+ nav {
+ padding: 0.3em;
+ a {
+ display: inline-block;
+ padding: 0.4em;
+ background-color: $yellow;
+ color: $red;
+ border: solid 0.04em $yellow;
+ border-radius: 0.54em;
+ &:active {
+ background-color: $red;
+ color: $yellow;
+ }
+ }
+ }
}
a {
text-decoration: none;
@@ -171,7 +189,7 @@ body#report {
}
body#msds, body#alert {
- a {
+ & > a {
display: inline-block;
width: 100%;
padding-left: 1em;
diff --git a/www/report.html b/www/report.html
index a5612cd..359c596 100644
--- a/www/report.html
+++ b/www/report.html
@@ -12,7 +12,10 @@
<title>FRC Team 4272 Safety - Report an injury</title>
</head>
<body id="report">
- <h1>Report an Injury</h1>
+ <header>
+ <nav><a href="./index.html">«</a></nav>
+ <h1>Report an Injury</h1>
+ </header>
<form action="https://lukeshu.com/frc4272/app/reports" method="POST">
<label><span>Name:</span><input type="text" name="name" /></label>
<label><span>Grade:</span>