-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (156 loc) · 5.41 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
161
162
163
164
165
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DOTOWIKI</title>
</head>
<body>
<style>
@import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
body {
padding: 30px 0px 60px;
}
.panel > .list-group .list-group-item:first-child {
/*border-top: 1px solid rgb(204, 204, 204);*/
}
@media (max-width: 767px) {
.visible-xs {
display: inline-block !important;
}
.block {
display: block !important;
width: 100%;
height: 1px !important;
}
}
.c-search > .form-control {
border-radius: 0px;
border-width: 0px;
border-bottom-width: 1px;
font-size: 1.3em;
padding: 12px 12px;
height: 44px;
outline: none !important;
}
.c-search > .form-control:focus {
outline:0px !important;
-webkit-appearance:none;
box-shadow: none;
}
.c-search > .input-group-btn .btn {
border-radius: 0px;
border-width: 0px;
border-left-width: 1px;
border-bottom-width: 1px;
height: 44px;
}
.c-search > .input-group-btn .btn > span {
width: 19px;
}
.c-list {
padding: 0px;
min-height: 44px;
}
.title {
display: inline-block;
font-size: 1.7em;
font-weight: bold;
padding: 5px 15px;
}
ul.c-controls {
list-style: none;
margin: 0px;
min-height: 44px;
}
ul.c-controls li {
margin-top: 8px;
float: left;
}
ul.c-controls li a {
font-size: 1.7em;
padding: 11px 10px 6px;
}
ul.c-controls li a i {
min-width: 24px;
text-align: center;
}
ul.c-controls li a:hover {
background-color: rgba(51, 51, 51, 0.2);
}
.c-toggle {
font-size: 1.7em;
}
.name {
font-size: 1.2em;
font-weight: 700;
}
.c-info {
padding: 5px 10px;
font-size: 1.25em;
}
</style>
<script src="/build/bundle.js"></script>
<script id="list-group-item-template" type="text/template">
<div class="col-xs-12 col-sm-3">
<img src="<%= icon_url %>" alt="<%= localized_name %>" class="img-responsive img-rounded" />
</div>
<div class="col-xs-12 col-sm-9">
<span class="name"><%= localized_name %></span>
</div>
<div class="clearfix"></div>
</script>
<script id="list-group-ability-template" type="text/template">
<img class="img-rounded" src="<%= icon_url %>"/><span><%= full_name %></span>
</script>
<script id="hero-detail-template" type="text/template">
<button type="button" class="btn btn-default btn-close">Close</button>
<div><%= localized_name %></div>
<div><img src="<%= portrait_url %>"/></div>
<div class="hero-abilities"></div>
</script>
<script id="item-detail-template" type="text/template">
<button type="button" class="btn btn-default btn-close">Close</button>
<div><%= localized_name %></div>
<div><img src="<%= portrait_url %>"/></div>
<div>Cost: <%= cost %> gold</div>
</script>
<script id="ability-detail-template" type="text/template">
<button type="button" class="btn btn-default btn-close">Close</button>
<div><%= full_name %></div>
<div><img src="<%= portrait_url %>"/></div>
<div><%= description %></div>
</script>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-offset-3 col-sm-6">
<div class="panel panel-default" id="main-panel">
<div class="panel-heading c-list">
<div class="title btn-group">
<select class="form-control">
<option>Hero</option>
<option>Item</option>
</select>
</div>
<ul class="pull-right c-controls">
<li><a href="#" class="hide-search" data-command="toggle-search" data-toggle="tooltip" data-placement="top" title="Toggle Search"><i class="fa fa-ellipsis-v"></i></a></li>
</ul>
</div>
<div class="row" style="display: none;">
<div class="col-xs-12">
<div class="input-group c-search">
<input type="text" class="form-control" id="contact-list-search">
<span class="input-group-btn">
<button class="btn btn-default" type="button"><span class="glyphicon glyphicon-search text-muted"></span></button>
</span>
</div>
</div>
</div>
</div>
<div class="panel panel-default" id="detail-panel" style="display: none">
</div>
</div>
</div>
</div>
</body>
</html>