Compare commits

..

10 Commits

12 changed files with 46 additions and 101 deletions

2
.gitignore vendored
View File

@@ -2,3 +2,5 @@ _site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
.gems/
Gemfile.lock

View File

@@ -4,6 +4,5 @@ source "https://rubygems.org"
# gem "rails"
gem "jekyll-paginate", "~> 1.1"
gem "jemoji", "~> 0.11.1"
gem "jekyll-paginate"
gem "jemoji"

View File

@@ -1,89 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.11.3)
forwardable-extended (2.6.0)
gemoji (3.0.1)
html-pipeline (2.12.3)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.0.1)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.11.1)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.4.0)
minitest (5.13.0)
nokogiri (1.10.7)
mini_portile2 (~> 2.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.2)
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (3.14.0)
safe_yaml (1.0.5)
sassc (2.2.1)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tzinfo (1.2.6)
thread_safe (~> 0.1)
unicode-display_width (1.6.0)
zeitwerk (2.2.2)
PLATFORMS
ruby
DEPENDENCIES
jekyll-paginate (~> 1.1)
jemoji (~> 0.11.1)
BUNDLED WITH
2.1.4

View File

@@ -1,9 +1,16 @@
# Lehrlingsportal external
external Lehrlingsportal based on the CRT theme.
Jekyll based external Lehrlingsportal based on the CRT theme.
based on sharadcode's [dark reader theme](https://github.com/sharadcodes/jekyll-theme-dark-reader)
font from [int10h.org](https://int10h.org/oldschool-pc-fonts/fontlist/#pc6300)
crt effect by [alec lownes](http://aleclownes.com/2017/02/01/crt-display.html)
# Common issues
Since this repo is not commonly in use, the lockfile needs to be updated once in a while. Otherwise you might run into errors when trying to install the bundle.
```sh
bundle lock --update
bundle install
```

View File

@@ -2,15 +2,24 @@ list:
- title: "LVS"
url: http://service.bfi-kaernten.at/LVS/login.aspx
img: "/assets/images/SCHDP001.PNG"
- title: "Webmail"
url: http://webmail.itlabs.at/
- title: "Mail"
url: https://outlook.office.com/
img: "/assets/images/PROGM023.PNG"
- title: "Hedgedoc"
url: https://hedgedoc.itlabs.at/euG-i3V9T12SKXVREOEDlA#
img: "/assets/images/NOTEP001.PNG"
- title: "Whiteboard"
url: https://whiteboard.itlabs.at/
img: "/assets/images/WINTU008.PNG"
- title: "Wiki"
url: https://wiki.itlabs.at/
img: "/assets/images/WINTU008.PNG"
- title: "Unterlagen"
url: https://data.koneko.at/s/LyrGDqjRYKnEfXd
img: "/assets/images/WINFI001.PNG"
- title: "Abgaben"
url: https://data.koneko.at/s/XiHfmKfgPibbm3z
img: "/assets/images/MSMAI011.PNG"
- title: "Moodle"
url: http://moodle.bfi-kaernten.at/
img: "/assets/images/PROGM004.PNG"

1
_includes/foot.html Normal file
View File

@@ -0,0 +1 @@
<script type="text/javascript" src="{{site.baseurl}}/assets/js/color.js"></script>

View File

@@ -12,5 +12,6 @@
{% include footer.html %}
</div>
</div>
{% include foot.html %}
</body>
</html>

View File

@@ -6,9 +6,9 @@ layout: none
position: relative;
margin-left: auto;
margin-right: auto;
align-content: center;
width: 1000px;
height: 830px;
top: 141px;
}
.screen-image{

BIN
assets/images/MSMAI011.PNG Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

BIN
assets/images/WINFI001.PNG Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

15
assets/js/color.js Normal file
View File

@@ -0,0 +1,15 @@
color = 0
function colorRotate(){
color += 10
color = color%360
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+color+"deg) saturate(7) brightness(100%)"
}
if( Math.random() > 0.5){
if( Math.random() > 0.9){
setInterval(colorRotate, 50);
} else {
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+Math.floor(Math.random()*360)+"deg) saturate(7) brightness(100%)"
}
}

View File

@@ -1,5 +1,5 @@
#!/bin/bash
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"
export GEM_HOME="./.gems"
export PATH="./.gems/bin:$PATH"
bundle exec jekyll build
scp -P 5055 -r _site/* root@earth.koneko.at:/var/www/portal/
scp -v -P 5055 -r _site/* root@earth.koneko.at:/var/www/portal/