forked from Decentricity/myriad-importer-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.old
118 lines (105 loc) · 2.36 KB
/
popup.old
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
<!DOCTYPE html>
<html>
<head>
<style>
@import url('https://fonts.googleapis.com/css?family=Mulish&display=swap');
body {
width: 300px;
height: 1000px;
color: #f6f7fc;
font-family: "Mulish";
text-align: center;
}
button {
display: inline-box;
width: 167px;
border-radius: 5px;
background-color: #7342cc;
color: #FFFFFF;
border: none;
padding-top: 5px;
padding-bottom: 5px;
}
input{
width: 160px;
border-radius: 5px;
margin-bottom: 5px;
padding-top: 3px;
padding-bottom: 3px;
text-align: center;
}
h1 {
color: #7342cc;
font-size: 95%;
}
#logo{
width: auto;
height: auto;
margin: auto;
text-align: center;
}
#logo img{
width: 50px;
}
.card{
width: 200px;
margin: 0 auto;
padding-top: 20px;
padding-bottom: 20px;
background-color: #FFFFFF;
border-radius: 5px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
text-align: center;
}
.message{
width: 167px;
margin: auto auto 20px auto;
padding: 3px;
background-color: #ffd24d;
border-radius: 5px;
color: #000000;
font-size: 75%;
}
.item{
margin-bottom: 20px;
}
#post_content {
width: 90%;
margin: 0 auto;
display: block;
text-align: left;
white-space: pre-wrap;
}
</style>
<script src="popup.js"></script>
</head>
<body>
<div id="logo"><img src="myriadlogo48.png"></div>
<h1>Myriad Social Extension</h1>
<div class="card">
<div id="prelogin" class="message">
Log-in by inputing your e-mail address, and copy the link you will receive into the 'magic link' field.
Don't forget to check your spam box!
</div>
<div id="contextof" class="message">
_
</div>
<div id="emailfield" class="item">
<input id="email" type="text" placeholder="Enter your Myriad email">
<button id="send_magic_link">Send Magic Link</button>
</div>
<div id="magiclink" class="item">
<input id="magic_link" type="text" placeholder="Enter the magic link here">
<button id="submit_magic_link">Submit Magic Link</button>
</div>
</div>
<div id="post">
<button id="write_post_button">Write Post</button>
<textarea id="post_content" style="display: none;"></textarea>
<button id="submit_post_button" style="display: none;">Post</button>
</div>
<div id="import">
<button id="import_post">Import Post</button>
</div>
</body>
</html>