-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
76 lines (55 loc) · 3.38 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
<!DOCTYPE html>
<!-- canvas.toDataURL().split(",")[1]; -->
<html>
<head>
<script type="text/javascript" src="Codebird.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<style>
body {width: 300px;}
html {width: 300px;}
</style>
</head>
<body>
<main main role="main" class="container text-center py-3">
<div class="row">
<div class="col-sm">
<h5>TweetShot</h5>
</div>
</div>
<div class="row">
<div class="col-sm">
<div id="log_in">
<input type='text' placeholder="Copy the PIN here" class='form-control' id='PINFIELD'>
<button type='button' class='btn btn-primary' id='login_button'>Log in</button>
</div>
</div>
</div>
<div class="row" id="all_controls">
<div class="col-sm">
<div id="alert_space"></div>
<div class="form-group text-left " >
<label for="tweet_text">Tweet text:</label>
<textarea class="form-control" id="tweet_text" rows="3" maxlength="300"></textarea>
<!-- <div class="form-group mb-2 text-right"> -->
<input disabled maxlength="3" size="2" value="300" id="counter" class="float-right form-control-plaintext text-right text-secondary">
</div>
<div class="form-check text-left">
<input class="form-check-input" type="radio" value="" id="link_check">
<label class="form-check-label" style="margin-top:-15px" for="link_check">Include website link</label> <br/>
<span class="text-warning" id="lengthWarning"></span>
</div>
<div class="form-group mt-1">
<a class="btn btn-sm btn-outline-primary btn-block" type="button" id="testbutton" >Add screenshot</a>
<a type="button" class="btn btn-sm btn-primary btn-block" id="tweet_button">Tweet without screenshot</a>
<a type="button" class="btn btn-sm btn-outline-secondary btn-block" id="cancel_button">Cancel</a>
<a href="https://github.com/ikhovryak/TweetShot" class="text-secondary"><small>Learn more about TweetShot</small></a>
</div>
</div>
</div>
</main>
<script type="text/javascript" src="popup.js"></script>
<script src="jquery_slim_min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="popper_min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="bootstrap_min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
</body>
</html>