nist-software-theme 0.16 → 0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/category.html +104 -0
- data/_layouts/info.html +8 -0
- data/_layouts/news.html +23 -0
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae90e6e97ef0dc0050cf9a62bfab500f42851e68c6c40a9afb6d890957386ad4
|
|
4
|
+
data.tar.gz: e077f02a82ecbbd118ae394a18070136c9d009e1c33d3ba0de0f964584108d65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16cb9137df2d8fe2692fd70f36a11524fc34453d12da35eee92837c9df13b728e3ab35884db9085298107c32714d4ba1355209772393f5271aed8414935ae84e
|
|
7
|
+
data.tar.gz: c4dbca4df3b9342b448d7d8511e9df0e22a465b07ed361935058910837e2c8361619212b3abff414f18bbad1c73ea203fa1aaddece801839b954d07c27b2c4f9
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en" ng-app="app">
|
|
3
|
+
|
|
4
|
+
{% include head.html %}
|
|
5
|
+
|
|
6
|
+
<body ng-controller="gitHubDataController">
|
|
7
|
+
|
|
8
|
+
{% include header.html %}
|
|
9
|
+
|
|
10
|
+
<div>
|
|
11
|
+
<div style="background-image: url('https://data.nist.gov/sdp/assets/images/sdp-background.jpg'); background-position-y: 65%; background-repeat: no-repeat;background-size: 100%;');"><div class="banner"></div></div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
{% raw %}
|
|
15
|
+
|
|
16
|
+
<div class="hamburger-container">
|
|
17
|
+
<span ng-click="showHamburger = !showHamburger" class="fa fa-bars fa-2x"></span>
|
|
18
|
+
<div class="hamburger-nav" ng-if="showHamburger">
|
|
19
|
+
<div ng-repeat="category in catData" ng-click="categoryHref(category.title)" ng-class="{'selected-tab': $index == selectedIndex }">
|
|
20
|
+
<a class="tab"> {{ category.displayTitle }} </a>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="wrapper">
|
|
25
|
+
<div class="nav-container">
|
|
26
|
+
<nav class="stickynav">
|
|
27
|
+
<div ng-repeat="category in catData" ng-click="categoryHref(category.title)" ng-class="{'selected-tab': $index == selectedIndex }">
|
|
28
|
+
<img ng-src="{{ category.icon.path }}" style="width: 40px; height: 40px; margin-right: 10px;" alt="{{ category.icon.alt }}" title="{{ category.icon.alt }}" />
|
|
29
|
+
<a class="tab">{{ category.displayTitle }}</a>
|
|
30
|
+
</div>
|
|
31
|
+
</nav>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="main">
|
|
35
|
+
<div ng-repeat="category in catData">
|
|
36
|
+
<div class="page">
|
|
37
|
+
|
|
38
|
+
<div ng-if="category.title === currentLocation">
|
|
39
|
+
<div class="title-container page-header">
|
|
40
|
+
<img ng-src="{{ category.icon.path }}" style="width: 125px; height: 125px" alt="{{ category.icon.alt }}" title="{{ category.icon.alt }}" />
|
|
41
|
+
<div class="title-description">
|
|
42
|
+
<h3>{{ category.title }}</h3>
|
|
43
|
+
<p>{{ category.description }}</p>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div style="display: flex; display: -webkit-flex; justify-content: center;">
|
|
47
|
+
<input ng-model="searchText" type="text" style="width: 25%; margin-bottom: 10px; margin-right: 10px;" autofocus placeholder="Filter Repositories" />
|
|
48
|
+
<p>
|
|
49
|
+
Sort By:
|
|
50
|
+
<select ng-model="orderProp">
|
|
51
|
+
<option value="-stars"> Stars </option>
|
|
52
|
+
<option value="-forks"> Forks </option>
|
|
53
|
+
<option value="name"> Name </option>
|
|
54
|
+
<option value="owner"> Org </option>
|
|
55
|
+
</select>
|
|
56
|
+
</p>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<section class="flex-container-category" id="repositories">
|
|
60
|
+
<div class="flex-item {{ repo.name }} {{ repo.owner.login }} {{ repo.primaryLanguage.name }}" ng-repeat="repo in topicRepos[catData.indexOf(category)] | filter: searchText | orderBy: orderProp" ng-click="repoHref(repo.nameWithOwner)">
|
|
61
|
+
<h4 class="text-center">
|
|
62
|
+
<span alt="Name" title="Name"> {{ repo.name }} </span>
|
|
63
|
+
<small><span alt="Owner" title="Owner"> {{ repo.owner }} </span></small>
|
|
64
|
+
<small><span alt="Primary Language" title="Primary Language"> {{ repo.language || '-' }} </span></small>
|
|
65
|
+
</h4>
|
|
66
|
+
|
|
67
|
+
<p class="text-justify">{{ repo.description }}</p>
|
|
68
|
+
|
|
69
|
+
<p class="stats text-center">
|
|
70
|
+
<a href="{{ repo.gitUrl }}" alt="GitHub Page" title="GitHub Page">
|
|
71
|
+
<span class="fa fa-github"></span>
|
|
72
|
+
</a>
|
|
73
|
+
|
|
74
|
+
<a href="{{ repo.gitUrl }}/stargazers" alt="Stargazers" title="Stargazers">
|
|
75
|
+
<span class="fa fa-star"></span> {{ repo.stars }}
|
|
76
|
+
</a>
|
|
77
|
+
|
|
78
|
+
<a href="{{ repo.gitUrl }}/network" alt="Forks" title="Forks">
|
|
79
|
+
<span class="fa fa-code-fork"></span> {{ repo.forks }}
|
|
80
|
+
</a>
|
|
81
|
+
|
|
82
|
+
<a ng-if="repo.homepageUrl" href="{{ repo.homepageUrl }}" alt="Project Website" title="Project Website">
|
|
83
|
+
<span class="fa fa-globe"></span>
|
|
84
|
+
</a>
|
|
85
|
+
</p>
|
|
86
|
+
</div>
|
|
87
|
+
</section>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
{% endraw %}
|
|
96
|
+
|
|
97
|
+
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
|
|
98
|
+
<script src="./js/focused-category-info.js"></script>
|
|
99
|
+
|
|
100
|
+
{% include footer.html %}
|
|
101
|
+
|
|
102
|
+
{% include scripts.html %}
|
|
103
|
+
</body>
|
|
104
|
+
</html>
|
data/_layouts/info.html
ADDED
data/_layouts/news.html
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="container" style="margin-top: 30px;">
|
|
6
|
+
<div class="twitterFeed">
|
|
7
|
+
<div class="tweet-border">
|
|
8
|
+
<h4 class="twitter-title "> Latest from Twitter </h4>
|
|
9
|
+
<a class="twitter-timeline " data-chrome="nofooter noheader noborders" href="https://twitter.com/{{site.twitter.username}}" data-tweet-limit="2"></a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
|
10
|
+
<div >
|
|
11
|
+
<a href="https://twitter.com/{{site.twitter.username}}" class="twitter-follow-button" data-show-count="false">Follow '@'LLNL_OpenSource</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
{{ content }}
|
|
17
|
+
|
|
18
|
+
<div class="twitterFeed-mobile" >
|
|
19
|
+
<h4 class="twitter-title"> Latest from Twitter </h4>
|
|
20
|
+
<a class="twitter-timeline" data-chrome="nofooter noheader" href="https://twitter.com/{{site.twitter.username}}" data-tweet-limit="2"></a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
|
21
|
+
<a href="https://twitter.com/{{site.twitter.username}}" class="twitter-follow-button" data-show-count="false">Follow @{{site.twitter.username}}</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nist-software-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.17'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Faical Yannick P. Congo
|
|
@@ -68,9 +68,12 @@ files:
|
|
|
68
68
|
- _includes/head.html
|
|
69
69
|
- _includes/header.html
|
|
70
70
|
- _includes/scripts.html
|
|
71
|
+
- _layouts/category.html
|
|
71
72
|
- _layouts/default.html
|
|
72
73
|
- _layouts/entry.html
|
|
73
74
|
- _layouts/homepage.html
|
|
75
|
+
- _layouts/info.html
|
|
76
|
+
- _layouts/news.html
|
|
74
77
|
- _layouts/portal.html
|
|
75
78
|
- _layouts/post.html
|
|
76
79
|
- _layouts/repo.html
|