dsm-portfolio-theme 0.1.2

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6582c9b2bdf01ce9fdb22aee58a867df4427ff86
4
+ data.tar.gz: 774ee8a4dcbd06aeb36404b1018fe25b0c3e367e
5
+ SHA512:
6
+ metadata.gz: a1f3d068bdc0bb8c9dde97440def36f4407cd448d5a9e8b7c7f3b54f5379172c0876ee4e9e1a3b08d3325bf5e9962860104cbf8d6c7187133422c21a533ff2d9
7
+ data.tar.gz: bc9e0968f8d4b81aedc52791d806b055c0b700771895b7772b3159968d7c0955d9d8a2075195ad3712035846189e95da777ca41597672176327c9cfee9a247e5
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Josh Hills
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # dsm-portfolio
2
+
3
+ Describe the work here...
4
+
5
+ The theme is the main body of work.
6
+
7
+ The site is a pre-generated site using the theme, with dummy information to be altered by users.
8
+
9
+ ## Usage
10
+
11
+ See 'USAGE.md' in 'docs', which describes how to use this repository to maintain a portfolio of submissions.
12
+
13
+ ## Contributing
14
+
15
+ See 'MODIFICATIONS.md' in 'docs', which describes how to alter the repository.
16
+
17
+ ## Legal
18
+
19
+ See 'LEGAL.md' in 'docs', which describes licensing and attributions.
20
+
21
+ ### All information is duplicated in the repository's ['wiki'](#) and the theme iteslf.
File without changes
File without changes
@@ -0,0 +1,12 @@
1
+ <!-- Important Links -->
2
+ <div class="m-header">
3
+ <ul class="m-header__links">
4
+ {% for header-link in site.data.header-links %}
5
+ <li>
6
+ <a class="a-link" href="{{ header-link.url }}" target="_self">
7
+ {{ header-link.title }}
8
+ </a>
9
+ </li>
10
+ {% endfor %}
11
+ </ul>
12
+ </div>
@@ -0,0 +1,29 @@
1
+ <!-- List all projects in collection -->
2
+ <div class="o-project-list">
3
+ <h2>
4
+ Projects
5
+ </h2>
6
+ <div class="">
7
+ <!-- Group posts by subdirectory (parent project Id) -->
8
+ {% assign postsByProject = site.posts | group_by_exp: "post", "post.projectId" %}
9
+ {% for project in postsByProject %}
10
+ <div class="">
11
+ <p class="">
12
+ <!-- Date of submission -->
13
+ {{ project.items[0].date | date: "%d-%m-%Y" }}
14
+ </p>
15
+ <div class="">
16
+ <!-- Project details -->
17
+ <h3 class="">
18
+ {{ project.items[0].projectTitle }}
19
+ </h3>
20
+ <div class="">
21
+ {% for file in project.items %}
22
+ <a class="" href="{{ file.url | relative_url }}">{{ file.type | capitalize }}</a>
23
+ {% endfor %}
24
+ </div>
25
+ </div>
26
+ </div>
27
+ {% endfor %}
28
+ </div>
29
+ </div>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ <head>
4
+ <!-- Meta-->
5
+ <meta charset="UTF-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+
9
+ <!-- TODO: SEO-->
10
+
11
+ <!-- Styles -->
12
+ <link rel="stylesheet" href="{{ "/assets/styles/main.css" | relative_url }}">
13
+ </head>
14
+ <body>
15
+ <!-- Header-->
16
+ {% include header.html %}
17
+
18
+ <!-- Wrapper Content -->
19
+ {{ content }}
20
+
21
+ <!-- Footer -->
22
+ {% include footer.html %}
23
+
24
+ <!-- TODO: Scripts -->
25
+ </body>
26
+ </html>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,32 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- Main Index Scroll -->
5
+ <div>
6
+ <div class="">
7
+ <h1>
8
+ {{ site.full_name }}
9
+ </h1>
10
+ </div>
11
+ <div class="">
12
+ <h2>
13
+ Contact
14
+ </h2>
15
+ <!-- TODO: Contact information. -->
16
+ {% for link in site.contact_details %}
17
+ <li>
18
+ <a class="a-link" href="{{ link.url }}" target="_self">
19
+ {{ link.title }}
20
+ </a>
21
+ </li>
22
+ {% endfor %}
23
+ </div>
24
+ <div class="">
25
+ <div class="">
26
+ {{ content }}
27
+ </div>
28
+ </div>
29
+ <div class="">
30
+ {% include project-list.html %}
31
+ </div>
32
+ </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,63 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="">
5
+ <div class="">
6
+ <a class="" href="{{ '/' | relative_url }}">Portfolio</a> &gt;
7
+ {{ page.projectTitle }} &gt;
8
+ {{ page.type | capitalize }}
9
+ </div>
10
+ <div class="">
11
+ <h1>
12
+ {{ page.projectTitle }}
13
+ </h1>
14
+ </div>
15
+ </div>
16
+ <div class="">
17
+ <div class="">
18
+ <h3>
19
+ Summary
20
+ </h3>
21
+ {{ content }}
22
+ </div>
23
+ <div class="">
24
+ <div class="">
25
+ <h3>
26
+ Length
27
+ </h3>
28
+ {{ page.length }}
29
+ </div>
30
+ <div class="">
31
+ <h3>
32
+ Tags
33
+ </h3>
34
+ <ul class="">
35
+ {% for tag in page.tags %}
36
+ <li>
37
+ {{ tag }}
38
+ </li>
39
+ {% endfor %}
40
+ </ul>
41
+ </div>
42
+ <div class="">
43
+ <h3>
44
+ External Resources
45
+ </h3>
46
+ <ul class="">
47
+ {% for external_resource in page.external_resources %}
48
+ <li>
49
+ <a class="" href="{{ external_resource.url }}" target="_blank">
50
+ {{ external_resource.title }}
51
+ </a>
52
+ </li>
53
+ {% endfor %}
54
+ </ul>
55
+ </div>
56
+ </div>
57
+ {% if page.notebook_file %}
58
+ <div class="">
59
+ {% assign notebook_path = site.notebook_base_path | append: page.notebook_file | relative_url %}
60
+ {% jupyter_notebook notebook_path: notebook_path %}
61
+ </div>
62
+ {% endif %}
63
+ </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ p {
2
+ color: red;
3
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,58 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 5,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "my_test_variable = 5"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "markdown",
14
+ "metadata": {},
15
+ "source": [
16
+ "# This is a test"
17
+ ]
18
+ },
19
+ {
20
+ "cell_type": "code",
21
+ "execution_count": 6,
22
+ "metadata": {},
23
+ "outputs": [
24
+ {
25
+ "name": "stdout",
26
+ "output_type": "stream",
27
+ "text": [
28
+ "5\n"
29
+ ]
30
+ }
31
+ ],
32
+ "source": [
33
+ "print(my_test_variable)"
34
+ ]
35
+ }
36
+ ],
37
+ "metadata": {
38
+ "kernelspec": {
39
+ "display_name": "Python 3",
40
+ "language": "python",
41
+ "name": "python3"
42
+ },
43
+ "language_info": {
44
+ "codemirror_mode": {
45
+ "name": "ipython",
46
+ "version": 3
47
+ },
48
+ "file_extension": ".py",
49
+ "mimetype": "text/x-python",
50
+ "name": "python",
51
+ "nbconvert_exporter": "python",
52
+ "pygments_lexer": "ipython3",
53
+ "version": "3.6.6"
54
+ }
55
+ },
56
+ "nbformat": 4,
57
+ "nbformat_minor": 2
58
+ }
@@ -0,0 +1,37 @@
1
+ ---
2
+ # Front matter hyphens tell Jekyll pre-processor this is the main SCSS file.
3
+ ---
4
+
5
+ /***
6
+ * This file imports all partials required by the site.
7
+ * The design philosphy employed is 'atomic design'.
8
+ *
9
+ * Jekyll does not natively support 'globbing', so paths
10
+ * to new files must be specified manually.
11
+ */
12
+
13
+ // Base styles.
14
+ @import "base/colours";
15
+ @import "base/fonts";
16
+ @import "base/normalize";
17
+ @import "base/spacing";
18
+
19
+ // Atoms.
20
+ @import "atoms/forms";
21
+ @import "atoms/images";
22
+ @import "atoms/links";
23
+ @import "atoms/lists";
24
+ @import "atoms/tables";
25
+ @import "atoms/typography";
26
+
27
+ // Molecules.
28
+ @import "molecules/header";
29
+ @import "molecules/footer";
30
+
31
+ // Organisms.
32
+ // @import "organisms/";
33
+
34
+ // Layouts.
35
+ @import "layouts/evaluation";
36
+ @import "layouts/page";
37
+ @import "layouts/portfolio";
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dsm-portfolio-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Josh Hills
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-08-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-jupyter-notebook
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.3
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '12.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '12.0'
69
+ description:
70
+ email:
71
+ - josh@jargonify.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _includes/anaytics.html
79
+ - _includes/footer.html
80
+ - _includes/header.html
81
+ - _includes/project-list.html
82
+ - _layouts/default.html
83
+ - _layouts/page.html
84
+ - _layouts/portfolio.html
85
+ - _layouts/post.html
86
+ - _layouts/project.html
87
+ - _layouts/summary.html
88
+ - _layouts/vignette.html
89
+ - _sass/atoms/_forms.scss
90
+ - _sass/atoms/_images.scss
91
+ - _sass/atoms/_links.scss
92
+ - _sass/atoms/_lists.scss
93
+ - _sass/atoms/_tables.scss
94
+ - _sass/atoms/_typography.scss
95
+ - _sass/base/_colours.scss
96
+ - _sass/base/_fonts.scss
97
+ - _sass/base/_normalize.scss
98
+ - _sass/base/_spacing.scss
99
+ - _sass/layouts/_evaluation.scss
100
+ - _sass/layouts/_page.scss
101
+ - _sass/layouts/_portfolio.scss
102
+ - _sass/molecules/_footer.scss
103
+ - _sass/molecules/_header.scss
104
+ - assets/notebooks/demo.ipynb
105
+ - assets/styles/main.scss
106
+ homepage: https://github.com/joshhills/dsm-portfolio/theme
107
+ licenses:
108
+ - MIT
109
+ metadata: {}
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 2.5.2
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: A personalised portfolio site theme comprising of competency-based evaluations
130
+ and summaries of project work for university students studying a masters in data
131
+ science program at Newcastle University.
132
+ test_files: []