Skip to content
Snippets Groups Projects
Commit 73f4695a authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

moving theme docs around

parent 659c2d51
No related branches found
No related tags found
No related merge requests found
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
...@@ -20,13 +20,13 @@ module.exports = (grunt) -> ...@@ -20,13 +20,13 @@ module.exports = (grunt) ->
'index.html' 'index.html'
'slides/*.md' 'slides/*.md'
'slides/*.html' 'slides/*.html'
'js/*.js' 'theme/js/*.js'
] ]
index: index:
files: [ files: [
'templates/_index.html' 'theme/templates/_index.html'
'templates/_section.html' 'theme/templates/_section.html'
'slides/list.json' 'slides/list.json'
] ]
tasks: ['buildIndex'] tasks: ['buildIndex']
...@@ -36,7 +36,7 @@ module.exports = (grunt) -> ...@@ -36,7 +36,7 @@ module.exports = (grunt) ->
tasks: ['coffeelint'] tasks: ['coffeelint']
jshint: jshint:
files: ['js/*.js'] files: ['theme/js/*.js']
tasks: ['jshint'] tasks: ['jshint']
connect: connect:
...@@ -64,7 +64,7 @@ module.exports = (grunt) -> ...@@ -64,7 +64,7 @@ module.exports = (grunt) ->
options: options:
jshintrc: '.jshintrc' jshintrc: '.jshintrc'
all: ['js/*.js'] all: ['theme/js/*.js']
copy: copy:
...@@ -74,10 +74,9 @@ module.exports = (grunt) -> ...@@ -74,10 +74,9 @@ module.exports = (grunt) ->
src: [ src: [
'slides/**' 'slides/**'
'bower_components/**' 'bower_components/**'
'css/**' 'theme/css/**'
'js/**' 'theme/js/**'
'img/**' 'slides/img/**'
'favicon.ico'
] ]
dest: 'public/' dest: 'public/'
},{ },{
...@@ -92,10 +91,10 @@ module.exports = (grunt) -> ...@@ -92,10 +91,10 @@ module.exports = (grunt) ->
require('load-grunt-tasks')(grunt) require('load-grunt-tasks')(grunt)
grunt.registerTask 'buildIndex', grunt.registerTask 'buildIndex',
'Build index.html from templates/_index.html and slides/list.json.', 'Build theme/templates/_index.html and slides/list.json.',
-> ->
indexTemplate = grunt.file.read 'templates/_index.html' indexTemplate = grunt.file.read 'theme/templates/_index.html'
sectionTemplate = grunt.file.read 'templates/_section.html' sectionTemplate = grunt.file.read 'theme/templates/_section.html'
slides = grunt.file.readJSON 'slides/list.json' slides = grunt.file.readJSON 'slides/list.json'
html = grunt.template.process indexTemplate, data: html = grunt.template.process indexTemplate, data:
......
slides/img
\ No newline at end of file
File moved
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#### Month XYth, 2019 #### Month XYth, 2019
<div style="top: 6em; left: 0%; position: absolute;"> <div style="top: 6em; left: 0%; position: absolute;">
<img src="img/lcsb_bg.png"> <img src="slides/img/lcsb_bg.png">
</div> </div>
<div style="top: 15em; left: 60%; position: absolute;"> <div style="top: 15em; left: 60%; position: absolute;">
......
## Thank you. ## Thank you.
<center><img src="img/r3-training-logo.png" height="200px"></center> <center><img src="slides/img/r3-training-logo.png" height="200px"></center>
Contact us if you need help: Contact us if you need help:
......
File moved
File moved
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<link rel="stylesheet" href="bower_components/reveal.js/css/theme/lcsb.css" id="theme"> <link rel="stylesheet" href="bower_components/reveal.js/css/theme/lcsb.css" id="theme">
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="theme/css/style.css">
<!-- For syntax highlighting --> <!-- For syntax highlighting -->
<link rel="stylesheet" href="bower_components/reveal.js/lib/css/zenburn.css" id="highlight-theme"> <link rel="stylesheet" href="bower_components/reveal.js/lib/css/zenburn.css" id="highlight-theme">
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<script src="lib/js/html5shiv.js"></script> <script src="lib/js/html5shiv.js"></script>
<![endif]--> <![endif]-->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="slides/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" /> <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
</head> </head>
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
<% }); %> <% }); %>
</div> </div>
<div class="bottomLogoLeft"> <div class="bottomLogoLeft">
<img src="img/University-of-Luxembourg-Fr-01.svg" height="110px"> <img src="slides/img/University-of-Luxembourg-Fr-01.svg" height="110px">
</div> </div>
<div class="bottomLogoRight"> <div class="bottomLogoRight">
<img src="img/LCSB_short_small_4c_cropped.svg" height="86px"> <img src="slides/img/LCSB_short_small_4c_cropped.svg" height="86px">
</div> </div>
</div> </div>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
// { src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } } // { src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
//{ src: 'bower_components/reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } //{ src: 'bower_components/reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
{ src: 'js/loadhtmlslides.js', condition: function() { return !!document.querySelector( '[data-html]' ); } } { src: 'theme/js/loadhtmlslides.js', condition: function() { return !!document.querySelector( '[data-html]' ); } }
] ]
}); });
</script> </script>
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment