forked from winterlightning/Tarot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
160 lines (137 loc) · 5.37 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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Tarot</title>
<link type="text/css" rel="stylesheet" href="css/layout.css" />
<link type="text/css" rel="stylesheet" href="css/application.css" />
<link type="text/css" rel="stylesheet" href="css/bootstrap.css" />
<style type="text/css">
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: auto; /* when page gets too small for container min-width/height */
background-color:transparent;
}
#container {
min-height: 300px;
min-width: 600px;
position: absolute;
top: 0px; /* margins in pixels */
bottom: 0px; /* could also use a percent */
left: 0px;
right: 0px;
}
.pane {
display: none; /* will appear when layout inits */
}
.ui-layout-center {
background: url('css/images/bamboo1_tile.jpg') !important;
}
</style>
<script type="text/javascript" src="javascripts/jquery-1.6.min.js"></script>
<script type="text/javascript" src="javascripts/jquery.ui.1.8.10.min.js"></script>
<script type="text/javascript" src="javascripts/jquery.layout-latest.js"></script>
<!--notification stuff -->
<link type="text/css" rel="stylesheet" href="css/ui.notify.css">
<script src="javascripts/jquery.notify.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#container').layout({
applyDefaultStyles: false,
west: {
resizable: true,
collapsable: false,
size: 250
},
});
$container = $("#notifications").notify();
});
</script>
<script src="lib/json2.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/jquery.tmpl.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/jquery.link.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spine.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spine.list.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spine.model.local.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spine.model.filter.js" type="text/javascript" charset="utf-8"></script>
<script src="app/utils.js" type="text/javascript" charset="utf-8"></script>
<script src="app/models/card.js" type="text/javascript" charset="utf-8"></script>
<script src="app/controllers/sidebarcards.js" type="text/javascript" charset="utf-8"></script>
<script src="app/controllers/cards.js" type="text/javascript" charset="utf-8"></script>
<script src="app/application.js" type="text/javascript" charset="utf-8"></script>
<script type="text/x-jquery-tmpl" id="cardsTemplate">
<li class="item">
<img src="${image}" />
{{if name}}
<span class="name">${name}</span>
{{else}}
<span class="name empty">No Name</span>
{{/if}}
</li>
</script>
<script type="text/x-jquery-tmpl" id="cardTemplate">
<img src="${image}" class="cardimage" style="width: 300px; padding: 10px; background-color: #eee; margin: 10px; -webkit-border-radius: 7px; -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); position: absolute; top: 10px;" />
<div class="description" style="background-color: #000; Opacity: 0.7; color: #eee; margin: 10px; padding: 3px 15px; -webkit-border-radius: 7px; -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); margin-left: 350px; margin-top: 20px;">
<div class="page-header" style="margin-top: 8px"><h1 style="color: #eee; font-weight: normal">${name}</h1></div>
<p>${description}</p>
</div>
<div class="interpretation" style="background-color: #000; Opacity: 0.7; color: #eee; margin: 10px; padding: 3px 15px; -webkit-border-radius: 7px; -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3); margin-left: 350px; margin-top: 20px;">
<div class="page-header" style="margin-top: 8px"><h1 style="color: #eee; font-weight: normal">Interpretation</h1></div>
<p>${interpretation}</p>
</div>
</script>
</head>
<body>
<div id="container">
<div class="pane ui-layout-center" style="">
<div id="contacts"></div>
</div>
<div class="pane ui-layout-west">
<div id="sidebar">
<div class="search">
<input type="search" placeholder="Search" results="0" incremental="true" autofocus>
</div>
<ul class="items">
</ul>
<footer>
<!-- <ul class="pills">
<li class="active"><a href="#">M</a></li>
<li><a href="#">W</a></li>
<li><a href="#">P</a></li>
<li><a href="#">C</a></li>
<li><a href="#">S</a></li>
</ul> -->
</footer>
</div>
</div>
<!--- container to hold notifications, and default templates --->
<div id="notifications" style="display:none">
<div id="default">
<h1>#{title}</h1>
<p>#{text}</p>
</div>
<div id="sticky">
<a class="ui-notify-close ui-notify-cross" href="#">x</a>
<h1>#{title}</h1>
<p>#{text}</p>
</div>
<div id="withIcon">
<a class="ui-notify-close ui-notify-cross" href="#">x</a>
<div style="float:left;margin:0 10px 0 0"><img src="#{icon}" alt="warning" /></div>
<h1>#{title}</h1>
<p>#{text}</p>
</div>
<div id="buttons">
<h1>#{title}</h1>
<p>#{text}</p>
<p style="margin-top:10px;text-align:center">
<input type="button" class="confirm" value="Close Dialog" />
</p>
</div>
</div>
</div>
</body>
</html>