Skip to content

Internships page, project structure updates, student hierarchy, etc #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# ContainerFile
# Compatible with both Docker and Podman

# Using the official Ubuntu Dev image
FROM ubuntu:24.04

# Install extra packages as needed
RUN apt-get update && apt-get install -y \
git curl locales \
vim \
# Install Jekyll dependencies
ruby-full ruby-dev build-essential zlib1g-dev \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*;

RUN locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8

ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

# Install Ruby Gems to /gems
ENV GEM_HOME="/gems"
ENV PATH="/gems/bin:$PATH"

# Set a working directory
WORKDIR /app

COPY . /app

# Install base Ruby dependencies
RUN gem install jekyll bundler

# Install project dependencies
RUN bundle install

# By default, just drop into a shell
#CMD ["/bin/bash"]
CMD bundle exec jekyll serve --host 0.0.0.0 --port 4000
23 changes: 22 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Site settings
title: Software Engineering Practicum Organization
tagline: A collection of student created software projects
tagline: A collection of student-created software projects
author_name: Dr Cengiz Gunay
author_link: http://www.ggc.edu/about-ggc/directory/cengiz-gunay
email: cengique@users.sf.net
Expand All @@ -19,6 +19,12 @@ profs:
name: "Dr. Anca Doloc-Mihu"
url: https://www.ggc.edu/about-ggc/directory/anca-doloc-mihu
collections:
itec3870_sp25:
title: "Spring 2025 ITEC 3870 Soft Dev 2 course projects"
menutitle: "Spring 2025"
course: "SD2"
date: 2025-01-01
output: true
itec3870_sp23:
title: "Spring 2023 ITEC 3870 Soft Dev 2 course projects"
menutitle: "Spring 2023"
Expand Down Expand Up @@ -91,6 +97,21 @@ collections:
course: "SD2"
date: 2016-12-01
output: true
projects:
title: "Projects"
menutitle: "Projects"
date: 2025-01-01
output: true
partners:
title: "Partners"
menutitle: "Partners"
date: 2025-01-01
output: true
students:
title: "Students"
menutitle: "Students"
date: 2025-01-01
output: true

# Build settings
markdown: kramdown
Expand Down
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<!-- ========== STYLESHEETS ========== -->
<!-- Bootstrap CSS -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome Icons -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css" rel="stylesheet" type='text/css'>
<!-- Fonts Icon CSS -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous">
<link href="/css/et-line.css" rel="stylesheet">
Expand Down
163 changes: 163 additions & 0 deletions _includes/news_bulletin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<h3 style = "text-align: center; margin-bottom: 0px;">Read More</h3>
<hr style = "width: 15%;">
<br>

<div class ="home_grid" style = "align-items: flex-start;">

<p>
<div class = "ilb" style = "width: 100%;">
<button class="ggc-btn-d dd-arrow" type="button"
style = "width: 100%;"
data-toggle="collapse"
data-target="#pinned-accordion"
aria-expanded="false"
aria-controls="pinned-news">
<span class = "text">
Pinned
</span>
</button>
</div>
</p>
<br>
<div class="collapse"
id="pinned-accordion"
style = "width: 80%; margin: 0 auto;">

{% assign all_posts = site.categories["Pinned"]
| sort: "date", "first" | reverse %}
{% assign sorted_posts = "" | split: "," %}
{% assign sorted_modified = "" | split: "," %}

{% for post in all_posts %}
{% if post.last_modified %}
{% assign testDate = site.time
| date: "%s" %}
{% assign cutoff = testDate
| minus: 2592000 %}
{% assign testPost = post.last_modified
| date: "%s" | minus: 0 %}
{% if testPost >= cutoff %}
{% assign sorted_modified = sorted_modified
| push: post %}
{% else %}
{% assign sorted_posts = sorted_posts
| push: post %}
{% endif %}
{% else %}
{% assign sorted_posts = sorted_posts
| push: post %}
{% endif %}
{% endfor %}

{% assign sorted_modified = sorted_modified
| sort: "last_modified", "first" | reverse %}

{% if sorted_posts.size > 0 or sorted_modified.size > 0 %}
<div class="card card-body">
<br>
{% for post in sorted_modified %}
{% if post.url %}
<a href = "{{ post.url }}"><span><span class = "badge bg-gradient mr-1">{{ post.last_modified | date_to_string: "ordinal", "US" }}</span><span class = "badge bg-primary ml-1 mr-2">Updated</span>{{ post.title }}</span></a>
<br>
{% endif %}
{% endfor %}
{% for post in sorted_posts %}
{% if post.url %}
<a href = "{{ post.url }}"><span><span class = "badge bg-gradient mr-2">{{ post.date | date_to_string: "ordinal", "US" }}</span>{{ post.title }}</span></a>
<br>
{% endif %}
{% endfor %}
</div>
{% endif %}
</div>

{% comment %}
Alphabetize categories before displaying them
{% endcomment %}

{% assign cats = "" | split: "," %}
{% for category in site.categories %}
{% assign name = category | first %}
{% assign cats = cats | push: name %}
{% endfor %}
{% assign cats = cats | sort %}
{% for category in cats %}

{% assign name = category %}
{% if name != "Pinned" %}

<hr style = "border: 0; border: 1px solid green; width: 15%; text-align: center; margin: 2% auto;">

<p>
<div class = "ilb" style = "width: 100%;">
<button class = "ggc-btn-d dd-arrow" type="button"
style = "width: 100%;"
data-toggle = "collapse"
data-target = "#{{name | replace: ' ', '-'}}-accordion"
aria-expanded = "false"
aria-controls = "{{ name | replace: ' ', '-' }}-news">
<span class = "text">
{{ name }}
</span>
</button>
</div>
</p>
<br>
<div class="collapse"
id="{{ name | replace: ' ', '-' }}-accordion"
style = "width: 80%; margin: 0 auto;">

{% assign all_posts = site.categories[name]
| sort: "date", "first" | reverse %}
{% assign sorted_posts = "" | split: "," %}
{% assign sorted_modified = "" | split: "," %}

{% for post in all_posts %}
{% if post.last_modified %}
{% assign testDate = site.time
| date: "%s" %}
{% assign cutoff = testDate
| minus: 2592000 %}
{% assign testPost = post.last_modified
| date: "%s" | minus: 0 %}
{% if testPost >= cutoff %}
{% assign sorted_modified = sorted_modified
| push: post %}
{% else %}
{% assign sorted_posts = sorted_posts
| push: post %}
{% endif %}
{% else %}
{% assign sorted_posts = sorted_posts
| push: post %}
{% endif %}
{% endfor %}

{% assign sorted_modified = sorted_modified
| sort: "last_modified", "first" | reverse %}

{% if sorted_posts.size > 0 or sorted_modified.size > 0 %}
<div class="card card-body">
<br>
{% for post in sorted_modified %}
{% if post.url %}
<a href = "{{ post.url }}"><span><span class = "badge bg-gradient mr-1">{{ post.last_modified | date_to_string: "ordinal", "US" }}</span><span class = "badge bg-primary ml-1 mr-2">Updated</span>{{ post.title }}</span></a>
<br>
{% endif %}
{% endfor %}
{% for post in sorted_posts %}
{% if post.url %}
<a href = "{{ post.url }}"><span><span class = "badge bg-gradient mr-2">{{ post.date | date_to_string: "ordinal", "US" }}</span>{{ post.title }}</span></a>
<br>
{% endif %}
{% endfor %}
</div>
{% endif %}
</div>

{% endif %}

{% endfor %}
<hr style = "border: 0; border: 1px solid green; width: 15%; text-align: center; margin: 2% auto;">

</div>
2 changes: 1 addition & 1 deletion _itec3870_fa16/BeginAgain/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "Begin Again"
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/CampusMaps1/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "Campus Maps 1"
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/Elements/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: Elements
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/GGM/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "GGM"
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/InsuranceSquad/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "Insurance Squad"
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/OneFitness/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: OneFitness
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/SimpleQ/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "SimpleQ"
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/Xenon/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: Xenon
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa16/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: projects_new
layout: projects_overview
title: "Fall 2016 Software Projects"
date: 2016-12-07 14:49:25
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/BookSwap/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "BookSwap"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/ChemXplosion/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "ChemXplosion"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/GGCMapsv3a/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "GGC Maps v3a"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/GGCMapsv3b/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "GGC Maps v3b"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/GameOfDrone/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "GameOfDrone"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/LipidLator/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "LipidLator"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/ProjectReview/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "Project Review"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/SmartVid/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "SmartVid"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/TheDroneZone/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "The Drone Zone"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/Xenon/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: project-page
layout: project_page
title: "Xenon"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
2 changes: 1 addition & 1 deletion _itec3870_fa17/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: projects_new
layout: projects_overview
title: "Fall 2017 Software Development 2 Course Projects"
date: 2017-11-30 14:00:00
categories: itec3870 create
Expand Down
Loading