nist-software-theme 0.1.3 → 0.18

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 538f120193ef81426bd8c58f341f41996ce0e402ccdbd5eaf9957b6669cfbb98
4
- data.tar.gz: 7a7bd62bc5d9ffcac306ece180aa45cec9acf1b3980bf600152391d46da58b74
3
+ metadata.gz: e4f208f3184ec831013df3c91fd54f3197b33eba957a8d1571f1e5976208a8c2
4
+ data.tar.gz: e27207b491de5b38690b2b53698669a9172339c2d0bb116cbf484409465495ed
5
5
  SHA512:
6
- metadata.gz: 3fa7041f6b967852c7164a5ab14910b4ae42589f028ad698670f35740d86c0fa71f1db1d8edb2781c2e7c8a01ab6c661db2e2014b50842a3d413f2e7d79df07f
7
- data.tar.gz: 6528b94ee75c2a487451a5a17ba63b8b4a81b9bdd482fc083e1f159e0fb48b99826128ca128132b7eca08bfe5915cccacbcea312bad871c11e7a1ee8ae84bdb1
6
+ metadata.gz: a1b44fc5078d8c8f3491c7d59a605dc7ea310801a6092d14140cc8552474e21ce31f2e33a875dc14b1d96b92048a1133009b380037cf892e6556f0ad1ab36739
7
+ data.tar.gz: 3d4391c541c3d655285f2c5b93d79cfdb88fab16eb3c34e86779347d055a7b9ba2f8fb6aa68856884a3811f66781dc29c2e763d9092905a183bc265e992ac87f
@@ -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.3
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-04-30 00:00:00.000000000 Z
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/software/nist-software-theme
80
+ homepage: https://github.com/usnistgov/nist-software-theme
78
81
  licenses:
79
82
  - MIT
80
83
  metadata: {}