个人设置页面增加appkey

This commit is contained in:
virusdefender
2016-02-17 09:57:44 +08:00
parent 030a9b52f1
commit 863e511d32
2 changed files with 7 additions and 3 deletions

View File

@@ -92,6 +92,11 @@
<div class="help-block with-errors"></div>
</div>
<div class="form-group col-md-12">
<label>OpenAPI Appkey(<a href="https://github.com/QingdaoU/OnlineJudgeOpenAPI" target="_blank">如何使用?</a>)</label>
<input type="text" class="form-control"
value="{% if request.user.openapi_appkey %}{{ request.user.openapi_appkey }}{% else %}功能未开启 请联系管理员{% endif %}" readonly>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">提交</button>