dashboard: parametrize URL in welcome team

This commit is contained in:
nemunaire 2019-11-25 14:28:21 +01:00
commit 14f5cf29b7
3 changed files with 10 additions and 2 deletions

View file

@ -704,7 +704,7 @@ angular.module("FICApp")
$scope.display.scenes = [
{
type: "welcome",
params: { kind: "teams" },
params: { kind: "teams", url: "https://fic.srs.epita.fr/" },
},
{
type: "welcome",

View file

@ -181,6 +181,14 @@
</div>
</div>
<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>
<div class="form-group row" ng-if="scene.type == 'welcome'">
<div class="col-sm-2"></div>
<div class="col-sm-10">