This repository has been archived by the owner on Dec 8, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathindex.html
89 lines (83 loc) · 3.84 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
layout: bare
title: Dashboard
permalink: /
---
{% assign discovery = (site.data.projects | where:"stage","discovery")%}
{% assign alpha = (site.data.projects | where:"stage","alpha")%}
{% assign beta = (site.data.projects | where:"stage","beta")%}
{% assign live = (site.data.projects | where:"stage","live")%}
{% assign projects = [discovery, alpha, beta, live] %}
<section class="dashboard">
<h1>{{page.title}}</h1>
<p class="lead">We are building digital services for the American people. Follow our progress and get involved here.</p>
<ul class="dashboard-overview">
<a href="{{ site.baseurl }}/stages/#discovery">
<li class="discovery"><span class="status">discovery</span>
<p class="status-description">User needs are researched and identified.</p>
<p class="dashboard-overview-numbers">{{ discovery.size }}</p>
</li>
</a>
<a href="{{ site.baseurl }}/stages/#alpha">
<li class="alpha"><span class="status alpha">alpha</span>
<p class="status-description">A prototype is built to meet the main user needs.</p>
<p class="dashboard-overview-numbers">{{alpha.size}}</p>
</li>
</a>
<a href="{{ site.baseurl }}/stages/#beta">
<li class="beta"><span class="status beta">beta</span>
<p class="status-description">The service is improved, then tested in public.</p>
<p class="dashboard-overview-numbers">{{beta.size}}</p>
</li>
</a>
<a href="{{ site.baseurl }}/stages/#live">
<li class="live"><span class="status live">live</span>
<p class="status-description">The service is public and works well.</p>
<p class="dashboard-overview-numbers">{{live.size}}</p>
</li>
</a>
</ul>
<section class="dashboard-projects">
<div>
{% for p in site.data.projects %}
{% assign project_name = p[0] %}{% assign project = p[1] %}
{% if project.status != "Hold" %}
<div class="dashboard-projects-content">
<div>
<a href="{{ site.baseurl }}/project/{{ project_name | slugify }}"><h1>{{project.full_name}} <i class="fa fa-chevron-right"></i><i class="fa fa-chevron-right"></i><span class="status {{ project.stage }}">{% if project.stage %}{{ project.stage }}{% else %}unknown{% endif %}</span></h1></a>
</div>
<div>
<p>{% if project.description %}{{ project.description }}{% else %}Project description coming soon.{% endif %}</p>
</div>
<div>
<p>{% if project.partners.size == 1 %}Partner: {%else%}Partners: {%endif%}{% if project.partners %}{% include list-partners.html style="strong" %}{% else %}Coming soon{% endif %}</p>
{% if project.github %}
{% if project.github.first.name %}
{% assign repo_name = project.github.first.name %}
{% else %}
{% assign repo_name = project.github.first %}
{% endif %}
<p><i class="fa fa-github-alt"></i> / <a class="github-url" href="https://github.com/{{repo_name}}">Code</a> / </p>
{% endif %}
<p><i class="fa fa-bar-chart"></i> / <a href="{{ site.baseurl }}/project/{{ project_name | slugify }}">Metrics</a> / </p>
{% capture blog %}{{ project.blogTag | default: project.blog }}{% endcapture %}
{% assign tags = blog | split: ',' %}
{% if tags.size > 0 %}
<p>
<i class="fa fa-newspaper-o"></i> /
<span class="blog-tags" itemprop="keywords">
{% for t in tags %}
<a href="https://18f.gsa.gov/tags/{{ t | strip }}">News</a>
/
{% endfor %}
</span>
</p>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</section>
{% include dashboard-contact.html %}
</section>