格式化代码;修改按钮位置;修改图片上指针样式

This commit is contained in:
virusdefender 2015-11-11 21:05:40 +08:00
parent 5598387159
commit 4040d98e65

View File

@ -17,17 +17,15 @@
<img src="{{ user.userprofile.avatar }}" class="img-responsive"
style="height: 200px;width: 200px;" id="current_avatar">
<br>
<div class="form-group left">
<button id="save_avatar" type="submit" class="btn btn-primary">保存</button>
</div>
</div>
<div class="col-lg-6">
<form>
<div>
<div class="row">
{% for i in "aaaaaaaaaaaaaaaaaaaa" %}
<div class="col-lg-2 avatar-item">
<div style="border: 1px solid red;">
<img src="/static/img/avatar/avatar-{{ forloop.counter }}.png">
<div>
<img src="/static/img/avatar/avatar-{{ forloop.counter }}.png" style="cursor:pointer">
</div>
</div>
{% endfor %}
@ -39,8 +37,11 @@
style="height: 100px;width: 150px">
水果头像由<a href="https://coding.net">coding.net</a>提供。
</div>
<div class="form-group left">
<button id="save_avatar" type="submit" class="btn btn-primary">保存</button>
</div>
</form>
</div>
</div>
</div>
{% endblock %}