mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-16 01:00:17 -04:00
add form json
This commit is contained in:
parent
e199ec8894
commit
52f340f4a6
10
_data/forms/events.json
Normal file
10
_data/forms/events.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"username": "events",
|
||||
"name": "Events",
|
||||
"items": [
|
||||
{
|
||||
"name": "February Frenzy Volleyball Tournament 2018",
|
||||
"link": "https://docs.google.com/document/d/1rjzg8tW_NH52lUESdEZMJRsc2Bd-lntKaFYqZ1srmOQ/edit"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"name": "Freshman Elections",
|
||||
"items": [
|
||||
{
|
||||
"name": "",
|
||||
"link": ""
|
||||
}
|
||||
]
|
||||
}
|
10
_data/forms/general.json
Normal file
10
_data/forms/general.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"username": "general",
|
||||
"name": "General",
|
||||
"items": [
|
||||
{
|
||||
"name": "Feedback and Suggestions",
|
||||
"link": "https://docs.google.com/forms/d/18KRo3RritoN6RddNvI-l2zZs1h_1mmVWWgRQGOk2vvQ/viewform"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -153,6 +153,7 @@ span>a:active {
|
|||
|
||||
#wrapper:before {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
top: 0vh;
|
||||
|
|
22
forms.html
22
forms.html
|
@ -1,19 +1,37 @@
|
|||
---
|
||||
permalink: /forms
|
||||
sections: ["general", "events", "elections"]
|
||||
---
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link href="css/about.css" rel="stylesheet" />
|
||||
{% include head.html %}
|
||||
<title>Forms - TJSGA</title>
|
||||
<title>About - TJSGA</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include header.html %}
|
||||
<div id="wrapper" class="fluid">
|
||||
<section id="links">
|
||||
<section id="resources">
|
||||
{% for form_name in site.data.forms %}
|
||||
{% assign name = page.sections[forloop.index0] %}
|
||||
{% assign form = site.data.forms[name] %}
|
||||
<div class="list">
|
||||
|
||||
<h2>{{ form.name }}</h2>
|
||||
<ul>
|
||||
{% for item in form.items %}
|
||||
<li>
|
||||
<a href="{{ item.link }}">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</section>
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
|
|
|
@ -14,13 +14,8 @@ permalink: /resources
|
|||
<div id="wrapper" class="fluid">
|
||||
<section id="resources">
|
||||
<div class="list">
|
||||
<h2>General Resources</h2>
|
||||
<h2>General</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://docs.google.com/forms/d/18KRo3RritoN6RddNvI-l2zZs1h_1mmVWWgRQGOk2vvQ/viewform">
|
||||
SGA Feedback and Suggestion Google Form
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uploads/3/8/0/7/38079437/wi-fi_faq_-_june_2015.pdf" target="_blank">
|
||||
TJ Wi-Fi FAQs: FCPSonboard
|
||||
|
|
Loading…
Reference in New Issue
Block a user