home.html
4.07 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{% extends 'base.html'%}
{% load staticfiles %}
{% block content %}
<div class="frame">
<!-- //header -->
<div class="container">
<!-- //nav -->
<div class="content">
<div class = "shiftleft">
<h2>즐겨찾기</h2>
</div>
<table id="hor-minimalist-b" width = 1000px>
<thead>
<tr>
<td width=300><p>제목</p></td>
<td width=350><p>등록 시간</p></td>
<td width=350><p>최근 열람 시간</p></td>
<td width=100><p>즐겨찾기</p></td>
<td width=100><p>파일 크기</p></td>
<td width=100><p>파일 삭제</p></td>
</tr>
</thead>
{% if favorList %} <tbody>
{% for fileRow in favorList %}
<tr>
<td width=50><a href="/download/{{ fileRow.bucketPath }}{{ fileRow.title }}//{{ fileRow.title }}//{{ fileRow.bucketPath }}" valign=center>{{ fileRow.title }}</a></td>
<td width=100><p href="", >{{ fileRow.uploaded_TM }}</p></td>
<td width=100><p href="",>{{ fileRow.last_view_TM }}</p></td>
<td width=100><a href="/changeFavor/{{ fileRow.bucketPath }}/{{ fileRow.title }}" align=center>{{ fileRow.isFavor }}</a></td>
<td width=100><p href="", >{{ fileRow.fileSize }}</p></td>
<td width=100><a href="/delete/{{ fileRow.bucketPath }}{{ fileRow.title }}//{{ fileRow.title }}//{{ fileRow.bucketPath }}" align=center>파일 삭제</a></td>
</tr>
{% endfor %}
</tbody>
{% else %}
<p>No File.</p>
{% endif %}
</table>
<div class = "shiftleft">
<h2>최근 항목</h2>
</div>
<table id="hor-minimalist-b" width = 1000px>
<thead>
<tr>
<td width=300><p >제목</p></td>
<td width=350><p >등록 시간</p></td>
<td width=350><p >최근 열람 시간</p></td>
<td width=100><p >즐겨찾기</p></td>
<td width=100><p >파일 크기</p></td>
<td width=100><p >파일 삭제</p></td>
</tr>
</thead>
{% if recentList %}
<tbody>
{% for fileRow in recentList %}
<tr>
<td width=50><a href="/download/{{ fileRow.bucketPath }}{{ fileRow.title }}//{{ fileRow.title }}//{{ fileRow.bucketPath }}" align=center>{{ fileRow.title }}</a></td>
<td width=100><p href="", >{{ fileRow.uploaded_TM }}</p></td>
<td width=100><p href="", >{{ fileRow.last_view_TM }}</p></td>
<td width=100><a href="/changeFavor/{{ fileRow.bucketPath }}/{{ fileRow.title }}" align=center>{{ fileRow.isFavor }}</a></td>
<td width=100><p href="",>{{ fileRow.fileSize }}</p></td>
<td width=100><a href="/delete/{{ fileRow.bucketPath }}{{ fileRow.title }}//{{ fileRow.title }}//{{ fileRow.bucketPath }}" align=center>파일 삭제</a></td>
</tr>
{% endfor %}
</tbody>
{% else %}
<p>No File.</p>
{% endif %}
</table>
</div>
</div>
<!-- //container -->
</div>
<!-- //frame -->
{% endblock %}