nist-software-theme 0.1.3 → 0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +5 -7
- data/_includes/header.html +19 -10
- data/_includes/scripts.html +3 -3
- data/_layouts/category.html +104 -0
- data/_layouts/default.html +7 -10
- data/_layouts/homepage.html +1 -1
- data/_layouts/info.html +8 -0
- data/_layouts/news.html +23 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f208f3184ec831013df3c91fd54f3197b33eba957a8d1571f1e5976208a8c2
|
4
|
+
data.tar.gz: e27207b491de5b38690b2b53698669a9172339c2d0bb116cbf484409465495ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b44fc5078d8c8f3491c7d59a605dc7ea310801a6092d14140cc8552474e21ce31f2e33a875dc14b1d96b92048a1133009b380037cf892e6556f0ad1ab36739
|
7
|
+
data.tar.gz: 3d4391c541c3d655285f2c5b93d79cfdb88fab16eb3c34e86779347d055a7b9ba2f8fb6aa68856884a3811f66781dc29c2e763d9092905a183bc265e992ac87f
|
data/_includes/head.html
CHANGED
@@ -3,15 +3,13 @@
|
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
5
|
|
6
|
-
<link rel="shortcut icon" href="
|
6
|
+
<link rel="shortcut icon" href="./assets/images/favicon.ico">
|
7
7
|
|
8
|
-
<link rel="stylesheet" href="
|
9
|
-
<link rel="stylesheet" href="
|
8
|
+
<link rel="stylesheet" href="./css/bootstrap/3.3.5/bootstrap.min.css" media="screen">
|
9
|
+
<link rel="stylesheet" href="./css/font-awesome/font-awesome.min.css" media="screen">
|
10
10
|
|
11
|
-
<link rel="stylesheet" href="
|
11
|
+
<link rel="stylesheet" href="./css/onelab/0.1.1/onelab.css" media="screen">
|
12
|
+
<link rel="stylesheet" href="./css/main.css" media="screen">
|
12
13
|
|
13
|
-
<link rel="stylesheet" href="/css/css/main.css" media="screen">
|
14
|
-
|
15
|
-
{% include custom_head.html %}
|
16
14
|
{% seo %}
|
17
15
|
</head>
|
data/_includes/header.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<nav id="header-slim" class="navbar navbar-default">
|
2
2
|
|
3
|
-
<div
|
3
|
+
<div>
|
4
4
|
<div class="navbar-header">
|
5
5
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#siteNavbar">
|
6
6
|
<span class="icon-bar"></span>
|
@@ -9,19 +9,28 @@
|
|
9
9
|
</button>
|
10
10
|
|
11
11
|
<p id="nist-menu-tab" class="pull-left"><a href="https://www.nist.gov"></a></p>
|
12
|
-
<a class="navbar-brand" href="
|
12
|
+
<a class="navbar-brand" href="/">{{ site.name }}</a>
|
13
|
+
<span class="badge" style="color:black;background-color:#f0f0f0;vertical-align: text-top;margin-top: 10px;">{{ site.version }}</span>
|
13
14
|
</div>
|
14
15
|
|
15
16
|
<div id="siteNavbar" class="collapse navbar-collapse">
|
16
17
|
<ul class="nav navbar-nav navbar-right navbar-collapse">
|
17
|
-
|
18
|
-
<a href="
|
19
|
-
|
20
|
-
{%
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
<li id="data-portal">
|
19
|
+
<a class="navbar-normal" href="https://data.nist.gov" target="_blank">Data Portal</a></li>
|
20
|
+
<li id="explore"
|
21
|
+
{% if page.url == "/explore/" %} class="active"
|
22
|
+
{% endif %}><a class="navbar-normal" href="/explore/">Explore</a></li>
|
23
|
+
|
24
|
+
<li id="about"
|
25
|
+
{% if page.url == "/about/" %} class="active dropdown"
|
26
|
+
{% else %} class="dropdown"
|
27
|
+
{% endif %}><a class="navbar-normal" href="/about/">About</a>
|
28
|
+
<div class="dropdown-content">
|
29
|
+
<p><a class="navbar-normal" href="/about/using-github/">Using GitHub</a></p>
|
30
|
+
<p><a class="navbar-normal" href="/about/licenses/">Licensing</a></p>
|
31
|
+
<p><a class="navbar-normal" href="https://github.com/usnistgov/opensource">This Site</a></p>
|
32
|
+
</div>
|
33
|
+
</li>
|
25
34
|
<li id="github"><a href="https://github.com/usnistgov"><span class="fa fa-github fa-lg"></span></a></li>
|
26
35
|
</ul>
|
27
36
|
</div>
|
data/_includes/scripts.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
<!-- jQuery first, then Bootstrap JS. -->
|
2
|
-
<script src="
|
3
|
-
<script src="
|
2
|
+
<script src="./js/jquery-2.1.4.min.js"></script>
|
3
|
+
<script src="./js/bootstrap.min.js"></script>
|
4
4
|
|
5
|
-
<script src="
|
5
|
+
<script src="./js/anchor.min.js"></script>
|
6
6
|
<script>
|
7
7
|
anchors.add()
|
8
8
|
</script>
|
@@ -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/default.html
CHANGED
@@ -1,20 +1,17 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en">
|
3
3
|
|
4
|
-
{% include head.html %}
|
4
|
+
{% include head.html %}
|
5
5
|
|
6
|
-
<body>
|
6
|
+
<body class="static-text">
|
7
7
|
|
8
|
-
{% include header.html %}
|
8
|
+
{% include header.html %}
|
9
9
|
|
10
|
-
|
11
|
-
{% include breadcrumbs.html %}
|
12
|
-
{{ content }}
|
13
|
-
</div>
|
10
|
+
{{ content }}
|
14
11
|
|
15
|
-
{% include footer.html %}
|
12
|
+
{% include footer.html %}
|
16
13
|
|
17
|
-
{% include scripts.html %}
|
14
|
+
{% include scripts.html %}
|
18
15
|
|
19
|
-
</body>
|
16
|
+
</body>
|
20
17
|
</html>
|
data/_layouts/homepage.html
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
{% include header.html %}
|
9
9
|
|
10
10
|
<div>
|
11
|
-
<div class="banner"
|
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
12
|
</div>
|
13
13
|
|
14
14
|
<div class="container">
|
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,14 +1,14 @@
|
|
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.18'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Faical Yannick P. Congo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -68,13 +68,16 @@ 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
|
77
|
-
homepage: https://github.com/usnistgov/
|
80
|
+
homepage: https://github.com/usnistgov/nist-software-theme
|
78
81
|
licenses:
|
79
82
|
- MIT
|
80
83
|
metadata: {}
|