-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (114 loc) · 5.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>White rabbit</title>
<!--[if lte IE 9]>
<script src="web/js/ie.min.js"></script>
<![endif]-->
<link rel="shortcut icon" href="web/img/favicon.png" type="image/x-icon" />
<link rel="icon" href="web/img/favicon.png" type="image/x-icon" />
<link rel="apple-touch-icon" href="web/img/apple-touch-icon.png" />
<link rel="stylesheet" href="web/css/main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="robots" content="index,follow" />
<meta name="keywords" content="white, rabbit, neo, there, is, no, spoon" />
<meta name="description" content="What do all men with power want? More power." />
<!-- FB graph tags -->
<meta property="og:url" content="http://wr.thealexweb.net/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="White rabbit" />
<meta property="og:description" content="What do all men with power want? More power." />
<meta property="og:image" content="web/img/some_logo.jpg" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@whiterabbit" />
<meta name="twitter:title" content="White rabbit" />
<meta name="twitter:description" content="What do all men with power want? More power." />
<meta name="twitter:image" content="web/img/some_logo.jpg" />
</head>
<body>
<noscript>
<div class="no-script">
Matrix opens for only JS supplied user
</div>
</noscript>
<div class="main">
<div class="container">
<div class="row">
<div class="col-8">
<div id="whiteRabbit">
<div id="whiteRabbitCards" class="white-rabbit__cards"></div>
<div id="whiteRabbitDetails" class="white-rabbit__details"></div>
</div>
</div>
<div class="col-4 menu__wrapper">
<div class="menu">
<div class="menu__inner">
<div class="menu__item active" data-mode="defaultTemplate">
<div class="menu__item__title text-lg-1">
Vertical 'side-bar' mode
</div>
<div class="menu__item__content">
<div class="menu__item__content__container text-gray">
<p class="pb-12">
* Scroll inside of the cards-bar.
</p>
<p class="pb-12">
* Click on cards to see details.
</p>
<p class="pb-12">
That mode emulates 'side-bar' widget with opening separate 'details' block.
</p>
<p class="pb-12">
Review title 'cutted' to show less than 40 characters. If applied we add '...' on the line end.
</p>
<p class="pb-12">
If review body is too long we hide it with gradined cover-block.
<br />
Added an util to show line brakes. Try to open 'Erika Wolfe' details.
</p>
<p>
There are fallbacks for all empty fields, check the last card.
</p>
</div>
</div>
</div>
<div class="menu__item" data-mode="responsiveTemplate">
<div class="menu__item__title text-lg-1">
'Responsive columns' mode
</div>
<div class="menu__item__content">
<div class="menu__item__content__container text-gray">
<p class="pb-12">
* Cards auto sorted by js for two columns for >992px devises.
</p>
<p class="pb-12">
* Try to resize browser window.
</p>
<p>
We got json object via ajax request on page loading and reuse it to rebuild cards and show 'details' block.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="details">
<h2 class="pb-12">
This app emulates two view modes for the widgets.
</h2>
<p class="text-md-2 pb-12">
* Feel free to use menu panels on the right side.
</p>
</div>
</div>
<script src="web/js/vendors.js"></script>
<script src="web/js/main.js"></script>
</body>
</html>