-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlist.html
157 lines (157 loc) · 4.25 KB
/
list.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
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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>ツイート一覧</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
.filters {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
}
.filters input, .filters button {
margin: 5px;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
}
.filters button {
background: #1da1f2;
color: white;
border: none;
cursor: pointer;
}
.filters button:hover {
background: #1991db;
}
.btn {
background: #1da1f2;
color: white;
border: none;
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
text-decoration: none;
display: inline-block;
}
.btn:hover {
background: #1991db;
}
.btn-small {
font-size: 12px;
padding: 4px 8px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background: #f8f9fa;
font-weight: bold;
}
tr:hover {
background: #f8f9fa;
}
.tweet-link {
color: #1da1f2;
text-decoration: none;
}
.tweet-link:hover {
text-decoration: underline;
}
.no-results {
text-align: center;
padding: 20px;
color: #666;
}
.count-info {
margin-bottom: 15px;
font-size: 18px;
font-weight: bold;
}
.input-group {
display: flex;
gap: 10px;
align-items: center;
margin-bottom: 10px;
}
.input-group label {
min-width: 100px;
}
.action-buttons {
display: flex;
gap: 10px;
margin: 10px 0;
}
.datetime-picker {
position: relative;
display: inline-block;
}
.datetime-picker input[type="datetime-local"] {
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-family: inherit;
font-size: 14px;
width: 200px;
}
</style>
</head>
<body>
<h1>ツイート一覧</h1>
<div class="filters">
<div class="input-group">
<label for="twitterId">Twitter ID:</label>
<input type="text" id="twitterId" placeholder="Twitter ID">
</div>
<div class="input-group">
<label for="startDateTime">開始日時:</label>
<div class="datetime-picker">
<input type="datetime-local" id="startDateTime">
</div>
<label for="endDateTime">終了日時:</label>
<div class="datetime-picker">
<input type="datetime-local" id="endDateTime">
</div>
</div>
<div class="action-buttons">
<button id="filterButton" class="btn">フィルター</button>
<button id="resetButton" class="btn">リセット</button>
<button id="downloadCsv" class="btn">CSVダウンロード</button>
</div>
</div>
<div class="count-info">
ツイート総数: <span id="tweetCount">0</span>
</div>
<div id="tweetList">
<table>
<thead>
<tr>
<th>カウント</th>
<th>Twitter ID</th>
<th>日付</th>
<th>時間</th>
<th>URL</th>
</tr>
</thead>
<tbody id="tweetTableBody">
</tbody>
</table>
</div>
<script src="list.js"></script>
</body>
</html>