forked from PositiveSumNet/SocialAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
157 lines (157 loc) · 7.89 KB
/
index.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='en'>
<head>
<meta charset="utf-8" >
<title>Whosum Social Assistant</title>
<link href="/images/favicon.ico" rel="icon" type="image/x-icon" >
<link href='css/bootstrap/bootstrap.min.css' rel='stylesheet' >
<link href='css/bootstrap/flags.css' rel='stylesheet' >
<link href='css/app.css' rel='stylesheet' >
<link href='lib/bootstrap-icons/bootstrap-icons.css' rel='stylesheet' >
</head>
<body>
<div class='main container-fluid'>
<h1 class="row bg-header inkfree"><a href="https://whosum.com" target="_blank">+Σ Whosum</a></h1>
<div class="row bg-subheader">
<div class="col">
<span class="h5 inkfree">Locally Cached Social Database</span>
</div>
<div class="col-sm-auto text-right">
<span id='transferringMsg' style="display:none;">
Copying recent recordings to local database... |
</span>
<span>
<a href="#" id="startExportBtn" role="button" data-toggle='tooltip' title='export backup files'>Export</a>
<a href="#" id="pauseExportBtn" role="button" data-toggle='tooltip' title='pause file backup' style="display:none;">Pause Export</a>
<span> | </span>
<a href="#" id="startImportBtn" role="button" data-toggle='tooltip' title='import to restore'>Import</a>
<a href="#" id="stopImportBtn" role="button" data-toggle='tooltip' title='stop import' style="display:none;">Cancel Import</a>
</span>
</div>
</div>
<div id="uploadui" class="row pb-2" style="display:none;">
<div id="drop-area">
<form class="my-form">
<p>Upload multiple files (click or drag & drop)</p>
<input type="file" id="fileElem" multiple accept="application/JSON">
<label class="upload-button" for="fileElem">Choose files</label>
</form>
</div>
<div class="pt-3 ps-4">
<span>Uploaded: </span><span id="uploadedCnt">0</span> |
<span>Processed: </span><span id="syncImportProcessedCnt">0</span>
</div>
<div class="pt-2 ps-4">
<a href="#" id="uploadDone" role="button" class="btn btn-primary">Done</a>
</div>
</div>
<div id="dbui" class="row pb-2 container-fluid">
<div id="listFilterSet" class='row'>
<div class='pt-2 col-2'>
<div class='input-group' style="margin-bottom:20px;">
<label for='txtOwnerHandle' class='text-muted input-group-text'>@</label>
<input id='txtOwnerHandle' type='text' placeholder='account' class='form-control' >
</div>
</div>
<div id='followDirection' class='col-sm-auto'>
<div class="form-check">
<input class="form-check-input" type="radio" name="optFollowDirection" id="optFollowing">
<label class="form-check-label" id="optFollowingLabel" for="optFollowing">following </label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="optFollowDirection" id="optFollowers">
<label class="form-check-label" id="optFollowersLabel" for="optFollowers">followers </label>
</div>
</div>
<div class='pt-2 col-2'>
<input id='txtConnSearch' type='text' class='form-control' placeholder='search...' >
</div>
<div id="paging" class='pt-2 col-2' style="white-space:nowrap!important;">
<label for='txtPageNum' class='text-muted'>pg</label>
<input id='txtPageNum' type='text' style='border-right:none;' value='1' >
<a data-toggle='tooltip' title='prior page' href='#' id='priorPage' role='button'><i class="bi-chevron-double-left"></i></a>
<a data-toggle='tooltip' title='next page' href='#' id='nextPage' role='button'><i class="bi-chevron-double-right"></i></a>
<a data-toggle='tooltip' title='set page size' href='#' id='pageGear' role='button'><i class="bi-gear"></i></a>
</div>
<div id='queryOptions' class='col-4' style="margin-left:25px;display:block;float:right;">
<table>
<tr>
<td>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="chkMutual" id="chkMutual">
<label class="form-check-label" for="chkMutual">Mutual follow</label>
</div>
</td>
<td>
<div class="form-check">
<input class="form-check-input" type="radio" name="optWith" id="optWithMdon">
<label class="form-check-label" for="optWithMdon">
<span>Mastodon</span>
<a data-toggle='tooltip' title='set page size' href='#' id='mdonGear'><i class="bi-gear"></i></a>
</label>
</div>
</td>
<td>
<div class="form-check">
<input class="form-check-input" type="radio" name="optWith" id="optWithEmail">
<label class="form-check-label" for="optWithEmail">w/ Email</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="chkFavorited" id="chkFavorited">
<label class="form-check-label" for="chkFavorited">Favorite</label>
</div>
</td>
<td>
<div class="form-check">
<input class="form-check-input" type="radio" name="optWith" id="optWithUrl">
<label class="form-check-label" for="optWithUrl">w/ Url</label>
</div>
</td>
<td>
<div class="form-check">
<input class="form-check-input" type="radio" name="optWith" id="optClear">
<label class="form-check-label" for="optClear">w/ Any</label>
</div>
</td>
</tr>
</table>
</div>
</div>
<div id="connListProgress" class="progress" style="height:3px;">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;"></div>
</div>
<div id='connList' class='row'></div>
<div id='listOwnerPivotPicker' class='row pt-2'></div>
<div class='listMain row' id='connListMain'>
<div id='paginated-list' aria-live='polite'>
</div>
</div>
</div>
</div>
<div class="fixed-bottom">
<span>
<span>SQLite DB Version: <span id='sqliteVersionLib'></span></span>,
<span>OPFS: <span id='sqliteOpfsOk'></span></span>,
<span>Script #: <span id='dbScriptNumber'></span></span> |
<a href='https://whosum.com/privacy' target='_blank'>Privacy</a> |
<a href='https://whosum.com/terms' target='_blank'>Terms</a> |
<a href='https://github.com/positivesumnet/socialassistant' target='_blank'>Code</a>
</span>
</div>
<script src='lib/shared/constants.js'></script>
<script src='lib/shared/pagetypes.js'></script>
<script src='lib/shared/settingslib.js'></script>
<script src='lib/shared/es6lib.js'></script>
<script src='lib/shared/strlib.js'></script>
<script src='lib/shared/emojilib.js'></script>
<script src='lib/shared/datatypes.js'></script>
<script src='lib/shared/appgraphs.js'></script>
<script src='lib/shared/appschema.js'></script>
<script src='lib/dbui/renderlib.js'></script>
<script src='index.js'></script>
</body>
</html>