-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
162 lines (144 loc) · 3.84 KB
/
test.html
File metadata and controls
162 lines (144 loc) · 3.84 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>jQuery Sort Plugin Test Page</title>
<script src="http://code.jquery.com/jquery-1.9.0.min.js" type="text/javascript"></script>
<script src="./jquery.sort.js" type="text/javascript"></script>
<!--<script src="./jquery.sort.min.js" type="text/javascript"></script>-->
<script src="./jquery.sort.test.js" type="text/javascript"></script>
<style type="text/css">
body {
font-family: "Helvetica Neue", Arial, sans-serif;
font-size: 13px;
padding: 20px;
}
h1 {
margin: 0 0 20px;
}
.sortable-table {
border-collapse: collapse;
border-spacing: 0;
}
.sortable-table tr {
vertical-align: top;
}
.sortable-table th,
.sortable-table td {
text-align: left;
border: 1px solid #ccc;
}
.sortable-table th {
background-color: #F8F8F8;
}
.sortable-table td {
padding: 8px 15px;
}
.sortable-table__sort-link {
color: #000;
text-decoration: none;
display: block;
padding: 8px 15px;
}
.sortable-table__sort-link:hover {
color: #5e5e5e;
}
.sortable-table__sort-link .link__title {
border-bottom: 1px dotted #000;
}
.sortable-table__sort-link .link__title {
border-bottom-color: #5e5e5e;
}
.sortable-table__sort-link .link__icon {
display: inline-block;
width: 20px;
}
.sortable-table__sort-link .link__icon::after {
color: #424242;
font-size: 10px;
}
.sortable-table__sort-link:hover .link__icon::after {
color: #696969;
}
.sortable-table__cell_sorted_asc .link__icon::after {
content: "▲";
}
.sortable-table__cell_sorted_desc .link__icon::after {
content: "▼";
}
</style>
</head>
<body>
<h1>Sort plugin test page</h1>
<table class="sortable-table">
<tr>
<th class="sortable-table__cell sortable-table__cell_name_task">
<a href="#" class="sortable-table__sort-link link">
<span class="link__title">Task description</span>
<span class="link__icon"></span>
</a>
</th>
<th class="sortable-table__cell sortable-table__cell_name_due">
<a href="#" class="sortable-table__sort-link">
<span class="link__title">Due</span>
<span class="link__icon"></span>
</a>
</th>
<th class="sortable-table__cell sortable-table__cell_sorted_desc sortable-table__cell_name_priority">
<a href="#" class="sortable-table__sort-link">
<span class="link__title">Priority</span>
<span class="link__icon"></span>
</a>
</th>
<th class="sortable-table__cell sortable-table__cell_name_executor">
<a href="#" class="sortable-table__sort-link">
<span class="link__title">Executor</span>
<span class="link__icon"></span>
</a>
</th>
</tr>
<tr>
<td>Mark up test page</td>
<td>28.01.2013 11:30</td>
<td>6</td>
<td>Alexander Belov</td>
</tr>
<tr>
<td>Write test script</td>
<td>28.01.2013 15:00</td>
<td>6</td>
<td>Alexander Belov</td>
</tr>
<tr>
<td>Commit and push tests</td>
<td>28.01.2013 13:00</td>
<td>5</td>
<td>Alexander Belov</td>
</tr>
<tr>
<td>Refactor Sort plugin code</td>
<td>29.01.2013</td>
<td>4</td>
<td>Alexander Belov</td>
</tr>
<tr>
<td>Commit and push refactoring changes</td>
<td>01.02.2013</td>
<td>3</td>
<td>Alexander Belov</td>
</tr>
<tr>
<td>Tweet the results</td>
<td>–</td>
<td>1</td>
<td>Alexander Belov</td>
</tr>
<tr>
<td>Get a feedback</td>
<td>–</td>
<td>1</td>
<td>Anatoly Matov</td>
</tr>
</table>
</body>
</html>