Skip to content

Commit

Permalink
Add initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
damithc committed Jan 12, 2025
0 parents commit 4d13404
Show file tree
Hide file tree
Showing 167 changed files with 86,456 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/bookchapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Book Chapter Report
about: Template for posting a book chapter report
title: 'Book: SE@Google Ch: Chapter Name'
labels: 'BookChapter'
assignees: ''

---

Book:
Chapter:

Summary:
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/other.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Other
about: Template for other issue
title: ''
labels: ''
assignees: ''

---
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Lightning Talk
about: Template for proposing a lightning talk
title: 'Lightning Talk: title goes here'
labels: 'LightningTalk'
assignees: ''

---
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: MarkBind Deploy

on: [push]

jobs:
build_and_deploy:
runs-on: ubuntu-latest
name: Build & Deploy to GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm i -g markbind-cli
- run: markbind deploy --ci
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea/
*.iml
_markbind/logs/
_site/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# CS3281&2 student data website
30 changes: 30 additions & 0 deletions _markbind/boilerplates/studentInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<box>

## {{ name }}

<div class="container">
<div class="row">
<div class="col">
<img src="photo.png" width="100" /><br>
</div>
<div class="col">

**GitHub:** <include src="info.md#github" optional inline trim /><br>

**Projects:** <include src="info.md#projects" optional inline trim />
</div>
</div>
</div>
<p/>
<panel header="**Progress**" minimized>
<include src="progress.md" optional />
</panel>
<panel header="**Knowledge gained**" minimized>
<include src="knowledge.md" optional />
</panel>
{% if mod == "cs3282" %}
<panel header="**Observations** from external projects" minimized>
<include src="observations.md" optional />
</panel>
{% endif %}
</box>
54 changes: 54 additions & 0 deletions _markbind/layouts/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<head-bottom>
<link rel="stylesheet" href="{{baseUrl}}/stylesheets/main.css">
</head-bottom>

<header fixed>
<navbar placement="top" type="primary">
<a slot="brand" href="{{ baseUrl }}/index.html" title="Home" class="navbar-brand">CS3281&2-{{ year }}/Students</a>
<dropdown header="CS3281" class="nav-link">
<li><a href="{{ baseUrl }}/index.html" class="dropdown-item">Students</a></li>
<li><a href="{{ baseUrl }}/students/knowledge.html" class="dropdown-item">Knowledge</a></li>
<li>
<a href="https://nus-cs3281.github.io/{{ year }}-dashboard/?search=&sort=groupTitle&sortWithin=title&timeframe=commit&mergegroup=&groupSelect=groupByAuthors&breakdown=false" class="dropdown-item">Code Dashboard</a>
</li>
<li>
<a href="{{ baseUrl }}/activities-dashboard.html" class="dropdown-item">Activities Dashboard</a>
</li>
</dropdown>
<dropdown header="CS3282" class="nav-link">
<li><a href="{{ baseUrl }}/cs3282-index.html" class="dropdown-item">Students</a></li>
<li><a href="{{ baseUrl }}/students/talksSchedule.html" class="dropdown-item">Lightning Talks</a></li>
<li>
<a href="{{ baseUrl }}/activities-dashboard.html" class="dropdown-item">Activities Dashboard</a>
</li>
</dropdown>
<li>
<a href="{{ baseUrl }}/instructions.html" class="nav-link">Instructions</a>
</li>
<li>
<a href="https://nus-cs3281.github.io/website/" class="nav-link">CS3281&2 Website <md>:glyphicon-share-alt:</md></a>
</li>
<li slot="right">
<a href="https://github.com/nus-cs3281/{{ year }}" class="nav-link"><md>:fab-github:</md></a>
</li>
</navbar>
</header>

<div id="flex-body">
<div id="content-wrapper" class="fixed-header-padding">
{{ content }}
</div>
<nav id="page-nav" class="fixed-header-padding">
<div class="nav-component slim-scroll">
<page-nav />
</div>
</nav>
</div>

<footer>
<div class="text-center">

[**This site was generated using <img src="https://markbind.org/favicon.ico" width="25"/> {{MarkBind}}** on {{timestamp}}]<br>
%%<small><small>favicon.ico of this site was made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></small></small>%%
</div>
</footer>
5 changes: 5 additions & 0 deletions _markbind/variables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<variable name="page_break"><p style="page-break-after: always;">&nbsp;</p></variable>

<variable name="icon_important_red"><span style="color: red"><md>:glyphicon-exclamation-sign:</md></span></variable>

<variable name="year">2024</variable>
15 changes: 15 additions & 0 deletions activities-dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<frontmatter>
title: CS3281&2 - {{ year }} Comments Dashboard
pageNav: 3
</frontmatter>

# GitHub Activities Dashboard

* This page contains a list of your NUS-OSS GitHub posts during the period eligible for course credit.<br>
For CS3282 students, the activity period varies based on when you finished CS3282.
* The content of each panel body may not be exactly as it shows up on GitHub, as some crude sanitizations have been done to prevent post contents interfering with MarkBind parsing.
* It goes without saying that GitHub activities are not the sole representation of your work. It's just one source of evidence only. So, don't put too much importance on what you see in this page.<br>
Furthermore, the stats (i.e., posts counts) are not directly comparable between devs, as they are influenced by the type of work/project.
* This page will be updated once in a while, in 1-2 week intervals.

<include src="dashboard-contents-fragment.md" />
47 changes: 47 additions & 0 deletions cs3282-index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<frontmatter>
title: CS3282 - {{ year }} Batch
pageNav: 2
</frontmatter>

# CS3282 - {{ year }} Batch

{% set projects = [
{name: 'CATcher', students: [
['ARIF KHALID', 'Arif-Khalid', 'A1', 'B1', 'C1'],
['Li Zhaoqi', 'Eclipse-Dominator', 'A2', 'B2', 'C2'],
['NGUYEN KHOI NGUYEN', 'nknguyenhc', 'A2', 'B2', 'C2'],
['Sun Xinyu', 'Echomo-Xinyu', 'A1', 'B1', 'C1']
]},
{name: 'MarkBind', students: [
['Lee Hyung Woon', 'lhw-1', 'A2', 'B2', 'C2']
]},
{name: 'RepoSense', students: [
['Chang Si Kai', 'sikai00', 'A1', 'B1', 'C1'],
['JONAS ONG SI WEI', 'jonasongg', 'A2', 'B2', 'C2'],
['POON YIP HANG, RYAN', 'sopa301', 'A2', 'B2', 'C2']
]},
{name: 'TEAMMATES', students: [
['DOMINIC BERZIN CHUA WAY GIN', 'domoberzin', 'A1', 'B1', 'C1'],
['Qiu Jiasheng, Jason', 'jasonqiu212', 'A2', 'B2', 'C2'],
['XENOS FIORENZO ANONG', 'xenosf', 'A1', 'B1', 'C1'],
['ZHU YUANXI', 'yuanxi1', 'A1', 'B1', 'C1']
]}
] %}

{% for project in projects %}
**{{ project.name }}:**
{% for student in project.students %}* [{{ student[0] }}](#{{ student[0] | lower | replace(' ', '-') | replace(',', '')}})
{% endfor %}
{% endfor %}

{% for project in projects %}
# {{ project.name }}
{% for student in project.students %}

<include src="students/{{ student[1] }}/studentInfo.md" boilerplate >
<span id="name">{{ student[0] }}</span>
<span id="folder">{{ student[1] }}</span>
<span id="mod">cs3282</span>
</include>
{% endfor %}
{% endfor %}
Loading

0 comments on commit 4d13404

Please sign in to comment.