2017-01-20 18:18:43 +00:00
< form ng-submit = "saveScenes()" class = "form-horizontal" >
2018-12-05 06:42:57 +00:00
< h2 class = "clearfix" >
2017-12-17 19:44:23 +00:00
Interface publique
2018-12-04 02:15:53 +00:00
< select class = "custom-select" style = "width: auto" id = "screenid" ng-model = "screenid" ng-options = "k as 'Écran ' + v for (k, v) in screens" ng-change = "chScreen()" > < / select >
2017-12-17 19:44:23 +00:00
< div class = "float-right dropdown" >
2018-11-18 20:34:08 +00:00
< button type = "button" class = "btn btn-secondary dropdown-toggle mr-sm-2" type = "button" data-toggle = "dropdown" >
2024-03-14 16:44:21 +00:00
Scène prédéfinie
2017-12-17 19:44:23 +00:00
< / button >
< div class = "dropdown-menu" >
< a class = "dropdown-item" ng-click = "presetScene('registration')" > Enregistrement équipes< / a >
< a class = "dropdown-item" ng-click = "presetScene('welcome')" > Accueil public< / a >
< a class = "dropdown-item" ng-click = "presetScene('start')" > Lancement< / a >
2020-01-30 17:47:46 +00:00
< a class = "dropdown-item" ng-click = "presetScene('end')" > Fin/Récompenses< / a >
2017-12-17 19:44:23 +00:00
< div class = "dropdown-divider" > < / div >
< a class = "dropdown-item" ng-click = "presetScene('summary')" > Résumé< / a >
2020-01-30 03:17:53 +00:00
< a class = "dropdown-item" ng-click = "presetScene('summary2')" > Résumé 2< / a >
< a class = "dropdown-item" ng-click = "presetScene('summary3')" > Résumé 3< / a >
2017-12-17 19:44:23 +00:00
< div class = "dropdown-divider" > < / div >
2019-01-19 07:01:29 +00:00
< a class = "dropdown-item" ng-click = "presetScene('freehintquarter')" > Free Hint Quarter< / a >
2018-01-23 02:52:53 +00:00
< a class = "dropdown-item" ng-click = "presetScene('happyhour')" > Happy Hour< / a >
< div class = "dropdown-divider" > < / div >
2024-03-14 16:44:21 +00:00
< a href = "#" class = "dropdown-item" ng-repeat = "preset in listScenes.presets" ng-click = "loadFile('preset-' + preset)" >
{{ preset }}
< button class = "btn btn-sm btn-outline-danger" ng-click = "deleteFile('preset-' + preset); $event.preventDefault();" > < span class = "glyphicon glyphicon-trash" aria-hidden = "true" > < / span > < / button >
< / a >
< div class = "dropdown-divider" > < / div >
2017-12-17 19:44:23 +00:00
< a class = "dropdown-item" ng-click = "clearScene()" > Scène vide< / a >
< / div >
< / div >
2019-01-19 07:01:29 +00:00
< button type = "button" ng-click = "addSide()" class = "float-right btn btn-primary mr-sm-2" > < span class = "glyphicon glyphicon-plus" aria-hidden = "true" > < / span > élm. côté< / button >
< button type = "button" ng-click = "addScene()" class = "float-right btn btn-primary mr-sm-2" > < span class = "glyphicon glyphicon-plus" aria-hidden = "true" > < / span > élm. central< / button >
2024-03-14 16:44:21 +00:00
< div class = "float-right btn-group mr-sm-2" >
< button type = "submit" class = "btn" ng-class = "{'btn-success': someUpdt,'btn-secondary': !someUpdt}" > < span class = "glyphicon glyphicon-blackboard" aria-hidden = "true" > < / span > Publier cette scène< / button >
< button type = "button" class = "btn dropdown-toggle dropdown-toggle-split" ng-class = "{'btn-success': someUpdt,'btn-secondary': !someUpdt}" data-toggle = "dropdown" aria-expanded = "false" >
< span class = "sr-only" > Toggle Dropdown< / span >
< / button >
< div class = "dropdown-menu" >
< div class = "px-3 py-1" >
< div class = "form-group" >
< label for = "public-propagation-time" > Publier à :< / label >
< input type = "datetime-local" id = "public-propagation-time" class = "form-control" ng-model = "propagationTime" >
< / div >
< button type = "button" ng-disabled = "!propagationTime" ng-click = "latePropagation()" class = "btn btn-primary w-100" > < span class = "glyphicon glyphicon-time" aria-hidden = "true" > < / span > Publier plus tard< / button >
< / div >
< div class = "dropdown-divider" > < / div >
< div class = "px-3 py-1" >
< div class = "form-group" >
< label for = "public-preset-name" > Sauvegarder comme :< / label >
< input id = "public-preset-name" class = "form-control" placeholder = "Scène de départ" ng-model = "presetName" >
< / div >
< button type = "button" ng-disabled = "!presetName" ng-click = "savePreset()" class = "btn btn-primary w-100" > < span class = "glyphicon glyphicon-download-alt" aria-hidden = "true" > < / span > Sauvegarder< / button >
< / div >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" ng-repeat = "next in listScenes.nexts" ng-if = "next.screen == screenid" ng-click = "loadFile(next.name)" >
{{ next.date | date:'dd/MM/yy HH:mm:ss' }}
< button class = "btn btn-sm btn-outline-danger" ng-click = "deleteFile(next.name); $event.preventDefault();" > < span class = "glyphicon glyphicon-trash" aria-hidden = "true" > < / span > < / button >
< / a >
< / div >
< / div >
2017-01-20 18:18:43 +00:00
< / h2 >
2019-01-19 07:01:29 +00:00
< div class = "row" >
< div class = "col-9" >
< div class = "alert alert-info" ng-if = "!display.scenes.length" >
2017-11-21 21:23:49 +00:00
< strong ng-if = "!someUpdt" > Aucun contenu n'est actuellement affiché.< / strong >
< strong ng-if = "someUpdt" > Aucun contenu à afficher.< / strong >
< / div >
2017-12-17 19:44:23 +00:00
2019-01-19 07:01:29 +00:00
< div class = "card mb-2" ng-repeat = "scene in display.scenes" ng-class = "{'bg-secondary': !scene.params.hide, 'bg-light': scene.params.hide}" >
2017-12-17 19:44:23 +00:00
< div class = "card-body" >
< div class = "form-group row" >
< label for = "type" class = "col-sm-2 col-form-label col-form-label-sm" > Type de scène< / label >
< div class = "col-sm-6" >
< select class = "custom-select custom-select-sm" id = "type" ng-model = "scene.type" ng-options = "k as v for (k, v) in types" > < / select >
< / div >
< div class = "col-sm-4 form-inline" >
< div class = "form-check mb-2 mr-sm-2 mb-sm-0" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "scene.params.hide" >
2018-12-04 02:15:53 +00:00
< span class = "custom-control-label" > Masquer< / span >
2017-01-20 18:18:43 +00:00
< / label >
< / div >
2018-11-18 20:34:08 +00:00
< button type = "button" ng-click = "upScene(scene)" class = "btn btn-sm btn-light mb-2 mr-sm-2 mb-sm-0" > < span class = "glyphicon glyphicon-chevron-up" aria-hidden = "true" > < / span > < / button >
< button type = "button" ng-click = "downScene(scene)" class = "btn btn-sm btn-light mb-2 mr-sm-2 mb-sm-0" > < span class = "glyphicon glyphicon-chevron-down" aria-hidden = "true" > < / span > < / button >
2019-01-19 07:01:29 +00:00
< button type = "button" ng-click = "delScene(scene)" class = "btn btn-sm btn-warning mb-2 mr-sm-2 mb-sm-0" > < span class = "glyphicon glyphicon-minus" aria-hidden = "true" > < / span > < / button >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2018-02-02 20:10:31 +00:00
< div class = "form-group row" ng-if = "scene.type == 'welcome' || scene.type == 'carousel'" >
2017-12-17 19:44:23 +00:00
< label for = "wtype" class = "col-sm-2 col-form-label col-form-label-sm" > Sorte< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2018-02-02 20:10:31 +00:00
< select class = "custom-select custom-select-sm" id = "wtype" ng-if = "scene.type == 'welcome'" ng-model = "scene.params.kind" ng-options = "k as v for (k, v) in welcome_types" > < / select >
< select class = "custom-select custom-select-sm" id = "wtype" ng-if = "scene.type == 'carousel'" ng-model = "scene.params.kind" ng-options = "k as v for (k, v) in carousel_types" > < / select >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2018-02-02 20:10:31 +00:00
< div class = "form-group row" ng-if = "scene.type == 'panel' || scene.type == 'carousel' || scene.type == 'countdown'" >
2017-12-17 19:44:23 +00:00
< label for = "ptype" class = "col-sm-2 col-form-label col-form-label-sm" > Couleur du cadre< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< select class = "custom-select custom-select-sm" id = "ptype" ng-model = "scene.params.color" ng-options = "k as v for (k, v) in colors" > < / select >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2020-01-30 03:17:53 +00:00
< div class = "form-group row" ng-if = "scene.type == 'message' || scene.type == 'panel' || scene.type == 'carousel' || scene.type == 'countdown' || scene.type == 'graph'" >
2017-12-17 19:44:23 +00:00
< label for = "mtitle" class = "col-sm-2 col-form-label col-form-label-sm" > Titre< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< input type = "text" id = "mtitle" ng-model = "scene.params.title" class = "form-control form-control-sm" >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'message' || scene.type == 'panel' || scene.type == 'countdown'" >
< label for = "mlead" class = "col-sm-2 col-form-label col-form-label-sm" ng-if = "scene.type != 'countdown'" > Lead< / label >
2022-02-03 15:53:59 +00:00
< label for = "mlead" class = "col-sm-2 col-form-label col-form-label-sm" ng-if = "scene.type == 'countdown'" > Message temps expiré< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< input type = "text" id = "mlead" ng-model = "scene.params.lead" class = "form-control form-control-sm" >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'message' || scene.type == 'panel'" >
< label for = "mcnt" class = "col-sm-2 col-form-label col-form-label-sm" > Contenu HTML< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< textarea class = "form-control form-control-sm" id = "mcnt" ng-model = "scene.params.html" > < / textarea >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'exercice'" >
< label for = "eex" class = "col-sm-2 col-form-label col-form-label-sm" > Exercice< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2018-12-04 02:15:53 +00:00
< select class = "custom-select custom-select-sm" id = "eex" ng-model = "scene.params.exercice" ng-options = "ex.id as ex.title group by ex.path.split('/')[0] for ex in exercices" >
2017-12-17 19:44:23 +00:00
< / select >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'countdown'" >
< label for = "cend" class = "col-sm-2 col-form-label col-form-label-sm" > Date de fin< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2019-01-19 07:01:29 +00:00
< div class = "input-group mb-3" >
< input type = "text" id = "cend" ng-model = "scene.params.end" class = "form-control form-control-sm" >
< div class = "input-group-append" >
< button class = "btn btn-sm btn-light dropdown-toggle" type = "button" data-toggle = "dropdown" > < / button >
< div class = "dropdown-menu" >
< a class = "dropdown-item" ng-click = "genSceneCountdownDate(scene, 310000)" > 5 minutes< / a >
< a class = "dropdown-item" ng-click = "genSceneCountdownDate(scene, 910000)" > 15 minutes< / a >
< a class = "dropdown-item" ng-click = "genSceneCountdownDate(scene, 1100000)" > 30 minutes< / a >
< a class = "dropdown-item" ng-click = "genSceneCountdownDate(scene, 3700000)" > 1 heure< / a >
< a class = "dropdown-item" ng-click = "genSceneCountdownDate(scene, 5500000)" > 1.5 heure< / a >
< / div >
< / div >
< / div >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'rank'" >
< label for = "rtype" class = "col-sm-2 col-form-label col-form-label-sm" > Sorte< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< select class = "custom-select custom-select-sm" id = "rtype" ng-model = "scene.params.which" ng-options = "k as v for (k, v) in rank_types" > < / select >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2020-01-30 17:47:46 +00:00
< div class = "form-group row" ng-if = "scene.type == 'rank' && scene.params.which == 'general'" >
2017-12-17 19:44:23 +00:00
< label for = "rlimit" class = "col-sm-2 col-form-label col-form-label-sm" > Nombre d'éléments< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< input type = "text" id = "rlimit" ng-model = "scene.params.limit" class = "form-control form-control-sm" integer >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2020-01-30 17:47:46 +00:00
< div class = "form-group row" ng-if = "scene.type == 'rank' && scene.params.which == 'general'" >
2017-12-17 19:44:23 +00:00
< label for = "begin" class = "col-sm-2 col-form-label col-form-label-sm" > Début du classement (à partir de 0)< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< input type = "text" id = "rbegin" ng-model = "scene.params.begin" class = "form-control form-control-sm" integer >
2017-01-20 18:18:43 +00:00
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'table'" >
< label for = "ttable" class = "col-sm-2 col-form-label col-form-label-sm" > Quelle table ?< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< select class = "custom-select custom-select-sm" id = "ttable" ng-model = "scene.params.kind" ng-options = "k as v for (k, v) in table_types" >
2017-01-20 18:18:43 +00:00
< / select >
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'table'" >
< label for = "ttheme" class = "col-sm-2 col-form-label col-form-label-sm" > Thèmes à afficher< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2017-12-17 19:44:23 +00:00
< select class = "custom-select custom-select-sm" id = "ttheme" multiple = "1" ng-model = "scene.params.themes" ng-options = "th.id as th.name for th in themes" >
2017-01-20 18:18:43 +00:00
< / select >
< / div >
< / div >
2018-01-23 02:52:24 +00:00
< div class = "form-group row" ng-if = "scene.type == 'table' && scene.params.kind == 'levels'" >
< label for = "ttheme" class = "col-sm-2 col-form-label col-form-label-sm" > Niveaux à afficher< / label >
< div class = "col-sm-10" >
< select class = "custom-select custom-select-sm" id = "tlevels" multiple = "1" ng-model = "scene.params.levels" ng-options = "lvl for lvl in [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]" >
< / select >
< / div >
< / div >
2020-01-30 03:17:53 +00:00
< div class = "form-group row" ng-if = "(scene.type == 'table' && scene.params.kind == 'teams') || scene.type == 'graph'" >
2017-12-17 19:44:23 +00:00
< label for = "tteams" class = "col-sm-2 col-form-label col-form-label-sm" > Équipes à afficher< / label >
2017-01-20 18:18:43 +00:00
< div class = "col-sm-10" >
2018-12-04 02:15:53 +00:00
< select class = "custom-select custom-select-sm" id = "tteams" multiple = "1" ng-model = "scene.params.teams" ng-options = "tid as (t.rank + 'e - ' + t.name) for (tid,t) in teams" >
2017-01-20 18:18:43 +00:00
< / select >
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'table'" >
< div class = "col-sm-2" > < / div >
< div class = "col-sm-10" >
< div class = "form-check" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "scene.params.total" >
2018-12-04 02:15:53 +00:00
< span class = "custom-control-label" > Ligne de total< / span >
2017-12-17 19:44:23 +00:00
< / label >
< / div >
< / div >
< / div >
2019-11-25 13:28:21 +00:00
< div class = "form-group row" ng-if = "scene.type == 'welcome' && scene.params.kind == 'teams'" >
< label for = "wturl" class = "col-sm-2 col-form-label col-form-label-sm" > URL< / label >
< div class = "col-sm-10" >
< input type = "text" id = "wturl" ng-model = "scene.params.url" class = "form-control form-control-sm" >
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< div class = "form-group row" ng-if = "scene.type == 'welcome'" >
< div class = "col-sm-2" > < / div >
< div class = "col-sm-10" >
< div class = "form-check" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "scene.params.notitle" >
2018-12-04 02:15:53 +00:00
< span class = "custom-control-label" > Masquer le titre< / span >
2017-01-20 18:18:43 +00:00
< / label >
< / div >
< / div >
< / div >
2020-01-30 03:17:53 +00:00
< div class = "form-group row" ng-if = "scene.type == 'graph'" >
< label for = "gheight" class = "col-sm-2 col-form-label col-form-label-sm" > Hauteur< / label >
< div class = "col-sm-10" >
< input type = "text" id = "gheight" ng-model = "scene.params.height" class = "form-control form-control-sm" integer >
< / div >
< / div >
< div class = "form-group row" ng-if = "scene.type == 'graph' || (scene.type == 'rank' && scene.params.which == 'general')" >
< div class = "col-sm-2" > < / div >
< div class = "col-sm-10" >
< div class = "form-check" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "scene.params.legend" >
< span class = "custom-control-label" > Afficher la légende< / span >
< / label >
< / div >
< / div >
< / div >
2017-12-17 19:44:23 +00:00
< / div >
2017-01-20 18:18:43 +00:00
< / div >
2019-01-19 07:01:29 +00:00
< / div >
< div class = "col-3" >
< div class = "card mb-2" ng-repeat = "scene in display.side" ng-class = "{'bg-secondary': !scene.params.hide, 'bg-light': scene.params.hide}" >
< div class = "card-body" >
< div class = "text-right mb-2" >
< div class = "btn-group-toggle" data-toggle = "buttons" style = "display: inline-block;" >
< label class = "btn btn-sm btn-secondary" ng-class = "{'active':!scene.params.hide}" >
< input type = "checkbox" ng-model = "scene.params.hide" autocomplete = "off" > < i class = "glyphicon" ng-class = "{'glyphicon-eye-open':scene.params.hide,'glyphicon-eye-close':!scene.params.hide}" > < / i >
< / label >
< / div >
< button type = "button" ng-click = "upSide(scene)" class = "btn btn-sm btn-light mb-2 mr-sm-2 mb-sm-0" > < span class = "glyphicon glyphicon-chevron-up" aria-hidden = "true" > < / span > < / button >
< button type = "button" ng-click = "downSide(scene)" class = "btn btn-sm btn-light mb-2 mr-sm-2 mb-sm-0" > < span class = "glyphicon glyphicon-chevron-down" aria-hidden = "true" > < / span > < / button >
< button type = "button" ng-click = "delSide(scene)" class = "btn btn-sm btn-warning mb-2 mr-sm-2 mb-sm-0" > < span class = "glyphicon glyphicon-minus" aria-hidden = "true" > < / span > < / button >
< / div >
< div class = "form-group" >
< select class = "custom-select custom-select-sm" id = "type" ng-model = "scene.type" ng-options = "k as v for (k, v) in typeside" > < / select >
< / div >
2020-01-30 03:17:53 +00:00
< div class = "form-group row" ng-if = "scene.type == 'panel' || scene.type == 'carousel' || scene.type == 'countdown' || scene.type == 'graph'" >
2019-01-19 07:01:29 +00:00
< label for = "ptype" class = "col-sm-4 col-form-label col-form-label-sm" > Couleur< / label >
< div class = "col-sm-8" >
< select class = "custom-select custom-select-sm" id = "ptype" ng-model = "scene.params.color" ng-options = "k as v for (k, v) in colors" > < / select >
< / div >
< / div >
< div class = "form-group row" ng-if = "scene.type == 'message' || scene.type == 'panel' || scene.type == 'carousel' || scene.type == 'countdown'" >
< label for = "mtitle" class = "col-sm-4 col-form-label col-form-label-sm" > Titre< / label >
< div class = "col-sm-8" >
< input type = "text" id = "mtitle" ng-model = "scene.params.title" class = "form-control form-control-sm" >
< / div >
< / div >
< div class = "form-group row" ng-if = "scene.type == 'message' || scene.type == 'panel' || scene.type == 'countdown'" >
< label for = "mlead" class = "col-sm-4 col-form-label col-form-label-sm" ng-if = "scene.type != 'countdown'" > Lead< / label >
< label for = "mlead" class = "col-sm-4 col-form-label col-form-label-sm" ng-if = "scene.type == 'countdown'" > Final< / label >
< div class = "col-sm-8" >
< input type = "text" id = "mlead" ng-model = "scene.params.lead" class = "form-control form-control-sm" >
< / div >
< / div >
< div class = "form-group row" ng-if = "scene.type == 'message' || scene.type == 'panel'" >
< label for = "mcnt" class = "col-sm-4 col-form-label col-form-label-sm" > HTML< / label >
< div class = "col-sm-8" >
< textarea class = "form-control form-control-sm" id = "mcnt" ng-model = "scene.params.html" > < / textarea >
< / div >
< / div >
< div class = "form-group" ng-if = "scene.type == 'exercice'" >
< select class = "custom-select custom-select-sm" id = "eex" ng-model = "scene.params.exercice" ng-options = "ex.id as ex.title group by ex.path.split('/')[0] for ex in exercices" > < / select >
< / div >
2019-01-23 00:02:45 +00:00
< div class = "form-group row" ng-if = "scene.type == 'rank'" >
< label for = "rtype" class = "col-sm-4 col-form-label col-form-label-sm" > Sorte< / label >
< div class = "col-sm-8" >
< select class = "custom-select custom-select-sm" id = "rtype" ng-model = "scene.params.which" ng-options = "k as v for (k, v) in rank_types_side" > < / select >
< / div >
< / div >
< div class = "form-group row" ng-if = "scene.type == 'rank' && scene.params.which == 'general'" >
< label for = "rlimit" class = "col-sm-4 col-form-label col-form-label-sm" > Nb lign< / label >
< div class = "col-sm-8" >
< input type = "text" id = "rlimit" ng-model = "scene.params.limit" class = "form-control form-control-sm" integer >
< / div >
< / div >
< div class = "form-group row" ng-if = "scene.type == 'rank' && scene.params.which == 'general'" >
< label for = "begin" class = "col-sm-4 col-form-label col-form-label-sm" > Début< / label >
< div class = "col-sm-8" >
< input type = "text" id = "rbegin" ng-model = "scene.params.begin" class = "form-control form-control-sm" integer >
< / div >
< / div >
2019-01-19 07:01:29 +00:00
< / div >
< / div >
< div class = "card" >
< div class = "card-header" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "display.customCountdown.show" >
< span class = "custom-control-label" > Activer timer secondaire< / span >
< / label >
< / div >
< div class = "card-body" ng-if = "display.customCountdown && display.customCountdown.show" >
< div class = "form-group row" >
< label for = "timertxtbefore" class = "col-sm-5 col-form-label col-form-label-sm" > Titre avant< / label >
< div class = "col-sm-7" >
< input type = "text" id = "timertxtbefore" ng-model = "display.customCountdown.before" class = "form-control form-control-sm" >
< / div >
< / div >
< div class = "form-group row" >
< label for = "timertxtafter" class = "col-sm-5 col-form-label col-form-label-sm" > Titre après< / label >
< div class = "col-sm-7" >
< input type = "text" id = "timertxtafter" ng-model = "display.customCountdown.after" class = "form-control form-control-sm" >
< / div >
< / div >
< div class = "form-group row" >
< label for = "timercolor" class = "col-sm-5 col-form-label col-form-label-sm" > Couleur< / label >
< div class = "col-sm-7" >
< input type = "color" id = "timercolor" ng-model = "display.customCountdown.shadow" class = "form-control form-control-sm" >
< / div >
< / div >
< div class = "form-group row" >
< label for = "timerend" class = "col-sm-5 col-form-label col-form-label-sm" > Évent< / label >
< div class = "col-sm-7" >
< div class = "input-group mb-3" >
< input type = "text" id = "timerend" ng-model = "display.customCountdown.end" class = "form-control form-control-sm" >
< div class = "input-group-append" >
< button class = "btn btn-sm btn-outline-secondary dropdown-toggle" type = "button" data-toggle = "dropdown" > < / button >
< div class = "dropdown-menu" >
< a class = "dropdown-item" ng-click = "genCustomCountdownDate(310000)" > 5 minutes< / a >
< a class = "dropdown-item" ng-click = "genCustomCountdownDate(910000)" > 15 minutes< / a >
< a class = "dropdown-item" ng-click = "genCustomCountdownDate(1100000)" > 30 minutes< / a >
< a class = "dropdown-item" ng-click = "genCustomCountdownDate(3700000)" > 1 heure< / a >
< a class = "dropdown-item" ng-click = "genCustomCountdownDate(5500000)" > 1.5 heure< / a >
2020-01-23 12:28:10 +00:00
< a class = "dropdown-item" ng-click = "genCustomCountdownDate()" > Recopier propagation< / a >
2019-01-19 07:01:29 +00:00
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "form-check" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "display.hideEvents" >
< span class = "custom-control-label" > Cacher les événements< / span >
< / label >
< / div >
< div class = "form-check" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "display.hideCountdown" >
< span class = "custom-control-label" > Cacher le timer< / span >
< / label >
< / div >
< div class = "form-check" >
< label class = "custom-control custom-checkbox" >
< input class = "custom-control-input" type = "checkbox" ng-model = "display.hideCarousel" >
< span class = "custom-control-label" > Cacher le carousel< / span >
< / label >
< / div >
< / div >
< / div >
2017-01-20 18:18:43 +00:00
< / form >