-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpopup.html
executable file
·561 lines (512 loc) · 33.4 KB
/
popup.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
<!doctype html>
<html>
<head>
<title>Welcome to SteemPlus</title>
<link id="themecss" rel="stylesheet" type="text/css" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" type="text/css" href="src/css/popup.css">
</head>
<body>
<div>
<div id="before_connect">
<div class="loader"></div>
</div>
<div id="onboarding">
<img src="src/img/steemplus.png" class="onboard-logo">
<img class="onboard-image" src="src/img/onboarding/welcome.png">
<span class="onboard-title">Welcome to SteemPlus</span>
<p class="onboard-text">SteemPlus lets you take control of your feed, choose your voting weight
as minnow and much much more, let's take a tour of the features!</p>
<div class="onboarding-controls"><span id="onboard-restart" class="onboard-directon">Restart</span>
<div class="onboarding-indicator>"><span id="dot-1" class="progress-dot progress-dot-active"></span>
<span
id="dot-2" class="progress-dot"></span><span id="dot-3" class="progress-dot"></span><span id="dot-4"
class="progress-dot"></span><span id="dot-5" class="progress-dot"></span>
<span
id="dot-6" class="progress-dot"></span>
</div> <span id="onboard-forward" class="onboard-directon">Next</span>
</div>
</div>
<!-- <div id='disconnected'>
<img src="src/img/steemplus.png">
<h3>Login</h3>
<p>In order to enable the features within Steem+ we need you to login to your Steem account, don't worry we'll never see your password.</p>
<a target="_blank" href="https://v2.steemconnect.com/oauth2/authorize?client_id=steem-plus-app&redirect_uri=https://steemit.com/@steem-plus&scope=vote,comment,comment_options,custom_json&state=https://steemit.com/@steem-plus"><input type="button" class="blue-button" value="Sign in via SteemConnect"></a>
</div> -->
<div id='connected'>
<img id="logo" src="src/img/steemplus.png" width="200px">
<div id="loginButton">
<h3>Login</h3>
<p>You are in offline mode. To enjoy more features (Feed+, beneficiaries,
Follower table), please login using SteemConnect.</p>
<a target="_blank" href="https://v2.steemconnect.com/oauth2/authorize?client_id=steem-plus-app&redirect_uri=https://steemit.com/@steem-plus&scope=vote,comment,comment_options,custom_json&state=https://steemit.com/@steem-plus"><input type="button" class="blue-button" value="Sign in via SteemConnect"></a>
</div>
<div class="info_user">
<a class="id_user"></a>
<div class="info_user_connected">
<div class="rep-container"><span class="rep_user"></span></div>
<span class="voting-label">Your Voting Power</span>
<div>
<div class="w3-light-grey w3-round">
<div id="bar" class="w3-container w3-round w3-blue" style="width:0%"></div>
</div><span id="vote-power-stat">0%</span></div>
<p id="main-description">You can use our upvote option to quickly vote for a post, or
click on Features to find out more about what SteemPlus has
to offer.</p>
</div>
</div>
<div id="vote-menu" class="menu" style="border-bottom: 1px solid whitesmoke"><img class="menu-icon" src="src/img/up.png">Upvote
<div class="more"></div>
</div>
<div class="content">
<div class="back_menu">Back to Main Menu</div>
<hr/>
<p class="option-title">Vote Weight</p>
<p class="option-description">Use the slider below to set your vote weight per post:</p>
<div id="slidecontainer">
<input type="range" min="0" max="100" value="0" class="slider" id="myRange"> <input id="weight" type="number" placeholder="%">
</div>
<div id="vote">Upvote</div>
</div>
<div id="user-options" class="menu"><img class="menu-icon" src="src/img/options.png">Settings
<div class="more"></div>
</div>
<div class="content">
<div class="back_menu">Back to Main Menu</div>
<hr/>
<div class="options-content">
<div class="sp_option need-online">
<label class="switch">
<input type="checkbox" name="utopian_post" id="utopian_post">
<span class="slider2 round"></span>
</label>
<p class="option-title">Utopian Post</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Post your Utopian contributions directly from Steemit.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="steemplus_points" id="steemplus_points">
<span class="slider2 round"></span>
</label>
<p class="option-title">Steemplus Points</p>
<div class="platform-indicators">
<img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
</div>
<p class="option-description">Displays the number of Steemplus points of a user and the details of those points in the wallet.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="premium_features" id="premium_features">
<span class="slider2 round"></span>
</label>
<p class="option-title">Premium Features</p>
<div class="platform-indicators">
<img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
</div>
<p class="option-description">Use your SteemPlus Points to buy Premium Features.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="sm_batch" id="sm_batch">
<span class="slider2 round"></span>
</label>
<p class="option-title">Steem Monsters Market Batch Purchase</p>
<div class="platform-indicators">
<img class="platform-indicator-logo" src="src/img/platform-logos/sm.png">
</div>
<p class="option-description">Buy by batch on steemmonsters.com market</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="steem_monsters" id="steem_monsters">
<span class="slider2 round"></span>
</label>
<p class="option-title">Steem Monsters</p>
<div class="platform-indicators">
<img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
</div>
<p class="option-description">Buy your Steem Monsters booster directly from Steemit!</p>
</div>
<div class="sp_option need-online">
<label class="switch">
<input type="checkbox" name="dtube_post" id="dtube_post">
<span class="slider2 round"></span>
</label>
<p class="option-title">DTube Post</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Post on D-Tube directly from Steemit.</p>
</div>
<div class="sp_option need-online disabled-feature">
<label class="switch">
<input type="checkbox" name="oneup" id="oneup">
<span class="slider2 round"></span>
</label>
<p class="option-title">Utopian 1UP</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/utopian.png"></div>
<p class="option-description">Vote for the best Utopian contributions and give them a chance
to be upvoted by the trail.</p>
</div>
<div class="sp_option need-online">
<label class="switch">
<input type="checkbox" name="feedp" id="feedp">
<span class="slider2 round"></span>
</label>
<p class="option-title">Feed+</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Enhance your feed on Steemit with filtering and sorting functions.</p>
</div>
<div class="sp_option need-online">
<label class="switch">
<input type="checkbox" name="ben" id="ben">
<span class="slider2 round"></span>
</label>
<p class="option-title">Beneficiaries</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Share the love with other users when you post. Give your
friends part of your rewards. </p>
</div>
<div class="sp_option">
<p class="option-title">Badges</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
<img
class="platform-indicator-logo" src="src/img/platform-logos/busy.png"></div>
<p class="option-description">Add badges to user profiles. The badges have been created
by the Steem community and show the rank, from Plankton
to Whale.</p>
<div class="custom-select" style="width:100%;">
<select id="badges">
<option name="badges" value="2" id="q">Show badges?</option>
<option name="badges" value="hide" id="hide">Don't show badges</option>
<option name="badges" value="1" id="1">Badge created by @hag228</option>
<option name="badges" value="2" id="2">Badge created by @fabiyamada</option>
<option name="badges" value="3" id="3">Badge created by @tshiuan</option>
</select>
</div>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="transfers" id="transfers">
<span class="slider2 round"></span>
</label>
<p class="option-title">Dropdown</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">See current STEEM and SBD prices and get direct link to market
from your user menu.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="del" id="del">
<span class="slider2 round"></span>
</label>
<p class="option-title">Delegation</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
<img
class="platform-indicator-logo" src="src/img/platform-logos/busy.png"></div>
<p class="option-description">Delegate your Steem power at the click of a button without
leaving your favourite Steem sites.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="transfers" id="transfers">
<span class="slider2 round"></span>
</label>
<p class="option-title">Transfers</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
<img
class="platform-indicator-logo" src="src/img/platform-logos/busy.png"></div>
<p class="option-description">Access transfers quickly from a user's profile, no more going
back to your wallet.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="acc_v" id="acc_v">
<span class="slider2 round"></span>
</label>
<p class="option-title">Account Value</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png">
<img
class="platform-indicator-logo" src="src/img/platform-logos/busy.png"></div>
<p class="option-description">Get the real value of your account with real-time price data
for your STEEM and SBD holdings.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="favorite_section" id="favorite_section">
<span class="slider2 round"></span>
</label>
<p class="option-title">Favorite Section</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Add 10 users to your favorites followees. This section will
appear in your feed.</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="board_reward" id="board_reward">
<span class="slider2 round"></span>
</label>
<p class="option-title">SteemitBoard Trophies</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Check your achievements on the blockchain.</p>
</div>
<!--<div class="sp_option">
<label class="switch">
<input type="checkbox" name="classification_user" id="classification_user">
<span class="slider2 round"></span>
</label>
<p class="option-title">User Classification</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Classify users between Spammers, Humans and Bots. Api courtesy
of <a class="smi-navigate" href="/@andybets">@andybets</a></p>
</div> !-->
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="witnesses_tab" id="witnesses_tab">
<span class="slider2 round"></span>
</label>
<p class="option-title">Witnesses Tab</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Display witnesses an user has voted for. You can also managed
your votes.</a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="article_count" id="article_count">
<span class="slider2 round"></span>
</label>
<p class="option-title">Number of articles and comments</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Change the display of the number of article in the banner.</a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="wallet_history" id="wallet_history">
<span class="slider2 round"></span>
</label>
<p class="option-title">Wallet History</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">This feature will allow you to filter your wallet history.</a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="rewards_tab" id="rewards_tab">
<span class="slider2 round"></span>
</label>
<p class="option-title">Reward Tab</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Get all your rewards! Author rewards, Benefactor Rewards
and Curation Rewards.</a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="author_popup_info" id="author_popup_info">
<span class="slider2 round"></span>
</label>
<p class="option-title">Author Popup Information</p>
<div class="new-indicator"><span>New</span></div>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Display information about an author</a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="add_signature" id="add_signature">
<span class="slider2 round"></span>
</label>
<p class="option-title">Add Signature</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Add a signature to your account. Now you can easily add this
signature to any comment or post.</a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="resteem_indicator" id="resteem_indicator">
<span class="slider2 round"></span>
</label>
<p class="option-title">Resteem Indicator</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Display who resteemed a post></a>
</p>
</div>
<div class="sp_option">
<label class="switch">
<input type="checkbox" name="tip_user" id="tip_user">
<span class="slider2 round"></span>
</label>
<p class="option-title">Tips</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<p class="option-description">Send a tip to any user from the user popup.</a>
</p>
</div>
<div class="sp_option_list_title">
<label class="switch">
<input type="checkbox" name="steemit_more_info" id="steemit_more_info">
<span class="slider2 round"></span>
</label>
<p class="option-title">Steemit More Info Features</p>
<div class="platform-indicators"><img class="platform-indicator-logo" src="src/img/platform-logos/steemit.png"></div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="post_votes_list" id="post_votes_list">
<span class="slider2 round"></span>
</label>
<p class="option-title">Votes value</p>
<p class="option-description">Adds the amount in dollars of the votes a post has received,
so that you can see how much each account's vote
affected the rewards</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="vote_tab" id="vote_tab">
<span class="slider2 round"></span>
</label>
<p class="option-title">Vote Tab</p>
<p class="option-description">Adds a tab where you can see the incoming and outgoing
votes of an account</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="external_link_tab" id="external_link_tab">
<span class="slider2 round"></span>
</label>
<p class="option-title">External Links Tab</p>
<p class="option-description">Adds a tab where you can find external links related
to Steemit</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="search_bar" id="search_bar">
<span class="slider2 round"></span>
</label>
<p class="option-title">Search Bar</p>
<p class="option-description">Change the search bar to a fast overlay</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="mentions_tab" id="mentions_tab">
<span class="slider2 round"></span>
</label>
<p class="option-title">Mentions Tab</p>
<p class="option-description">Adds a tab where you can see all the posts in which an
user has been mentionned</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="vote_weight_slider" id="vote_weight_slider">
<span class="slider2 round"></span>
</label>
<p class="option-title">Vote Slider Value</p>
<p class="option-description">Adds the amount in dollars your vote is worth to the
voting/downvoting slider (Only for account with enough
SP)</p>
</div>
<div class="sp_option_list need-online">
<label class="switch">
<input type="checkbox" name="vote_weight_slider_busy" id="vote_weight_slider_busy">
<span class="slider2 round"></span>
</label>
<p class="option-title">Vote Slider Value (for busy)</p>
<p class="option-description">Adds the amount in dollars your vote is worth to the
voting/downvoting slider (Only for account with enough
SP). This feature will only be used on Busy. Unlike
classic vote slider value, this feature for Busy
need connection to SteemConnect</p>
</div>
<div class="sp_option_list need-online">
<label class="switch">
<input type="checkbox" name="followers_table" id="followers_table">
<span class="slider2 round"></span>
</label>
<p class="option-title">Followers Table</p>
<p class="option-description">Replace the followers and following page with a table
based list of followers/following accounts, showing
more information, making the list sortable and with
a quick way to follow/unfollow</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="boost_button" id="boost_button">
<span class="slider2 round"></span>
</label>
<p class="option-title">Boost Button</p>
<p class="option-description">Add a Boost button next to the Promote button to the
posts to easily send SBD to <a class="smi-navigate"
href="/@minnowbooster">@minnowbooster</a> for boosting
upvotes</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="gif_picker" id="gif_picker">
<span class="slider2 round"></span>
</label>
<p class="option-title">Gif Picker</p>
<p class="option-description">Tool to easily add GIF from <a href="https://giphy.com/"
target="_blank" rel="noopener">giphy.com</a> to posts
and comments <img src="https://i.imgsafe.org/e6/e67c07abe2.png"></p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="user_info_popover" id="user_info_popover">
<span class="slider2 round"></span>
</label>
<p class="option-title">User Information Popover</p>
<p class="option-description">Add a popover to the banner to display information about
your account (Voting Power, max vote value, full
in ... hours)</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="blog_histogram" id="blog_histogram">
<span class="slider2 round"></span>
</label>
<p class="option-title">Blog Histogram</p>
<p class="option-description">Show an histogram of the account's posts history on the
blog page of an user</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="md_editor_beautifier" id="md_editor_beautifier">
<span class="slider2 round"></span>
</label>
<p class="option-title">MarkDown Editor Beautifier</p>
<p class="option-description">When you create a post, the preview and the editor are
side by side and scroll together to show you the
markup code and the preview of the same area (works
only for screen wider than 900px)</p>
</div>
<div class="sp_option_list">
<label class="switch">
<input type="checkbox" name="post_floating_bottom_bar" id="post_floating_bottom_bar">
<span class="slider2 round"></span>
</label>
<p class="option-title">Float Post's Voting Bar</p>
<p class="option-description">While reading a post, this feature keeps the voting bar
alwasy visible on the top of the page so that it
is easier to upvote and look at more information
about the post</p>
</div>
</div>
</div>
</div>
<div id="steemhunt" class="menu" style="border-bottom: 1px solid whitesmoke"><img class="menu-icon" src="src/img/sh.png">SteemHunt
</div>
</div>
<div id="powered">
<span class="switch-text">Quick Switcher</span>
<div id="shortcuts">
<img src="/src/img/platform-logos/steemit.png" id="steemify" /><img
src="/src/img/platform-logos/utopian.png" id="utopify" /><img src="src/img/platform-logos/busy.png"
id="busyfy" /><img src="/src/img/platform-logos/steemd.png" id="steemdify"
/>
</div>
</div>
<script src="vendor/sc2.min.js"></script>
<script src="vendor/jquery.js"></script>
<script src="vendor/steemjs.js"></script>
<script src="popup.js"></script>
</body>
</html>