admin: improve design of settings page

This commit is contained in:
nemunaire 2017-04-05 01:56:52 +02:00
parent 2235470d9d
commit db210ebc5e

View File

@ -48,14 +48,14 @@
<div class="form-group"> <div class="form-group">
<label for="firstBlood" class="col-sm-2 control-label">Bonus premier sang</label> <label for="firstBlood" class="col-sm-2 control-label">Bonus premier sang</label>
<div class="col-sm-10"> <div class="col-sm-1">
<input type="text" class="form-control" id="firstBlood" ng-model="config.firstBlood" float> <input type="text" class="form-control" id="firstBlood" ng-model="config.firstBlood" float>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="submissionCostBase" class="col-sm-2 control-label">Coût de base d'une soumission</label> <label for="submissionCostBase" class="col-sm-2 control-label">Coût de base d'une soumission</label>
<div class="col-sm-10"> <div class="col-sm-1">
<input type="text" class="form-control" id="submissionCostBase" ng-model="config.submissionCostBase" float> <input type="text" class="form-control" id="submissionCostBase" ng-model="config.submissionCostBase" float>
</div> </div>
</div> </div>
@ -118,7 +118,14 @@
</form> </form>
<div class="well"> <div class="well">
<div class="col-sm-4 center">
<a ng-click="reset('challenges')" class="btn btn-warning" role="button"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Effacer les challenges et les thèmes</a> <a ng-click="reset('challenges')" class="btn btn-warning" role="button"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Effacer les challenges et les thèmes</a>
</div>
<div class="col-sm-4 center">
<a ng-click="reset('teams');" class="btn btn-warning" role="button"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Effacer les équipes</a> <a ng-click="reset('teams');" class="btn btn-warning" role="button"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Effacer les équipes</a>
</div>
<div class="col-sm-4 center">
<a ng-click="reset('game');" class="btn btn-warning" role="button"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Effacer la partie (tentatives, indices, ...)</a> <a ng-click="reset('game');" class="btn btn-warning" role="button"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Effacer la partie (tentatives, indices, ...)</a>
</div>
<div class="clearfix"></div>
</div> </div>