Commit 23d46cc9 authored by Zac Wood's avatar Zac Wood

added min-width and last update time to footer

parent f99cc1c9
Pipeline #5333 passed with stage
in 11 seconds
......@@ -24,6 +24,10 @@ $blue: #297dc5;
font-family: 'Roboto', sans-serif;
}
body {
min-width: 375px;
}
h1,
h2,
h3,
......@@ -254,6 +258,10 @@ footer {
margin: 4em auto 1em;
text-align: center;
max-width: 75%;
p {
margin-bottom: 0em;
}
}
#count {
......
require 'time'
module Update
FILE_NAME = "db/data/last_update.txt".freeze
......@@ -10,6 +12,6 @@ module Update
end
def self.new_update
File.write(FILE_NAME, Time.now.strftime("%Y-%m-%d %k:%M:%S"))
File.write(FILE_NAME, Time.now.in_time_zone('America/New_York').strftime("%Y-%m-%d %k:%M:%S"))
end
end
......@@ -9,7 +9,9 @@
</a>
<footer class="footer">
Schedules <span data-controller="version"> </span> is a <a href="https://rubyonrails.org">Rails</a> app built by <a href="https://srct.gmu.edu">Mason SRCT</a> and is completely open source. We hope you love it.
Questions? <a href="mailto:srct@gmu.edu">Email us.</a> Want to contribute? View the code on the <a href="https://git.gmu.edu/srct/schedules">SRCT GitLab</a>.<br/>
<p>Schedules <span data-controller="version"> </span> is a <a href="https://rubyonrails.org">Rails</a> app built by <a href="https://srct.gmu.edu">Mason SRCT</a>.</p>
<p>View the source code on the <a href="https://git.gmu.edu/srct/schedules">SRCT GitLab</a>.</p>
<p>Questions? <a href="mailto:srct@gmu.edu">Email us.</a></p>
<p>Database last updated <%= Update.last_update_date %> ET.</p>
</footer>
</main>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment