-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
110 lines (95 loc) · 2.63 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<base target="_parent">
<!-- Default styles of dashboard widgets -->
<link rel="stylesheet" type="text/css" href="https://unpkg.com/hub-dashboard-addons@latest/dashboard.css">
<!-- Include dashboard connector from CDN -->
<script src="https://unpkg.com/hub-dashboard-addons@latest"></script>
<!-- Syntax highlighting for code blocks -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<style>
html {
height: 100%
}
pre.prettyprint {
border: none !important;
}
a {
text-decoration: none;
color: rgb(57, 115, 157);
}
img {
max-width: 100%;
}
h2 {
display: inline-block;
height: 100%;
vertical-align: middle;
margin-top: 0;
margin-bottom: 0;
}
.widgetBody {
height: calc(100% - 32px);
padding-top: 0;
}
.soFeed {
height: 100%;
width: 100%;
}
.soQuestion {
padding-top: 15px;
padding-bottom: 10px;
}
.soTag {
background-color: rgb(225, 236, 244);
color: rgb(57, 115, 157);
margin-right: 5px;
padding: 5px;
}
.soStats {
background-color: #eeeeee;
margin-right: 5px;
padding: 5px;
}
.soAnswered {
background-color: #ccffcc;
margin-right: 5px;
padding: 5px;
}
.soAvatar {
width: 26px;
vertical-align: middle;
}
.soInput {
float: right;
}
.soInput {
width: 100%;
margin-top: 10px;
}
.soButton {
margin-right: 10px;
margin-top: 10px;
}
.soLoader {
margin-left: 25px;
margin-top: 25px;
}
</style>
</head>
<body class="widgetBody">
<div id="soSettings" hidden="true">
<div><input type='text' id='soTitle' class="soInput" placeholder='Optional title'></div>
<div><input type='text' id='soTags' class="soInput" placeholder='Stack Overflow tags, space separated'></div>
<div>
<input type='button' id='save' class="soButton" value='Save'>
<input type='button' id='cancel' class="soButton" value='Cancel'>
</div>
</div>
<div id="soFeed" class="soFeed"></div>
<script src="loader.js"></script>
<script src="index.js"></script>
</body>
</html>