Add TBA API for team info and awards

This commit is contained in:
Sam Baumgarten
2015-04-01 14:19:14 -07:00
parent 52c316014b
commit 1774197c13
9 changed files with 142 additions and 107 deletions

View File

@@ -93,23 +93,17 @@
</div>
</fieldset>
<fieldset>
<legend>FRC Events API</legend>
<legend>Automatic Team Info Download</legend>
<div class="form-group">
<label class="col-lg-7 control-label">Enable FRC Events API Team Info Download</label>
<label class="col-lg-9 control-label">Enable Automatic Team Info Download (From TBA)</label>
<div class="col-lg-1 checkbox">
<input type="checkbox" name="FMSAPIDownloadEnabled"{{if .FMSAPIDownloadEnabled}} checked{{end}}>
<input type="checkbox" name="TBADownloadEnabled"{{if .TBADownloadEnabled}} checked{{end}}>
</div>
</div>
<div class="form-group">
<label class="col-lg-5 control-label">FRC Events API Username</label>
<div class="col-lg-7">
<input type="text" class="form-control" name="FMSAPIUsername" value="{{.FMSAPIUsername}}">
</div>
</div>
<div class="form-group">
<label class="col-lg-5 control-label">FRC Events API Authorization Key</label>
<div class="col-lg-7">
<input type="text" class="form-control" name="FMSAPIAuthKey" value="{{.FMSAPIAuthKey}}">
<label class="col-lg-9 control-label">Enable Automatic Team Accomplishments Download (From TBA)</label>
<div class="col-lg-1 checkbox">
<input type="checkbox" name="TBADownloadEnabled"{{if .TBAAwardsDownloadEnabled}} checked{{end}}>
</div>
</div>
</fieldset>