-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
147 lines (134 loc) · 5.43 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>OpenSpace | showcase your open source work</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="An open source app to showcase your open source work (yo dawg)." />
<meta name="keywords" content="open source, showcase, gallery, oss, github, EvertythingMe" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://everythingme.github.io/openspace/" />
<meta property="og:title" content="OpenSpace | showcase your open source work" />
<meta property="og:description" content="An open source app to showcase your open source work (yo dawg)." />
<meta property="og:image" content="http://everythingme.github.io/openspace/static/share.png" />
<link rel="stylesheet" href="static/components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="static/components/bootstrap-material-design/dist/css/material-fullpalette.min.css">
<link href='http://fonts.googleapis.com/css?family=Roboto:300,400,500' rel='stylesheet'>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:700' rel='stylesheet'>
<link rel="stylesheet" href="static/style.css">
</head>
<body>
<header class="navbar navbar-material-cyan-800">
<div class="container">
<h1><img src="static/logo.png" alt="OpenSpace" width="116" /></h1>
<div>
<h2>Open Source Projects</h2>
<p>Showcase your open source GitHub projects. <a href="https://github.com/EverythingMe/openspace">Get it here</a>.</p>
</div>
</div>
</header>
<div class="navbar navbar-material-cyan-800" id="affix">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse navbar-responsive-collapse">
<ul class="nav navbar-nav" id="tag-filter"></ul>
</div>
</div>
</div>
</div>
<div class="container">
<div id="projects">
<div class="gap"></div>
<div class="gap"></div>
</div>
</div>
<script id="project-template" type="text/x-handlebars-template">
{{#projects}}
<div class="project mix {{#each tags}}{{ escape name }} {{/each}}" data-myorder="{{ @index }}" id="project-{{ escape name }}">
<style>
#project-{{ name }} .panel,
#project-{{ name }} icon,
#project-{{ name }} stars,
#project-{{ name }} forks {
color: {{ color name }}
}
#project-{{ name }} .panel,
#project-{{ name }} hr,
#project-{{ name }} tags button {
background-color: {{ color name }};
}
#project-{{ name }} links a:hover {
background-color: rgba({{ rgb name }}, 0.2);
}
</style>
<div class="panel">
<panel-heading>
<icon class="icon {{ icon_class }}" style="background-image: url({{ icon_url }})"></icon>
<div>
<title>{{ name }}</title>
<stats>
{{#if stars_count}}
<stars><i class="mdi-action-grade"></i>{{ stars_count }}</stars>
{{/if}}
{{#if forks_count}}
<forks><i class="icon-flow-branch"></i>{{ forks_count }}</forks>
{{/if}}
</stats>
</div>
<tags>
{{#tags}}
<button onclick="app.filter('.{{ escape name }}', true)">{{ name }}</button>
{{/tags}}
</tags>
<hr />
</panel-heading>
<panel-body>
{{ description }}
{{#if links}}
<links>
{{#links}}
<a href="{{ url }}" target="_blank" class="btn btn-flat">
{{#if class}}
<i class="{{ class }}">
{{else}}
<i class="icon-{{ title }}">
{{/if}}
</i>{{ title }}
</a>
{{/links}}
</links>
{{/if}}
</panel-body>
</div>
</div>
{{/projects}}
</script>
<script id="tag-filter-template" type="text/x-handlebars-template">
{{#tags}}
<li>
<a href="javascript:void(0)" data-toggle="collapse" data-target=".navbar-collapse" data-tag=".{{ escape name }}" onclick="app.filter('.{{ escape name }}')">{{ name }}</a>
</li>
{{/tags}}
</script>
<script src="static/components/handlebars/handlebars.min.js"></script>
<script src="static/components/underscore/underscore-min.js"></script>
<script src="static/components/jquery/dist/jquery.min.js"></script>
<script src="static/components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="static/components/bootstrap-material-design/dist/js/ripples.min.js"></script>
<script src="static/components/bootstrap-material-design/dist/js/material.min.js"></script>
<script src="static/components/mixitup/build/jquery.mixitup.min.js"></script>
<script src="static/colors.js"></script>
<link rel="stylesheet" href="static/components/fontello-76a038de/css/fontello.css">
<script src="data/projects.json"></script>
<script src="static/app.js"></script>
<script>
var app = App();
</script>
</body>
</html>