From 8136d127223c33fc553b5aecfce7441874fd28f4 Mon Sep 17 00:00:00 2001 From: georgeas <george.a.stoica@ntnu.no> Date: Tue, 27 Aug 2019 13:44:01 +0200 Subject: [PATCH] added ntnu style template --- lectures/revealjs/agiletools.adoc | 42 ++++++++++++++++++++++++++++++ lectures/revealjs/ci.adoc | 42 ++++++++++++++++++++++++++++++ lectures/revealjs/scm.adoc | 43 +++++++++++++++++++++++++++++++ 3 files changed, 127 insertions(+) diff --git a/lectures/revealjs/agiletools.adoc b/lectures/revealjs/agiletools.adoc index 4ef39ec..c817c60 100644 --- a/lectures/revealjs/agiletools.adoc +++ b/lectures/revealjs/agiletools.adoc @@ -2,6 +2,10 @@ :customcss: slides.css :icons: font +++++ + <img id="main-logo" class="main-logo" src="images/template/main_logo_eng_no_text.png" width="300" alt="ntnu logo"/> +++++ + == Smidig praksis og verktøy * fokuserer på bygging av produkt som kan prøves ut @@ -125,3 +129,41 @@ link:scm.html[Source code management (SCM)] [.center-paragraph] link:ci.html[Continuous Integration (CI)] + + +++++ + <div id="footer" class="footer"> + <div style="display:table-row;"> + <span class="element" style="width:150px;"> + <a href="https://www.ntnu.no" target="_blank"> + <img id="footer-logo" class="footer-logo" + src="images/template/logo_ntnu.png" + alt="ntnu logo" height="28"/> + </a> + </span> + <span class="element" style="width:300px;">| IT1901 - 2nd lecture </span> + <span class="element">| Agile tools </span> + <span class="element"> </span> + </div> + </div> + + <div id="vertical-ntnu-name" class="vertical-ntnu-name"> + <span class="helper"></span> + <img src="images/template/vertical-ntnu-name.png" alt="Norwegian University of Science and Technology" /> + </div> + + <script type="text/javascript"> + window.addEventListener("load", function() { + revealDiv = document.querySelector("body div.reveal") + footer = document.getElementById("footer"); + revealDiv.appendChild(footer); + + titleSlideDiv = document.querySelector("div.slides section.title") + mainLogo = document.getElementById("main-logo"); + titleSlideDiv.prepend(mainLogo); + + vertName = document.getElementById("vertical-ntnu-name"); + revealDiv.appendChild(vertName); + } ); + </script> +++++ \ No newline at end of file diff --git a/lectures/revealjs/ci.adoc b/lectures/revealjs/ci.adoc index c8e39ed..1d198bb 100644 --- a/lectures/revealjs/ci.adoc +++ b/lectures/revealjs/ci.adoc @@ -2,6 +2,10 @@ :customcss: slides.css :icons: font +++++ + <img id="main-logo" class="main-logo" src="images/template/main_logo_eng_no_text.png" width="300" alt="ntnu logo"/> +++++ + == Kontinuerlig integrasjon (CI) Automatisering av alt som fremmer kvalitet, men som tar tid, f.eks. @@ -208,3 +212,41 @@ image::../images/gradle-views.png[width=300] * *.gitlab-ci.yml* inneholder byggeinstruksjoner * hele repoet sjekkes først ut * så utføres byggeinstruksjoner iht. innstillinger + + +++++ + <div id="footer" class="footer"> + <div style="display:table-row;"> + <span class="element" style="width:150px;"> + <a href="https://www.ntnu.no" target="_blank"> + <img id="footer-logo" class="footer-logo" + src="images/template/logo_ntnu.png" + alt="ntnu logo" height="28"/> + </a> + </span> + <span class="element" style="width:300px;">| IT1901 - 2nd lecture </span> + <span class="element">| Continuous Integration </span> + <span class="element"> </span> + </div> + </div> + + <div id="vertical-ntnu-name" class="vertical-ntnu-name"> + <span class="helper"></span> + <img src="images/template/vertical-ntnu-name.png" alt="Norwegian University of Science and Technology" /> + </div> + + <script type="text/javascript"> + window.addEventListener("load", function() { + revealDiv = document.querySelector("body div.reveal") + footer = document.getElementById("footer"); + revealDiv.appendChild(footer); + + titleSlideDiv = document.querySelector("div.slides section.title") + mainLogo = document.getElementById("main-logo"); + titleSlideDiv.prepend(mainLogo); + + vertName = document.getElementById("vertical-ntnu-name"); + revealDiv.appendChild(vertName); + } ); + </script> +++++ \ No newline at end of file diff --git a/lectures/revealjs/scm.adoc b/lectures/revealjs/scm.adoc index d3bea3e..87ac7b7 100644 --- a/lectures/revealjs/scm.adoc +++ b/lectures/revealjs/scm.adoc @@ -2,6 +2,10 @@ :customcss: slides.css :icons: font +++++ + <img id="main-logo" class="main-logo" src="images/template/main_logo_eng_no_text.png" width="300" alt="ntnu logo"/> +++++ + == Kildekodehåndtering * lagring av kode @@ -122,3 +126,42 @@ image::../images/git-staging-view.png[width="800px"] ** UI for dette finnes på github/i gitlab ** forespørselen får en egen dialog/diskusjonstråd ** en utvikler med rettigheter kan så godkjenne evt. avslå forespørsel + + + +++++ + <div id="footer" class="footer"> + <div style="display:table-row;"> + <span class="element" style="width:150px;"> + <a href="https://www.ntnu.no" target="_blank"> + <img id="footer-logo" class="footer-logo" + src="images/template/logo_ntnu.png" + alt="ntnu logo" height="28"/> + </a> + </span> + <span class="element" style="width:300px;">| IT1901 - 2nd lecture </span> + <span class="element">| Source Code Management </span> + <span class="element"> </span> + </div> + </div> + + <div id="vertical-ntnu-name" class="vertical-ntnu-name"> + <span class="helper"></span> + <img src="images/template/vertical-ntnu-name.png" alt="Norwegian University of Science and Technology" /> + </div> + + <script type="text/javascript"> + window.addEventListener("load", function() { + revealDiv = document.querySelector("body div.reveal") + footer = document.getElementById("footer"); + revealDiv.appendChild(footer); + + titleSlideDiv = document.querySelector("div.slides section.title") + mainLogo = document.getElementById("main-logo"); + titleSlideDiv.prepend(mainLogo); + + vertName = document.getElementById("vertical-ntnu-name"); + revealDiv.appendChild(vertName); + } ); + </script> +++++ \ No newline at end of file -- GitLab