-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdb_record_detail.html
34 lines (34 loc) · 1.82 KB
/
db_record_detail.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{{template "page_top" .}}
{{template "nav_cat_bar" .}}
{{$Auth := .Auth}}
{{$Uname := .Uname}}
{{if and (eq .Auth 1) (eq .Uname "netop")}}
<br>
<div class="ibox-content">
{{with .DBRecord}}
<form method="post" id="userForm" class="form-horizontal" enctype="multipart/form-data" >
<div class="hr-line-dashed"></div>
<div class="form-group">
<label for="content" class="col-sm-2 control-label">操作内容</label>
<div class="col-sm-8">
<textarea name="content" class="form-control" rows="6">{{.Content}}</textarea>
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<label for="attachment" class="col-sm-2 control-label">附件</label>
<div class="col-sm-8">
(<a target="_blank" href="/attachment/{{.Attachment}}">{{.Attachment}}</a>)
</div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
<div class="col-sm-4 col-sm-offset-2">
<a href="/record/db/list" class="btn btn-white pull-center"> 返回列表 </a>
</div>
</div>
</form>
{{end}}
</div>
{{end}}
{{template "page_buttom" .}}