dashboard: parametrize URL in welcome team
This commit is contained in:
parent
1db035e050
commit
14f5cf29b7
3 changed files with 10 additions and 2 deletions
|
@ -704,7 +704,7 @@ angular.module("FICApp")
|
||||||
$scope.display.scenes = [
|
$scope.display.scenes = [
|
||||||
{
|
{
|
||||||
type: "welcome",
|
type: "welcome",
|
||||||
params: { kind: "teams" },
|
params: { kind: "teams", url: "https://fic.srs.epita.fr/" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "welcome",
|
type: "welcome",
|
||||||
|
|
|
@ -181,6 +181,14 @@
|
||||||
</div>
|
</div>
|
||||||
</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="form-group row" ng-if="scene.type == 'welcome'">
|
||||||
<div class="col-sm-2"></div>
|
<div class="col-sm-2"></div>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<p class="lead text-justify">
|
<p class="lead text-justify">
|
||||||
Une fois connecté au réseau, contactez notre serveur sur :
|
Une fois connecté au réseau, contactez notre serveur sur :
|
||||||
<span style="display: block; font-size: 200%; text-indent: 0;" class="text-center">
|
<span style="display: block; font-size: 200%; text-indent: 0;" class="text-center">
|
||||||
<a style="font-family: mono" href="https://fic.srs.epita.fr/"><span class="text-info">https://fic.srs.epita.fr/</span></a>
|
<a style="font-family: mono" href="{{s.params.url}}" class="text-info" ng-bind="s.params.url"></span></a>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue