Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonathan Bell
srctweb
Commits
efeb9972
Unverified
Commit
efeb9972
authored
Mar 25, 2018
by
Zach Knox
Browse files
added pride.codes bar to show during pride week. Will trigger every year at the end of March.
parent
dcc737f4
Changes
5
Hide whitespace changes
Inline
Side-by-side
srctweb/_includes/head.html
View file @
efeb9972
...
...
@@ -28,5 +28,6 @@
<!-- Load stylesheets -->
<link
rel=
"stylesheet"
href=
"https://srct.gmu.io/masonstrap/css/masonstrap.min.css"
/>
<link
href=
"/assets/css/style.css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"https://cdn.pride.codes/css/bar_helpers.css"
>
<!-- Load favicon -->
<link
rel=
"icon"
href=
"/assets/img/favicon.ico"
>
srctweb/_includes/navbar.html
View file @
efeb9972
<!-- Navbar -->
<nav
class=
"navbar
fixed-top
navbar-expand-lg navbar-dark bg-primary"
>
<nav
class=
"navbar navbar-expand-lg navbar-dark bg-primary"
>
<div
class=
"container"
>
<!-- Brand -->
...
...
srctweb/_includes/scripts.html
View file @
efeb9972
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"
integrity=
"sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
integrity=
"sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"
crossorigin=
"anonymous"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"
integrity=
"sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1"
crossorigin=
"anonymous"
></script>
<script
src=
"assets/js/functions.js"
></script>
\ No newline at end of file
srctweb/_layouts/default.html
View file @
efeb9972
...
...
@@ -6,7 +6,7 @@
{% include scripts.html %}
</head>
<body>
<body
id=
"body"
>
{% include navbar.html %}
{% if page.jumbotron == true %}
...
...
srctweb/assets/js/functions.js
0 → 100644
View file @
efeb9972
function
checkDate
()
{
var
d
=
new
Date
(),
month
=
''
+
(
d
.
getMonth
()
+
1
),
day
=
''
+
d
.
getDate
()
if
(
month
==
3
&&
day
>
20
)
{
var
body
=
document
.
getElementById
(
"
body
"
);
body
.
classList
.
add
(
"
pride-bar
"
);
}
}
window
.
onload
=
checkDate
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment