forked from LLNL/llnl.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (43 loc) · 2.26 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
---
title: LLNL Software Portal
layout: homepage
---
{% raw %}
<p class="page-title">Welcome to the LLNL software portal—a hub for our open source projects. <br />Our <a ng-click="categoryHref('ALL SOFTWARE')" style="cursor: pointer">full catalog</a> is updated regularly as repositories are added or modified.</p>
<section class="flex-container" id="categories">
<div ng-repeat="category in catData" class="flex-category dynamic" ng-click="categoryHref(category.title)">
<img ng-src="{{ category.icon.path }}" style="width: 150px; height: 150px" alt="{{ category.icon.alt }}" />
<h4>{{ category.title }}</h4>
<p class="text-center">{{ category.description.short }}</p>
<div ng-repeat="repo in topicRepos[catData.indexOf(category)]">
<p class="links" ng-show="topicRepos[catData.indexOf(category)].indexOf(repo) < 4">
<span>
<a href="https://github.com/{{ repo.ownerLogin }}" alt="View Owner on GitHub" title="Owner: {{ repo.ownerLogin }}">
<img class="orgAvatar" ng-src="{{ repo.ownerAvatar }}" />
</a>
</span>
<span>
<a href="{{ repo.gitUrl }}" alt="{{ repo.description || '[No Description]' }}" title="{{ repo.description || '[No Description]' }}">
{{ repo.name }}
</a>
</span>
<span>
<a href="{{ repo.gitUrl }}/stargazers" alt="Stargazers" title="Stargazers">
{{ repo.stars }} <span class="fa fa-star"></span>
</a>
</span>
<span>
<a ng-click="repoHref(repo.nameWithOwner); $event.stopPropagation();" alt="Rpo Info" title="Repo Info">
<span class="fa fa-info-circle"></span>
</a>
</span>
</p>
</div>
<a class="more" ng-if="topicRepos[catData.indexOf(category)].length > 4">...MORE</a>
</div>
</section>
{% endraw %}
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
<script src="/js/app.js"></script>
<script src="/js/Category.service.js"></script>
<script src="/js/category-info.js"></script>