IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 31124f78 authored by Amy Rose's avatar Amy Rose
Browse files

add preliminary project layout, style and script skeletons

parent 40612775
Pipeline #766 passed with stage
in 3 minutes and 32 seconds
......@@ -10,6 +10,7 @@ TODO: documentation
<h2>{{ project.name }}</h2>
<p>{{ project.tldr }}</p>
<p>{{ project.owner }}</p>
<a href="{{ project.url | relative_url }}">View more</a>
</div>
{% endfor %}
</div>
......
......@@ -19,6 +19,9 @@
{% for script in page.load_scripts %}
<script src="{{script | relative_url}}"></script>
{% endfor %}
{% for script in layout.load_scripts %}
<script src="{{script | relative_url}}"></script>
{% endfor %}
</head>
<body {% if layout.body-style %} style="{{layout.body-style | flatify}}" {% endif %}>
......
---
layout: default
load_scripts:
- /assets/js/project.js
---
<main>
<div id="project-content" style="display: none;">
{% comment %}
Divs to be filled in by the project.js script
{% endcomment %}
<div id="project-about"></div>
<div id="project-owner"></div> <!-- TODO: include for this? -->
<div id="project-services">
{{ content }}
</div>
{% comment %}
More divs to be filled in by project.js
{% endcomment %}
<div id="project-metrics"></div>
<div id="project-members"></div> <!-- TODO: include for this? -->
</div>
<noscript>
<p class="error">
Sorry, project information requires JavaScript enabled in order to
be loaded. Please enable JavaScript to see project information.
</p>
</noscript>
</main>
---
layout: base
layout: project
name: Foo
tldr: A Foo for your Bar
......@@ -7,4 +7,10 @@ owner: Asdf
mystic-pid: a
---
## List of Services
- Lorem Ipsum
- Dolor Sit Amet
- Foo Bar
## Result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
---
layout: base
layout: project
name: Foo2
tldr: A Foo2 for your Bar2
......@@ -7,4 +7,10 @@ owner: Asdf2
mystic-pid: b
---
## List of Services
- Lorem Ipsum
- Dolor Sit Amet
- Foo Bar
## Result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
---
layout: base
layout: project
name: Foo3
tldr: A Foo3 for your Bar3
......@@ -7,4 +7,10 @@ owner: Asdf3
mystic-pid: c
---
## List of Services
- Lorem Ipsum
- Dolor Sit Amet
- Foo Bar
## Result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
---
layout: base
layout: project
name: Foo4
tldr: A Foo4 for your Bar4
......@@ -7,4 +7,10 @@ owner: Asdf4
mystic-pid: d
---
## List of Services
- Lorem Ipsum
- Dolor Sit Amet
- Foo Bar
## Result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
---
layout: base
layout: project
name: Foo5
tldr: A Foo5 for your Bar5
......@@ -7,4 +7,10 @@ owner: Asdf
mystic-pid: e
---
## List of Services
- Lorem Ipsum
- Dolor Sit Amet
- Foo Bar
## Result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
......@@ -101,3 +101,14 @@ main {
font-size: 1.5em;
}
}
.error {
font-weight: bold;
color: desaturate($color: #f00, $amount: 30%);
&::before {
content: "< ";
}
&::after {
content: " >";
}
}
/* Styles for project information pages */
/* TODO */
......@@ -3,7 +3,7 @@ layout: base
title: Open@RIT
banner: /assets/images/banners/landing.webp
load_scripts:
- /events.js
- /assets/js/events.js
links:
- name: LibreCorps
href: /librecorp
......
Supports Markdown
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