initial commit
This commit is contained in:
commit
e279281330
52 changed files with 916 additions and 0 deletions
9
static/css/button.min.css
vendored
Executable file
9
static/css/button.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
9
static/css/card.min.css
vendored
Executable file
9
static/css/card.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
9
static/css/reset.min.css
vendored
Executable file
9
static/css/reset.min.css
vendored
Executable file
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* # Semantic UI 2.2.7 - Reset
|
||||
* http://github.com/semantic-org/semantic-ui/
|
||||
*
|
||||
*
|
||||
* Released under the MIT license
|
||||
* http://opensource.org/licenses/MIT
|
||||
*
|
||||
*/*,:after,:before{box-sizing:inherit}html{box-sizing:border-box}input[type=email],input[type=password],input[type=search],input[type=text]{-webkit-appearance:none;-moz-appearance:none}/*! normalize.css v3.0.1 | MIT License | git.io/normalize *//*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
3
static/css/styles.css
Normal file
3
static/css/styles.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
padding: 1rem;
|
||||
}
|
BIN
static/image/card.jpg
Normal file
BIN
static/image/card.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 210 KiB |
BIN
static/image/piccolo.png
Normal file
BIN
static/image/piccolo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
25
static/js/app.js
Normal file
25
static/js/app.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
const min_playtime = 1000
|
||||
const fade_threshold = 2000
|
||||
|
||||
function preload_audio (file) {
|
||||
return new Howl({
|
||||
src: [file]
|
||||
})
|
||||
}
|
||||
|
||||
function play_audio (sound, timeout, callback) {
|
||||
sound.play()
|
||||
|
||||
if (timeout) {
|
||||
if (timeout - fade_threshold > min_playtime) {
|
||||
setTimeout(function () {
|
||||
sound.fade(sound.volume(), 0, fade_threshold)
|
||||
}, timeout - fade_threshold)
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
sound.stop()
|
||||
callback()
|
||||
}, timeout)
|
||||
}
|
||||
}
|
2
static/js/howler.min.js
vendored
Normal file
2
static/js/howler.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
static/sound/3. Värs.ogg
Normal file
BIN
static/sound/3. Värs.ogg
Normal file
Binary file not shown.
BIN
static/sound/Alte Schweizer.ogg
Normal file
BIN
static/sound/Alte Schweizer.ogg
Normal file
Binary file not shown.
BIN
static/sound/Altfrangg.ogg
Normal file
BIN
static/sound/Altfrangg.ogg
Normal file
Binary file not shown.
BIN
static/sound/Arabi.ogg
Normal file
BIN
static/sound/Arabi.ogg
Normal file
Binary file not shown.
BIN
static/sound/Brandeburger.ogg
Normal file
BIN
static/sound/Brandeburger.ogg
Normal file
Binary file not shown.
BIN
static/sound/Brantgass-Rag.ogg
Normal file
BIN
static/sound/Brantgass-Rag.ogg
Normal file
Binary file not shown.
BIN
static/sound/Brunnemarsch.ogg
Normal file
BIN
static/sound/Brunnemarsch.ogg
Normal file
Binary file not shown.
BIN
static/sound/Calvados.ogg
Normal file
BIN
static/sound/Calvados.ogg
Normal file
Binary file not shown.
BIN
static/sound/Dudelsagg.ogg
Normal file
BIN
static/sound/Dudelsagg.ogg
Normal file
Binary file not shown.
BIN
static/sound/Glopfgaischt.ogg
Normal file
BIN
static/sound/Glopfgaischt.ogg
Normal file
Binary file not shown.
BIN
static/sound/Hanswurscht.ogg
Normal file
BIN
static/sound/Hanswurscht.ogg
Normal file
Binary file not shown.
BIN
static/sound/Hofnaar.ogg
Normal file
BIN
static/sound/Hofnaar.ogg
Normal file
Binary file not shown.
BIN
static/sound/Liberty Bell.ogg
Normal file
BIN
static/sound/Liberty Bell.ogg
Normal file
Binary file not shown.
BIN
static/sound/Lumpesammler.ogg
Normal file
BIN
static/sound/Lumpesammler.ogg
Normal file
Binary file not shown.
BIN
static/sound/Luuser.ogg
Normal file
BIN
static/sound/Luuser.ogg
Normal file
Binary file not shown.
BIN
static/sound/Läggerli.ogg
Normal file
BIN
static/sound/Läggerli.ogg
Normal file
Binary file not shown.
BIN
static/sound/Naarebaschi.ogg
Normal file
BIN
static/sound/Naarebaschi.ogg
Normal file
Binary file not shown.
BIN
static/sound/Nunnefirzli.ogg
Normal file
BIN
static/sound/Nunnefirzli.ogg
Normal file
Binary file not shown.
BIN
static/sound/Ohremiggeli.ogg
Normal file
BIN
static/sound/Ohremiggeli.ogg
Normal file
Binary file not shown.
BIN
static/sound/Papillon.ogg
Normal file
BIN
static/sound/Papillon.ogg
Normal file
Binary file not shown.
BIN
static/sound/Pinocchio.ogg
Normal file
BIN
static/sound/Pinocchio.ogg
Normal file
Binary file not shown.
BIN
static/sound/Rhysprung.ogg
Normal file
BIN
static/sound/Rhysprung.ogg
Normal file
Binary file not shown.
BIN
static/sound/Rossignol.ogg
Normal file
BIN
static/sound/Rossignol.ogg
Normal file
Binary file not shown.
BIN
static/sound/Sodeli.ogg
Normal file
BIN
static/sound/Sodeli.ogg
Normal file
Binary file not shown.
BIN
static/sound/Spalebärg.ogg
Normal file
BIN
static/sound/Spalebärg.ogg
Normal file
Binary file not shown.
BIN
static/sound/Stäpfeli.ogg
Normal file
BIN
static/sound/Stäpfeli.ogg
Normal file
Binary file not shown.
BIN
static/sound/Syydelärvli.ogg
Normal file
BIN
static/sound/Syydelärvli.ogg
Normal file
Binary file not shown.
BIN
static/sound/Unggle Sam.ogg
Normal file
BIN
static/sound/Unggle Sam.ogg
Normal file
Binary file not shown.
BIN
static/sound/Veegel.ogg
Normal file
BIN
static/sound/Veegel.ogg
Normal file
Binary file not shown.
BIN
static/sound/Verhäxt.ogg
Normal file
BIN
static/sound/Verhäxt.ogg
Normal file
Binary file not shown.
BIN
static/sound/Whisky Soda.ogg
Normal file
BIN
static/sound/Whisky Soda.ogg
Normal file
Binary file not shown.
BIN
static/sound/Yankee.ogg
Normal file
BIN
static/sound/Yankee.ogg
Normal file
Binary file not shown.
BIN
static/sound/Zigüner.ogg
Normal file
BIN
static/sound/Zigüner.ogg
Normal file
Binary file not shown.
BIN
static/sound/z Basel.ogg
Normal file
BIN
static/sound/z Basel.ogg
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue