nist-software-theme 0.1.2 → 0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 036db304a65529276f6065de1bf2f6026a5d73ec4ae688e2a4981a87b66fa2b5
4
- data.tar.gz: 9d25981dad9af77ad6afddf2ea9e5eb1570db41ec161d80d8fc374da4c195c72
3
+ metadata.gz: ae90e6e97ef0dc0050cf9a62bfab500f42851e68c6c40a9afb6d890957386ad4
4
+ data.tar.gz: e077f02a82ecbbd118ae394a18070136c9d009e1c33d3ba0de0f964584108d65
5
5
  SHA512:
6
- metadata.gz: b71e7556a4b4e79a952bbeafd3eb2b8837cf45b917f90677623c8d4645502982291678be2fa3065107c80abb4f0c92eb62c195b9dc23853205d7c9fc841f86be
7
- data.tar.gz: 7ad125c91261517959679e910fc165e689d7924e23a6fdb2e5b52d6b5c5103801f95baf839ad1e52fcdb3438b302f691edd16b5132b2b3a979444f223e068524
6
+ metadata.gz: 16cb9137df2d8fe2692fd70f36a11524fc34453d12da35eee92837c9df13b728e3ab35884db9085298107c32714d4ba1355209772393f5271aed8414935ae84e
7
+ data.tar.gz: c4dbca4df3b9342b448d7d8511e9df0e22a465b07ed361935058910837e2c8361619212b3abff414f18bbad1c73ea203fa1aaddece801839b954d07c27b2c4f9
@@ -1,13 +1,12 @@
1
1
  <div id="footer-slim" class="footer">
2
- <div class="container">
3
-
4
- <hr />
2
+ <div>
5
3
 
4
+ <br />
6
5
  <br />
7
6
 
8
7
  <div class="row">
9
8
  <div class="col-md-12 subfooter">
10
- <a href="https://www.nist.gov/" target="_blank"><img src="https://cdn.llnl.gov/onelab/latest/images/llnl.png" alt="NIST" border="0" /></a>
9
+ <a href="https://www.nist.gov/" target="_blank"><img src="https://data.nist.gov/sdp/assets/images/logo_rev.png" alt="NIST" border="0" /></a>
11
10
  <p> National Institute of Standards and Technology <br /> 100 Bureau Drive; Gaitherburg, MD 20899 </p>
12
11
  <p> Operated by the Office of Data and Informatics, for the <br /> National Institute of Standards and Technology. </p>
13
12
  </div>
@@ -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="/assets/images/favicon.ico">
6
+ <link rel="shortcut icon" href="./assets/images/favicon.ico">
7
7
 
8
- <link rel="stylesheet" href="/css/bootstrap/3.3./bootstrap.min.css" media="screen">
9
- <link rel="stylesheet" href="/css/font-awesome/4.7.0/font-awesome.min.css" media="screen">
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="/css/onelab/0.1.1/onelab.css" media="screen">
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>
@@ -1,6 +1,6 @@
1
1
  <nav id="header-slim" class="navbar navbar-default">
2
2
 
3
- <div class="container">
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="{{ site.baseurl }}/">{{ site.title }}</a>
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
- {% if page.path == "index.md" %} <li class="active"> {% else %} <li> {% endif %}
18
- <a href="{{ site.baseurl }}/">Home</a></li>
19
- {% for node in site.pages reversed %}
20
- {% unless node.path == "index.md" %}
21
- {% if node.url == page.url %} <li class="active"> {% else %} <li> {% endif %}
22
- <a href="{{ node.url | prepend: site.baseurl }}">{{ node.title }}</a></li>
23
- {% endunless %}
24
- {% endfor %}
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>
@@ -1,8 +1,8 @@
1
1
  <!-- jQuery first, then Bootstrap JS. -->
2
- <script src="/js/jquery-2.1.4.min.js"></script>
3
- <script src="/js/bootstrap.min.js"></script>
2
+ <script src="./js/jquery-2.1.4.min.js"></script>
3
+ <script src="./js/bootstrap.min.js"></script>
4
4
 
5
- <script src="/js/anchor.min.js"></script>
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>
@@ -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
- <div class="container">
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>
@@ -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">
@@ -0,0 +1,8 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="container">
5
+
6
+ {{content}}
7
+
8
+ </div>
@@ -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.1.2
4
+ version: '0.17'
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-04-23 00:00:00.000000000 Z
11
+ date: 2020-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -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