Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 348 lines (300 sloc) 18.068 kB
3595d28 @kimchouard Fix #13
kimchouard authored
1 <!--
2 ========================== Presenting Adobe Github Homepage v2.0 ==========================
3 ------------------- The new central hub for Adobe Open sources projects. ------------------
4
5 ~ Adobe + Open Source = ♥ ~
6
7 That's why we built this project on top of cutting-edge technologies like:
e134bb5 @TessMyers Remove excess commas
TessMyers authored
8 - AngularJS
9 - Foundation
10 - Github Pages and API
3595d28 @kimchouard Fix #13
kimchouard authored
11 - NodeJS
12 - D3
13 - and many more!
14
15 More information can be found in https://github.com/adobe/adobe.github.com.
16
17 ================= Join the team! ===> http://www.adobe.com/careers.html =================
18
19 Okay, now let's take a look on how this website is codded!
20 -->
21
2614deb @kimchouard First Draft
kimchouard authored
22 <!DOCTYPE html>
23 <!--[if IE 8]> <html class="no-js lt-ie9" lang="en" > <![endif]-->
45e8f2e @kimchouard Auto pull repos + display with angular
kimchouard authored
24 <!--[if gt IE 8]><!--> <html class="no-js" lang="en" ng-app="AdobeOpenSource"> <!--<![endif]-->
0825c90 @tklubock Replace master branch with page content via GitHub
tklubock authored
25
2614deb @kimchouard First Draft
kimchouard authored
26 <head>
e47a5ff @kimchouard Filters: new icons
kimchouard authored
27 <meta charset="utf-8">
28 <meta name="viewport" content="width=device-width">
8775100 @kimchouard Switch on TypeFont for TektonPro
kimchouard authored
29 <title>Adobe Open Source | Advancing technology through open initiatives</title>
e2cc8d5 @nhall Consistency updates
nhall authored
30 <link href="stylesheets/app.css" rel="stylesheet">
7de7fad @abstractOwl Fixed assets not loading over https
abstractOwl authored
31 <link href="//fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
32 <link href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet">
2614deb @kimchouard First Draft
kimchouard authored
33 </head>
e47a5ff @kimchouard Filters: new icons
kimchouard authored
34
9380170 @nhall Consistency updates
nhall authored
35 <body class="ng-cloak" ng-controller="GitHubCtrl">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
36 <div id="old" class="old text-center">
57dd929 @kimchouard Update internet explorer exclusion
kimchouard authored
37 <div class="menu">
38 <div class="row">
39 <div class="large-12 columns">
40 <dl class="sub-nav">
41 <dd class="title">
42 <strong>Adobe</strong> Open Source
43 </dd>
44 </dl>
45
46 <div class="wrapLogoTop">
47 <img class="logoTop" src="img/adobe-tag.png" title="Adobe Open Source"/>
48 </div>
49 </div>
50 </div>
51 </div>
52
99cdc59 @alexisfasquel Replacing magellan script (laggy on chrome)
alexisfasquel authored
53 <div class="header-inline">
87a3a28 @kimchouard Some style for retro compatibility
kimchouard authored
54 <p class="punchline">Your browser is outdated. Please update to a version respecting Web Standards.</p>
55 <div class="links">
56 <a class="item" href="https://www.google.com/intl/en/chrome/browser/">
57 <p>Google Chrome</p>
58 <img src="img/chrome.png"/>
59 </a>
60 <a class="item" href="http://www.mozilla.org/en-US/firefox/new/">
61 <img src="img/firefox.png"/>
62 <p>Mozilla Firefox</p>
63 </a>
57dd929 @kimchouard Update internet explorer exclusion
kimchouard authored
64 </div>
65 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
66 </div>
57dd929 @kimchouard Update internet explorer exclusion
kimchouard authored
67
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
68 <div id="supported">
9380170 @nhall Consistency updates
nhall authored
69 <div class="menu" data-magellan-expedition="fixed">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
70 <div class="row">
71 <div class="large-12 columns">
72 <dl class="sub-nav" ng-class="{mobile: mobile}">
9380170 @nhall Consistency updates
nhall authored
73 <a class="menu-icon" ng-click="expandMenu()">
74 <span></span>
75 </a>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
76
77 <dd class="title">
78 <strong>Adobe</strong> Open Source
79 </dd>
80 <div class="menuLinks" ng-class="{more: menuOpen}">
99cdc59 @alexisfasquel Replacing magellan script (laggy on chrome)
alexisfasquel authored
81 <dd class="head-base"><a href="#statistics" ng-click="menuOpen = false">Statistics</a></dd>
2245eee @kimchouard Typofix menu
kimchouard authored
82 <dd class="head-base"><a href="#projects" ng-click="menuOpen = false">Repositories</a></dd>
83 <dd class="head-base"><a href="#organizations" ng-click="menuOpen = false">Organizations</a></dd>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
84 </div>
85 </dl>
86
87 <div class="wrapLogoTop">
88 <img class="logoTop" src="img/adobe-tag.png" title="Adobe Open Source"/>
c36de96 @kimchouard New header with statistics and improvments
kimchouard authored
89 </div>
11be53a @kimchouard New header + bugfix overflow .topProject
kimchouard authored
90 </div>
91 </div>
92 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
93
9380170 @nhall Consistency updates
nhall authored
94 <a class="head-anchor" name="statistics"></a>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
95 <div class="intro">
709d459 @kimchouard Slider header: first draft
kimchouard authored
96 <div class="row">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
97 <div class="large-4 columns">
98 <blockquote>Advancing technology through open initiatives</blockquote>
3595d28 @kimchouard Fix #13
kimchouard authored
99 <p class="text-center"><a href="http://www.adobe.com/careers.html">Join the team!</a></p>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
100 </div>
101 <div class="large-8 columns">
102 <div class="large-6 columns">
103 <div class="large-12 columns">
104 <h4>Statistics</h4>
105 </div>
106 <div class="large-12 columns" ng-show="loading">
107 <loading />
108 </div>
109 <div class="large-12 columns" ng-show="!loading">
110 <stats projects="projects" orgs="orgs" stats="stats" langs="langs"/>
111 </div>
112 </div>
113 <div class="large-6 columns" ng-click="posLabel()">
114 <div id="langChart"></div>
115 </div>
709d459 @kimchouard Slider header: first draft
kimchouard authored
116 </div>
45e8f2e @kimchouard Auto pull repos + display with angular
kimchouard authored
117 </div>
2614deb @kimchouard First Draft
kimchouard authored
118 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
119
3795499 @kimchouard Block for filters
kimchouard authored
120 <!-- --------------------------------------------------------------------------------------
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
121 Featured
3795499 @kimchouard Block for filters
kimchouard authored
122 -------------------------------------------------------------------------------------- -->
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
123
99cdc59 @alexisfasquel Replacing magellan script (laggy on chrome)
alexisfasquel authored
124 <div class="header-inline" id="featuredProj">
9380170 @nhall Consistency updates
nhall authored
125 <a class="head-anchor" name="projects"></a>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
126 <div class="wrapper" ng-repeat="featured in featureds['projects']" ng-class="{actual: $index <= indexFeatured['projects']}">
127 <div class="row">
128 <div class="large-5 columns text-header">
129 <div class="small-11 small-offset-1 columns" ng-bind-html="featured.textHeader"></div>
a01b25a @kimchouard Filters style DONE for projects
kimchouard authored
130 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
131
132 <div class="large-6 columns">
133 <img class="logo logoFeatured first" ng-src="{{featured.logo}}" title="{{featured.title}}" />
a01b25a @kimchouard Filters style DONE for projects
kimchouard authored
134 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
135 </div>
136 </div>
137
138 <div class="dots">
139 <div class="dot" ng-repeat="featured in featureds['projects']" ng-class="{actual: $index == indexFeatured['projects']}" ng-click="setIndexFeatured('projects', $index)"></div>
3795499 @kimchouard Block for filters
kimchouard authored
140 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
141
142 <div class="prev" ng-click="changeIndexFeatured('projects', -1)"></div>
143 <div class="next" ng-click="changeIndexFeatured('projects', +1)"></div>
3795499 @kimchouard Block for filters
kimchouard authored
144 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
145
146 <div class="main top">
147
148 <!-- --------------------------------------------------------------------------------------
149 Projects
150 -------------------------------------------------------------------------------------- -->
151
152 <!-- ------- Header -------- -->
153 <div class="row topProject">
154 <div class="large-12 columns">
f5df71d @kimchouard Binded with angular
kimchouard authored
155 <div class="popup" ng-hide="helped">
2e61e8f @kimchouard Style pop-up filters
kimchouard authored
156 Click here to filter Adobe repositories!
157 <a class="close" ng-click="closeHelp()">X</a>
158 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
159 <h2 class="large-6 small-4 columns">Repos</h2>
160 <form class="large-3 small-8 columns custom mainFilters">
161 <div class="large-10 small-10 columns">
9380170 @nhall Consistency updates
nhall authored
162 <select class="medium" id="orderby" ng-model="filterOrder">
163 <option value="" disabled>Order by:</option>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
164 <option value="-watchers_count" selected>Popularity</option>
165 <option value="-pushed_at">Last Push</option>
166 <option value="org">Organization</option>
167 <option value="name">Name</option>
434c730 @kimchouard Stats bug fix -> better value for global size
kimchouard authored
168 <option value="-size">Size</option>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
169 </select>
170 </div>
f5df71d @kimchouard Binded with angular
kimchouard authored
171 <div class="button large-2 small-2 culumns" ng-click="toggleFiltersButton()" ng-class="{disabled: loading}">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
172 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
9380170 @nhall Consistency updates
nhall authored
173 <path fill="#000000" d="M50.717,2.495c-29.288,0-47.692,6-47.692,10.833c0,5.932,16.029,19.893,20.167,23.667 c4.712,4.299,16.044,16.058,16.5,18.001c0.147,2.147,2.002,35.008,2.002,35.008s-0.168,5.5,8.998,5.5 c9.166,0,8.498-5.334,8.498-5.334s2.169-32.674,2.169-34.84s8.333-10.835,18.5-20.002c10.167-9.167,18.167-15.758,18.167-22 C98.025,8.299,80.004,2.495,50.717,2.495z M50.481,21.083C28.676,21.083,11,17.965,11,14.12s17.676-7.964,39.481-7.964 c21.801,0,39.478,4.119,39.478,7.964S72.282,21.083,50.481,21.083z"/>
174 </svg>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
175 </div>
176 </form>
90318a0 @kimchouard hg-include -> directive (bug fix magellan caused by $location with ng…
kimchouard authored
177 </div>
178 </div>
7848cea @kimchouard Better loading -> hg-include & loading
kimchouard authored
179
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
180 <!-- ------- Filters -------- -->
181 <div class="filters flat" ng-class="{flat: !toggleFilters}">
182 <div class="row">
183 <form class="custom large-12 columns mainFilters">
184 <div class="large-4 columns">
185 <input type="text" ng-model="searchName" placeholder="Search name, description...">
90318a0 @kimchouard hg-include -> directive (bug fix magellan caused by $location with ng…
kimchouard authored
186 </div>
187
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
188 <div class="large-3 columns">
9380170 @nhall Consistency updates
nhall authored
189 <input id="searchLang" type="text" ng-model="searchLangInput" placeholder="Languages">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
190 </div>
191
192 <div class="large-3 columns">
9380170 @nhall Consistency updates
nhall authored
193 <input id="searchOrg" type="text" ng-model="searchOrgInput" placeholder="Organizations">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
194 </div>
195
196 <div class="star large-2 columns">
9380170 @nhall Consistency updates
nhall authored
197 <a class="button tiny cancel" ng-show="filterStarIndex" ng-click="majFilterStar(0); majDisplayStar(0)">X</a>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
198 <div class="fitlerStar" ng-repeat="i in [1,2,3,4,5]" ng-class="{on: (i <= displayStarIndex)}" ng-click="majFilterStar(i)" ng-mouseenter="majDisplayStar(i)" ng-mouseleave="majDisplayStar(filterStarIndex)"></div>
199 </div>
200 </form>
201
202 <div ng-show="searchLang.length != 0 || searchOrg.length != 0 || searchName">
203 <div class="large-12 columns activeFilter">
204 <ul class="button-group filterLang" ng-repeat="lang in searchLang">
205 <li><a class="button tiny"># {{lang}}</a></li>
206 <li><a class="button tiny" ng-click="deleteFilter(searchLang, $index)">X</a></li>
207 </ul>
208 <ul class="button-group filterLang" ng-repeat="org in searchOrg">
209 <li><a class="button tiny">{{org}}</a></li>
210 <li><a class="button tiny" ng-click="deleteFilter(searchOrg, $index)">X</a></li>
211 </ul>
212 </div>
90318a0 @kimchouard hg-include -> directive (bug fix magellan caused by $location with ng…
kimchouard authored
213 </div>
214 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
215 </div>
216
217 <!-- ------- Items -------- -->
218 <div class="row wrapProjects">
219 <div ng-show="loading">
220 <loading />
221 </div>
222
223 <div ng-show="!loading">
224 <div class="large-12 columns">
225 <div class="row">
226 <div class="large-6 columns listItem" ng-repeat="actProject in projects | projectsFilter:this" ng-class-odd="'clear'">
227 <project project="actProject" />
228 </div>
90318a0 @kimchouard hg-include -> directive (bug fix magellan caused by $location with ng…
kimchouard authored
229
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
230 <!-- Reseter -->
231 <div class="large-6 columns clear"></div>
232 </div>
233 </div>
234
235 <div class="ng-hide" ng-class="{ buttonLess: projLast > 10, buttonMore : projLast == 10 }" ng-hide="(projects | projectsFilter:this).length < 10">
236 <div class="row text-center">
237 <button class="button" ng-click="showHideProj()">
238 <span ng-show="projLast == 10">Show more...</span>
239 <span id="showLess" ng-show="projLast > 10">Show less...</span>
240 </button>
241 </div>
90318a0 @kimchouard hg-include -> directive (bug fix magellan caused by $location with ng…
kimchouard authored
242 </div>
243 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
244
245 <!-- Reseter -->
9380170 @nhall Consistency updates
nhall authored
246 <div class="large-6 columns clear"></div>
7848cea @kimchouard Better loading -> hg-include & loading
kimchouard authored
247 </div>
03443b5 @kimchouard Parallax Org
kimchouard authored
248 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
249
250 <!-- --------------------------------------------------------------------------------------
251 Featured Organizations
252 -------------------------------------------------------------------------------------- -->
9380170 @nhall Consistency updates
nhall authored
253 <a class="head-anchor" name="organizations"></a>
99cdc59 @alexisfasquel Replacing magellan script (laggy on chrome)
alexisfasquel authored
254 <div class="header-inline" id="featuredOrg">
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
255 <div class="wrapper" ng-repeat="featured in featureds['orgs']" ng-class="{actual: $index <= indexFeatured['orgs']}">
256 <div class="row">
257 <div class="large-5 columns">
258 <img class="logo logoFeatured second" ng-src="{{featured.logo}}" title="{{featured.title}}" />
259 </div>
260 <div class="large-7 large-offset-5 columns text-header">
261 <div class="small-11 small-offset-1 columns" ng-bind-html="featured.textHeader"></div>
262 </div>
374de01 @kimchouard Multiple featured & Responsive improvement
kimchouard authored
263 </div>
03443b5 @kimchouard Parallax Org
kimchouard authored
264 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
265
266 <div class="dots">
267 <div class="dot" ng-repeat="featured in featureds['orgs']" ng-class="{actual: $index == indexFeatured['orgs']}" ng-click="setIndexFeatured('orgs', $index)"></div>
268 </div>
269
270 <div class="prev" ng-click="changeIndexFeatured('orgs', -1)"></div>
271 <div class="next" ng-click="changeIndexFeatured('orgs', +1)"></div>
03443b5 @kimchouard Parallax Org
kimchouard authored
272 </div>
374de01 @kimchouard Multiple featured & Responsive improvement
kimchouard authored
273
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
274 <div class="main">
275 <div class="row">
276 <div class="large-12 columns">
277
278 <!-- --------------------------------------------------------------------------------------
279 Organizations
280 -------------------------------------------------------------------------------------- -->
281
99cdc59 @alexisfasquel Replacing magellan script (laggy on chrome)
alexisfasquel authored
282 <h2 class="large-6 small-4 columns">Organizations</h2>
03443b5 @kimchouard Parallax Org
kimchouard authored
283
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
284 <div class="row">
285 <div ng-show="loading">
286 <loading />
90318a0 @kimchouard hg-include -> directive (bug fix magellan caused by $location with ng…
kimchouard authored
287 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
288
289 <div ng-show="!loading">
290 <div class="large-6 columns listItem" ng-repeat="actOrg in orgs" ng-class-odd="'clear'">
291 <org org="actOrg"/>
292 </div>
293 </div>
294
295 <!-- Reseter -->
9380170 @nhall Consistency updates
nhall authored
296 <div class="large-6 columns clear"></div>
2614deb @kimchouard First Draft
kimchouard authored
297 </div>
298 </div>
299 </div>
300 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
301
302 <div class="footer" id="footer">
303 <div class="row">
304 <div class="small-12 columns text-header text-center" id="text-header_org">
11f17eb @kimchouard ...
kimchouard authored
305 <h3><span class="title"><strong>Adobe</strong> Open Source</span><span class="next">, built with love...</span></h3>
306 <h5 class="details">...and with <a target="_blank" href="http://angularjs.org/" title="AngularJS">AngularJS</a>, <a target="_blank" href="http://foundation.zurb.com/" title="Foundation">Foundation</a>,<br />
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
307 <a target="_blank" href="http://pages.github.com/" title="Github Pages">Github Pages</a> and <a target="_blank" href="http://developer.github.com/v3/" title="Github API">API</a>,<br />
308 <a target="_blank" href="http://www.adobe.com/products/creativecloud.html" title="Adobe Creative Cloud">Adobe Creative Cloud</a>.</h5>
309 </div>
310 <div class="small-5 columns">
311 <div class="logo" id="logo3">
312 <img src="img/github_logo.svg" title="Github" />
313 </div>
314 </div>
315 </div>
45e8f2e @kimchouard Auto pull repos + display with angular
kimchouard authored
316 </div>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
317
e4ccff3 @kimchouard Merge branch 'master' into v2.0
kimchouard authored
318 <!-- Google Analytics -->
319 <script>
320 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
321 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
322 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
323 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
324
325 ga('create', 'UA-46814863-1', 'github.com');
326 ga('send', 'pageview');
327 </script>
328
736d0a5 @kimchouard Exclude IE9
kimchouard authored
329 <!--[if gte IE 10]><!-->
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
330 <script src="js/vendor/custom.modernizr.js"></script>
9380170 @nhall Consistency updates
nhall authored
331 <script src="//use.typekit.net/gad4asz.js"></script>
332 <script>try{Typekit.load();}catch(e){}</script>
7de7fad @abstractOwl Fixed assets not loading over https
abstractOwl authored
333 <script src="//code.jquery.com/jquery-1.9.1.js"></script>
334 <script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
335 <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js"></script>
c683dfa @kimchouard Disable display on IE < 9
kimchouard authored
336 <script src="js/vendor/angular-resource.js"></script>
337 <script src="js/foundation/foundation.js"></script>
338 <script src="js/foundation/foundation.forms.js"></script>
339 <script src="js/dcjs/crossfilter.min.js"></script>
340 <script src="js/dcjs/d3.min.js"></script>
341 <script src="js/dcjs/dc.min.js"></script>
342 <!--<![endif]-->
3595d28 @kimchouard Fix #13
kimchouard authored
343
03443b5 @kimchouard Parallax Org
kimchouard authored
344 <script src="js/script.js"></script>
3595d28 @kimchouard Fix #13
kimchouard authored
345
346 </body>
2614deb @kimchouard First Draft
kimchouard authored
347 </html>
Something went wrong with that request. Please try again.