Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
students.html: Add a tab displaying GSoC Students
The commit replaces the reports web-page by the students web-page. This displays all the GSoC students using the same logic as used in reports.html for reading all the work reports. Closes #734
- Loading branch information
Showing
6 changed files
with
99 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: coala GSoC Projects Report | ||
--- | ||
<!DOCTYPE html> | ||
<div class="main-content container-fluid"> | ||
<div class="row"> | ||
<div class="col m8 offset-m2"> | ||
<h1 class="fine center">Hello World!</h1> | ||
<h4 class="light center"> | ||
The students who've participted in Google Summer of Code with {{ site.organization }} | ||
</h4> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="main-content students"> | ||
{% assign reportsByYear = site.reports | group_by_exp:"report", "report.date | date: '%y'" %} | ||
<div class="row"> | ||
<div class="col s12"> | ||
<ul class="tabs transparent-bg"> | ||
{% for year in reportsByYear reversed %} | ||
<li class="tab col s2"><a href="#gsoc-{{ year.name }}" class="large-font">GSoC'{{ year.name }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% for year in reportsByYear reversed %} | ||
<section id="gsoc-{{ year.name }}"> | ||
<div class="container"> | ||
<div class="row user"> | ||
<div class="parent-wrapper"> | ||
<div class="gsoc-students"> | ||
<div class="parent"> | ||
{% for report in year.items %} | ||
<div class="card child card-main sc"> | ||
<a href="{{ report.social[0].GitHub[1].link }}" class="gh-user" target="_blank"> | ||
<div class="empty"></div> | ||
<div class="data thumbnail center" style="max-height: 150px;"> | ||
<img src="https://github.com/{{ report.social[0].GitHub[0].username }}.png" | ||
alt="{{ report.student }}" class="center dp" height="100" title="{{ report.student }}" | ||
data-proofer-ignore> | ||
<div class="handle center yellow-text text-darken-4 report-url"> | ||
<a href="{{ report.url }}.html">{{ report.project }}</a> | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
<script> | ||
$(document).ready(function () { | ||
$('.students .tabs').tabs(); | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,12 @@ | ||
--- | ||
title: coala GSoC project reports | ||
--- | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{{ page.title }}</title> | ||
<meta charset="utf-8"> | ||
<link rel="stylesheet" href="../resources/css/style.css"> | ||
</head> | ||
|
||
<body class="report"> | ||
<h1>{{ page.title }}</h1> | ||
{% assign reportsByYear = site.reports | group_by_exp:"report", "report.date | date: '%Y'" %} | ||
{% for year in reportsByYear reversed %} | ||
<h2>{{ year.name }}</h2> | ||
<ul> | ||
{% for report in year.items %} | ||
<li><a href="{{ report.url }}.html">{{ report.student }}: {{ report.project }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endfor %} | ||
</body> | ||
<body></body> | ||
<script> | ||
window.onload = function(){ | ||
window.open('/#/students', '_self'); | ||
}; | ||
</script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters