jalpha 0.1 → 0.2

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
  SHA1:
3
- metadata.gz: 460f98590528e8f9b0e3567b4407c8fcde7ffb11
4
- data.tar.gz: 106b63a87c4aca745ef33092a205b0e214db9eeb
3
+ metadata.gz: 13e36bc46e10e73e0e0f842c82a91fdf7913e9a7
4
+ data.tar.gz: 5f25feb30c2e2f9448ed6cadc8db716955dca111
5
5
  SHA512:
6
- metadata.gz: 46e638556367a3d8fb61f2f480cbbd9fbb4f7e4ce63f01b71750c1347feb29a72fed5c58c40a2e5ff344fcfe3a65db86c2f98b0772d92e82230d797fa7c573c0
7
- data.tar.gz: 5acd8e3a0cfa2c8bbea45d743c1c12b517c6521f40afc0e7e6b88f9df67517d52a060f84a3b95814753e2562da23d0fc6e62553cb6cfd05fa52e0869a78e660f
6
+ metadata.gz: a684a8cb364ddee11d8086371b2f28aecc5de9fa8370fa1d553816a65be111701438c6c98d5e5d7652d89dd4166b531d2d48448a3c65b054e267e71b350baaa7
7
+ data.tar.gz: 804c46dc52d5d93117a382cd66d1701c09dcbd75876b1a95b398f6ce4126c258b81cff0a7135cd20e3038e9d478954320c644c9d19db2f87f984a98292eb92ae
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Jalpha
2
2
 
3
+ [![CircleCI](https://circleci.com/gh/AusDTO/jalpha.svg?style=svg)](https://circleci.com/gh/AusDTO/jalpha)
4
+
3
5
  Jalpha generates a new Jekyll project packed with everything you should need to get started on your examplar's Alpha. This allows you to concentrate on your project from day one.
4
6
 
5
7
  ## What do you get
@@ -1,3 +1,3 @@
1
1
  module Jalpha
2
- VERSION = "0.1"
2
+ VERSION = "0.2"
3
3
  end
@@ -0,0 +1,17 @@
1
+ <footer role="contentinfo">
2
+ <div class="wrapper">
3
+ <div class="footer-logo">
4
+ <img src="https://www.gov.au/alpha/assets/coatofarms-01.svg" alt="Logo image" onerror="this.src='https://www.gov.au/alpha/assets/coatofarms-01.png'; this.onerror=null;">
5
+ </div>
6
+ <div class="footer-links">
7
+ <a href="#">This is a footer link</a>
8
+ <a href="#">This is a footer link</a>
9
+ <a href="#">This is a footer link</a>
10
+ <a href="#">This is a footer link</a>
11
+ <br>
12
+ <br>
13
+ © Commonwealth of Australia<br>
14
+ Licensed under the MIT License.
15
+ </div>
16
+ </div>
17
+ </footer>
@@ -0,0 +1,25 @@
1
+ <header role="banner">
2
+ {% if loggedin == "true" %}
3
+ <section class="controls">
4
+ <div class="wrapper">
5
+ <a href="#" class="login">Logout</a>
6
+ </div>
7
+ </section>
8
+ {% endif %}
9
+ <section class="govau--header">
10
+ <div class="wrapper">
11
+ <div class="govau--logo">
12
+ <a href="#" class="logo">gov.au</a> <span class="badge--default">prototype</span>
13
+ </div>
14
+ <div class="feedback">
15
+ <a href="#" class="button--feedback">Give feedback</a>
16
+ </div>
17
+ </div>
18
+ </section>
19
+ <section class="hero">
20
+ <div class="wrapper">
21
+ <a href="#" class="site-title">{{ page.agency }}</a>
22
+ <p class="tagline">{{ page.agencySub }}</p>
23
+ </div>
24
+ </section>
25
+ </header>
@@ -21,6 +21,8 @@
21
21
 
22
22
  <link rel="apple-touch-icon" href="{% asset_path apple-touch-icon.png %}">
23
23
 
24
+ <link rel="stylesheet" type="text/css" href="https://gov-au-ui-kit.apps.staging.digital.gov.au/latest/ui-kit.min.css"/>
25
+
24
26
  {% stylesheet application %}
25
27
  </head>
26
28
  <body>
@@ -30,10 +32,14 @@
30
32
  to improve your experience.</p>
31
33
  <![endif]-->
32
34
 
35
+ {% include header.html %}
36
+
33
37
  <main role="main">
34
38
  {{ content }}
35
39
  </main>
36
40
 
41
+ {% include footer.html %}
42
+
37
43
  {% javascript vendor %}
38
44
  {% javascript application %}
39
45
 
data/template/bin/setup CHANGED
@@ -7,9 +7,14 @@
7
7
  set -e
8
8
 
9
9
  # Set up Ruby dependencies via Bundler.
10
- gem install bundler --conservative
11
- bundle check || bundle install
12
- bundle update
10
+ # If running on CircleCI, ensure gems are cached by using vendor folder.
11
+ if [ -z "$CIRCLECI" ]; then
12
+ gem install bundler --conservative
13
+ bundle check || bundle install
14
+ bundle update
15
+ else
16
+ bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
17
+ fi
13
18
 
14
19
  # Set up JS dependencies via Bower.
15
20
  bower --version > /dev/null || npm install -g bower
data/template/index.html CHANGED
@@ -2,4 +2,6 @@
2
2
  layout: default
3
3
  title: ""
4
4
  description: ""
5
+ agency: ""
6
+ agencySub: ""
5
7
  ---
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jalpha
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mick Pollard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-08 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -84,7 +84,8 @@ files:
84
84
  - template/_assets/stylesheets/application.scss
85
85
  - template/_config.yml.tt
86
86
  - template/_data/.keep
87
- - template/_includes/.keep
87
+ - template/_includes/footer.html
88
+ - template/_includes/header.html
88
89
  - template/_layouts/default.html
89
90
  - template/bin/cideploy.sh
90
91
  - template/bin/setup
File without changes