-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
72 lines (54 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>Medallion test page</title>
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 200;
width: 800px;
margin: auto;
}
h1,h2,h3,h4,h5,h6 {
color: #666;
}
h1 {
border-bottom: 1px solid #ddd;
}
a {
color: #d0a;
}
.jam-inactive a { color: gray; }
a img { border: none; }
.jam-loading:after {
content: "Loading...";
color: gray;
}
</style>
</head>
<body>
<script>
var activeUsername = 'aanand';
var inactiveUsername = 'aanandtest';
</script>
<h1>Default</h1>
<script src="medallion.js"></script>
<script>Jam.Medallion.insert({username: activeUsername});</script>
<h1>Text only</h1>
<script src="medallion.js"></script>
<script>Jam.Medallion.insert({username: activeUsername, text: true, image: false});</script>
<h1>Image only</h1>
<h2>Small (default)</h2>
<script src="medallion.js"></script>
<script>Jam.Medallion.insert({username: activeUsername, text: false, image: true});</script>
<h2>Medium</h2>
<script src="medallion.js"></script>
<script>Jam.Medallion.insert({username: activeUsername, text: false, image: true, imageSize: 'medium'});</script>
<h2>Large</h2>
<script src="medallion.js"></script>
<script>Jam.Medallion.insert({username: activeUsername, text: false, image: true, imageSize: 'large'});</script>
<h1>Inactive jam</h1>
<script src="medallion.js"></script>
<script>Jam.Medallion.insert({username: inactiveUsername});</script>
</body>
</html>