File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ {% extends "base.html" %}
2+
3+ {% block title %}
4+ 用户设置
5+ {% endblock %}
6+
7+ {% block outlet %}
8+ < div >
9+ < form id ="settingsform " class ="settings-form " role ="form " method ="post " action ="{{url_for('user.settings')}} ">
10+ < div class ="form-group ">
11+ < input type ="hidden " name ="csrf_token " value ="{{ csrf_token() }} " />
12+ < label class ="control-label " for ="inputLocation "> 地点</ label >
13+ < input id ="inputLocation " class ="form-control " type ="text " value ="{{ user.location if user.location else ''}} " required ="" tabindex ="1 " name ="location "/>
14+ </ div >
15+ < div class ="form-group ">
16+ < label class ="control-label " for ="inputWebsite "> 网站</ label >
17+ < input id ="inputWebsite " class ="form-control " type ="text " value ="{{ user.website if user.website else ''}} " required ="" tabindex ="1 " name ="website "/>
18+ </ div >
19+ < div class ="form-group ">
20+ < label class ="control-label " for ="inputGithub "> Github</ label >
21+ @< input id ="inputGithub " class ="form-control " type ="text " value ="{{ user.github_id if user.github_id else ''}} " required ="" tabindex ="1 " name ="github_id "/>
22+ </ div >
23+ < div class ="form-group ">
24+ < button id ="loginBtn " class ="login-btn btn-default " tabindex ="3 " type ="submit ">
25+ 修改
26+ </ button >
27+ </ div >
28+ </ form >
29+ </ div >
30+ {% endblock %}
31+
32+ {% block head_script %}
33+ < link href ="{{url_for('static', filename='stylesheets/base16-light.css')}} " rel ="stylesheet "/>
34+ < link href ="{{url_for('static', filename='stylesheets/codemirror.css')}} " rel ="stylesheet "/>
35+ < link href ="{{url_for('static', filename='stylesheets/select2.min.css')}} " rel ="stylesheet "/>
36+ < link href ="{{url_for('static', filename='stylesheets/effeckt/list-items.css')}} " rel ="stylesheet "/>
37+ < link href ="{{url_for('static', filename='stylesheets/index.css')}} " rel ="stylesheet " media ="all "/>
38+ {% endblock %}
You can’t perform that action at this time.
0 commit comments