diff options
Diffstat (limited to 'template')
| -rw-r--r-- | template/Gemfile | 9 | ||||
| -rw-r--r-- | template/Gemfile.lock | 29 | ||||
| -rw-r--r-- | template/public/favicon.ico | bin | 0 -> 15406 bytes | |||
| -rw-r--r-- | template/public/favicon.png | bin | 0 -> 1566 bytes | |||
| -rw-r--r-- | template/public/justicar.png | bin | 0 -> 38093 bytes | |||
| -rw-r--r-- | template/src/index.html.rb | 2 | ||||
| -rw-r--r-- | template/src/style.css.rb | 13 |
7 files changed, 53 insertions, 0 deletions
diff --git a/template/Gemfile b/template/Gemfile new file mode 100644 index 0000000..be6f9dc --- /dev/null +++ b/template/Gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +gem "webrick", "~> 1.7" + +gem "opal-browser", "~> 0.3.3" + +gem "Justicar", "~> 0.1.0" diff --git a/template/Gemfile.lock b/template/Gemfile.lock new file mode 100644 index 0000000..7072eae --- /dev/null +++ b/template/Gemfile.lock @@ -0,0 +1,29 @@ +GEM + remote: https://rubygems.org/ + specs: + Justicar (0.1.0) + opal (~> 1.5) + opal-browser (~> 0.3.3) + paggio (~> 0.3.0) + ast (2.4.2) + opal (1.5.0) + ast (>= 2.3.0) + parser (~> 3.0, >= 3.0.3.2) + opal-browser (0.3.3) + opal (>= 1.0, < 2.0) + paggio (>= 0.3.0) + paggio (0.3.0) + parser (3.1.2.0) + ast (~> 2.4.1) + webrick (1.7.0) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + Justicar (~> 0.1.0) + opal-browser (~> 0.3.3) + webrick (~> 1.7) + +BUNDLED WITH + 2.3.12 diff --git a/template/public/favicon.ico b/template/public/favicon.ico Binary files differnew file mode 100644 index 0000000..0ec3748 --- /dev/null +++ b/template/public/favicon.ico diff --git a/template/public/favicon.png b/template/public/favicon.png Binary files differnew file mode 100644 index 0000000..5a99253 --- /dev/null +++ b/template/public/favicon.png diff --git a/template/public/justicar.png b/template/public/justicar.png Binary files differnew file mode 100644 index 0000000..252bac4 --- /dev/null +++ b/template/public/justicar.png diff --git a/template/src/index.html.rb b/template/src/index.html.rb index cefcf6f..9c34064 100644 --- a/template/src/index.html.rb +++ b/template/src/index.html.rb @@ -1,6 +1,8 @@ Paggio.html do script type: "text/javascript", src: "script.js" link rel: "stylesheet", href: "style.css" + link rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' + img.justicar(src: 'justicar.png', alt: 'Justicar', height: '400px') h1 { "Hello world from Justicar" } hr h2.paggio do diff --git a/template/src/style.css.rb b/template/src/style.css.rb index d9684e3..9a41dad 100644 --- a/template/src/style.css.rb +++ b/template/src/style.css.rb @@ -1,4 +1,17 @@ Paggio.css do + rule 'body' do + height 100.vh + end + + rule '.justicar' do + top 134.px + left 360.px + opacity 0.7 + position 'absolute' + width 400.px + height 'auto' + end + rule '.opal' do color :dodgerblue end |
