Skip to content

Commit

Permalink
modify scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhoErvasti committed Nov 15, 2023
1 parent dc03eab commit a739487
Show file tree
Hide file tree
Showing 117 changed files with 3,770 additions and 771 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update preview css
name: Update assets
on:
push:
paths:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
195 changes: 195 additions & 0 deletions assets/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
<!DOCTYPE html>
<html lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
<head>

<!-- Based on TemplateMo 553 Xtra Blog: https://templatemo.com/tm-553-xtra-blog -->

<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="$pagetitle$" />
<meta property="og:type" content="book" />
$if(url)$<meta property="og:url" content="$url$" />$endif$
$if(cover-image)$<meta property="og:image" content="$url$/$cover-image$" />$endif$
$if(description)$<meta property="og:description" content="$description$" />$endif$
$if(github-repo)$<meta name="github-repo" content="$github-repo$" />$endif$

$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$

$if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$

$if(math)$
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
$math$
$endif$

<meta name="description" content="$if(description)$$description$$else$$pagetitle$$endif$">

<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>

$for(header-includes)$
$header-includes$
$endfor$

$if(highlightjs)$
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet"
href="$highlightjs$/$if(highlightjs-theme)$$highlightjs-theme$$else$default$endif$.css"
$if(html5)$$else$type="text/css" $endif$/>
<script src="$highlightjs$/highlight.js"></script>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
}
</script>
$endif$

$if(highlighting-css)$
<style type="text/css">code{white-space: pre;}</style>
<style type="text/css">
$highlighting-css$
</style>
$endif$

$for(css)$
<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
$endfor$

<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/hamburgers.css" rel="stylesheet">

</head>

<body>

$for(include-before)$
$include-before$
$endfor$

<div class="main-content">
<!-- special comment to mark beginning of title section for bookdown -->
<!-- bookdown comments must be in this order: title, toc, body -->

<div class="main-content-wrapper">

<!--bookdown:title:start-->
<!-- This title section is only rendered to index.html -->
<div id="title-container">

$if(title)$
<h1 id="title-header">$title$</h1>
$if(subtitle)$
<h3 id="subtitle-header">$subtitle$</h3>
$endif$

$for(author)$
$if(author.name)$
<h4 class="author">$author.name$</h4>

$if(author.affiliation)$
<address class="author_afil">$author.affiliation$<br>
$endif$

$if(author.email)$
<a class="author_email" href="mailto:#">$author.email$</a></address>
$endif$
$else$
<h4 class="author">$author$</h4>
$endif$
$endfor$

$if(date)$
<h4 id="build-date">Version: $date$</h4>
$endif$

$if(abstract)$
<div class="abstract"><p>$abstract$</p></div>
$endif$

$endif$
</div>
<!--bookdown:title:end-->

<!--bookdown:toc:start-->
<header class="main-toc sidebar" id="sidebar">
<div class="sidebar-wrapper">

<button class="navbar-toggle hamburger hamburger--collapse" id="navbar-toggle"
type="button" onclick="navToggle()" aria-label="Toggle navigation">
<span class="hamburger-box"><span class="hamburger-inner"></span></span>
</button>

<div class="sidebar-title-wrapper">
<img alt="Logo" width="100" src="img/gispo_white_sm.png" class="sidebar-logo">
<div class="sidebar-title"><h1>$pagetitle$</h1></div>
$if(abstract)$
<div class="abstract-sidebar"><p>$abstract$</p></div>
$endif$
</div>

<nav class="sidebar-nav">
$if(toc)$
<div id="$idprefix$TOC" class="toc">
$toc$
</div>
$endif$
</nav>
</div>
</header>
<!--bookdown:toc:end-->

<!--bookdown:body:start-->
$body$
<!--bookdown:body:end-->

<footer class="footer text-center">

<div class="footer-container text-center">

<div class="footer-info">
$if(title)$
<h5 class="footer-title">$title$</h5>
$if(subtitle)$
<p class="footer-subtitle"><em>$subtitle$</em></p>
$endif$
$endif$
$if(date)$
<span class="footer-version">v$date$</span>
$endif$
<div class="license"><img src="img/by-nd.svg" width="80px" alt="CC-BY-ND"></div>
</div>

<div class="footer-info">
<h5 class="footer-title footer-company">Gispo Oy.
<span class="footer-copyright-year">© 2023</span></h5>
<span class="footer-contact-info">Kumpulantie 3, 3 krs
<br>00520 Helsinki, Finland
<br>[email protected]
</span>
</div>

</div>
</div>
</footer>
</div>

$for(include-after)$
$include-after$
$endfor$

<script src="js/nav-script.js"></script>
<script src="js/answer-key.js"></script>
<script src="js/find_keys.js"></script>

</body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 14 additions & 6 deletions docs/GS014/01_kappale_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

<meta name="author" content="Gispo Ltd." />

<<<<<<< Updated upstream
<meta name="date" content="2023-11-14" />
=======
<meta name="date" content="2023-11-15" />
>>>>>>> Stashed changes


<meta name="description" content="2 Kappale 1: Perusteet | Lausekkeet QGISissä">
Expand Down Expand Up @@ -92,10 +96,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<link rel="stylesheet" href="/assets/custom.css" type="text/css" />
<link rel="stylesheet" href="custom.css" type="text/css" />

<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/hamburgers.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/hamburgers.css" rel="stylesheet">

</head>

Expand Down Expand Up @@ -306,7 +310,11 @@ <h2><span class="header-section-number">2.3</span> Tehtävä 1.1</h2>

<div class="footer-info">
<h5 class="footer-title">Lausekkeet QGISissä</h5>
<<<<<<< Updated upstream
<span class="footer-version">v2023-11-14</span>
=======
<span class="footer-version">v2023-11-15</span>
>>>>>>> Stashed changes
<div class="license"><img src="img/by-nd.svg" width="80px" alt="CC-BY-ND"></div>
</div>

Expand All @@ -325,9 +333,9 @@ <h5 class="footer-title footer-company">Gispo Ltd.
</div>


<script src="/assets/js/nav-script.js"></script>
<script src="/assets/js/answer-key.js"></script>
<script src="/assets/js/find_keys.js"></script>
<script src="js/nav-script.js"></script>
<script src="js/answer-key.js"></script>
<script src="js/find_keys.js"></script>

</body>
</html>
20 changes: 14 additions & 6 deletions docs/GS014/02_kappale_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

<meta name="author" content="Gispo Ltd." />

<<<<<<< Updated upstream
<meta name="date" content="2023-11-14" />
=======
<meta name="date" content="2023-11-15" />
>>>>>>> Stashed changes


<meta name="description" content="3 Kappale 2: Lausekkeiden kirjoittaminen | Lausekkeet QGISissä">
Expand Down Expand Up @@ -92,10 +96,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<link rel="stylesheet" href="/assets/custom.css" type="text/css" />
<link rel="stylesheet" href="custom.css" type="text/css" />

<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/hamburgers.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/hamburgers.css" rel="stylesheet">

</head>

Expand Down Expand Up @@ -306,7 +310,11 @@ <h2><span class="header-section-number">3.2</span> Tehtävä 2.1</h2>

<div class="footer-info">
<h5 class="footer-title">Lausekkeet QGISissä</h5>
<<<<<<< Updated upstream
<span class="footer-version">v2023-11-14</span>
=======
<span class="footer-version">v2023-11-15</span>
>>>>>>> Stashed changes
<div class="license"><img src="img/by-nd.svg" width="80px" alt="CC-BY-ND"></div>
</div>

Expand All @@ -325,9 +333,9 @@ <h5 class="footer-title footer-company">Gispo Ltd.
</div>


<script src="/assets/js/nav-script.js"></script>
<script src="/assets/js/answer-key.js"></script>
<script src="/assets/js/find_keys.js"></script>
<script src="js/nav-script.js"></script>
<script src="js/answer-key.js"></script>
<script src="js/find_keys.js"></script>

</body>
</html>
20 changes: 14 additions & 6 deletions docs/GS014/03_kappale_3.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

<meta name="author" content="Gispo Ltd." />

<<<<<<< Updated upstream
<meta name="date" content="2023-11-14" />
=======
<meta name="date" content="2023-11-15" />
>>>>>>> Stashed changes


<meta name="description" content="4 Kappale 3: Kohteiden valinta ja suodatus | Lausekkeet QGISissä">
Expand Down Expand Up @@ -92,10 +96,10 @@
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
</style>

<link rel="stylesheet" href="/assets/custom.css" type="text/css" />
<link rel="stylesheet" href="custom.css" type="text/css" />

<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/hamburgers.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/hamburgers.css" rel="stylesheet">

</head>

Expand Down Expand Up @@ -360,7 +364,11 @@ <h2><span class="header-section-number">4.4</span> Tehtävä 3.3</h2>

<div class="footer-info">
<h5 class="footer-title">Lausekkeet QGISissä</h5>
<<<<<<< Updated upstream
<span class="footer-version">v2023-11-14</span>
=======
<span class="footer-version">v2023-11-15</span>
>>>>>>> Stashed changes
<div class="license"><img src="img/by-nd.svg" width="80px" alt="CC-BY-ND"></div>
</div>

Expand All @@ -379,9 +387,9 @@ <h5 class="footer-title footer-company">Gispo Ltd.
</div>


<script src="/assets/js/nav-script.js"></script>
<script src="/assets/js/answer-key.js"></script>
<script src="/assets/js/find_keys.js"></script>
<script src="js/nav-script.js"></script>
<script src="js/answer-key.js"></script>
<script src="js/find_keys.js"></script>

</body>
</html>
Loading

0 comments on commit a739487

Please sign in to comment.