Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
angfl97
committed
Jul 12, 2019
1 parent
8213f22
commit 8a7270e
Showing
9 changed files
with
99 additions
and
103 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 |
---|---|---|
@@ -1,66 +1,4 @@ | ||
--- | ||
title: LLNL Software Catalog | ||
layout: portal | ||
title: Category | ||
layout: category | ||
--- | ||
|
||
{% raw %} | ||
|
||
<p class="page-title"> Welcome to the LLNL software portal—a hub for our open source projects. This catalog is updated automatically as repositories are added or modified. </p> | ||
|
||
|
||
|
||
<h2 class="page-header text-center" style="margin-top:0"> | ||
<span ng-show="repoData"> {{ repoData.length }} </span> | ||
Software Repositories | ||
</h2> | ||
|
||
|
||
<div class="text-center" style="width: 100%; display: -webkit-flex; display: flex; justify-content: center;"> | ||
<input ng-model="searchText" type="text" style="width: 40%;margin-right: 20px; margin-bottom: 10px;" autofocus placeholder="Filter Repositories"> | ||
|
||
<span> | ||
Sort By: | ||
<select ng-model="orderProp"> | ||
<option value="-stargazers.totalCount"> Stars </option> | ||
<option value="-forks.totalCount"> Forks </option> | ||
<option value="name"> Name </option> | ||
<option value="owner.login">Org </option> | ||
</select> | ||
</span> | ||
</div> | ||
|
||
|
||
<section ng-show="repoData" id="searchTextResults" class="flex-container"> | ||
<div ng-repeat="repo in repoData | filter:searchText | orderBy: orderProp" class="flex-item {{repo.name}} {{repo.owner.login}} {{repo.primaryLanguage.name}}" ng-click="repoHref(repo.nameWithOwner)" id="repositories"> | ||
<h4 class="text-center"> | ||
<span alt="Name" title="Name"> {{ repo.name }} </span> | ||
<small><span alt="Owner" title="Owner"> {{ repo.owner.login }} </span></small> | ||
<small><span alt="Primary Language" title="Primary Language"> {{ repo.primaryLanguage.name }} </span></small> | ||
</h4> | ||
|
||
<p class="text-justify"> {{ repo.description }} </p> | ||
|
||
<p class="stats text-center"> | ||
<a href="{{ repo.url }}" alt="GitHub Page" title="GitHub Page"> | ||
<span class="fa fa-github"></span> | ||
</a> | ||
|
||
<a href="{{ repo.url }}/stargazers" alt="Stargazers" title="Stargazers"> | ||
<span class="fa fa-star"></span> {{ repo.stargazers.totalCount }} | ||
</a> | ||
|
||
<a href="{{ repo.url }}/network" alt="Forks" title="Forks"> | ||
<span class="fa fa-code-fork"></span> {{ repo.forks.totalCount }} | ||
</a> | ||
|
||
<a ng-if="repo.homepageUrl" href="{{ repo.homepageUrl }}" alt="Project Website" title="Project Website"> | ||
<span class="fa fa-globe"></span> | ||
</a> | ||
</p> | ||
</div> | ||
</section> | ||
|
||
{% endraw %} | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script> | ||
<script src="/js/catalog/github-dynamic.js"></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
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
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