-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (120 loc) · 4.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>PL Test</title>
</head>
<body>
<div class="language-selector">
<div class="language-selector__button">
<input class="language-selector__radio" type="radio" name="lang" id="lang_en" value="en">
<label class="language-selector__label" for="lang_en">EN</label>
</div>
<div class="language-selector__button">
<input class="language-selector__radio" type="radio" name="lang" id="lang_es" value="es">
<label class="language-selector__label" for="lang_es">ES</label>
</div>
</div>
<section class="content">
<div class="widget-container">
<ul class="linear-menu">
</ul>
</div>
<div class="widget-container">
<section class="profile-edit">
<header class="profile-edit__heading">
</header>
<div class="profile-edit__menu">
<ul class="profile-edit__list">
</ul>
</div>
</section>
</div>
<div class="widget-container">
<section class="stats">
<ul class="stats__tabs"></ul>
<div class="stats__diagram-tab"></div>
</section>
</div>
<div class="widget-container">
<section class="promo">
<div class="promo__banner">
<p class="promo__text">sale</p>
<p class="promo__offer">20%</p>
</div>
</section>
</div>
</section>
<script type="text/x-handlebars-template" class="linear-menu--template">
{{#each items}}
<li class="linear-menu__item" id="{{ url }}">
<a href="#{{ url }}" class="linear-menu__link">
<i class="linear-menu__icon material-icons">{{ icon }}</i>
<p class="linear-menu__text">{{ text }}</p>
{{#if notifications }}
<div class="linear-menu__notification">
<span class="linear-menu__notification-number">{{ notifications }}</span>
</div>
{{/if}}
</a>
</li>
{{/each}}
</script>
<script type="text/x-template" class="profile-edit__heading--template">
<div class="profile-edit__heading">
<div class="profile-edit__picture">
<img src="{{ image }}" alt="">
</div>
<div class="profile-edit__information">
<h4 class="profile-edit__name">{{ name }}</h4>
<p class="profile-edit__followers">{{ followersQty }} {{ followers }}</p>
</div>
</div>
</script>
<script type="text/x-template" class="profile-edit__list--template">
<li class="profile-edit__menu-item">
<p class="profile-edit__action">{{ text }}</p>
<i class="profile-edit__icon icon material-icons">{{ icon }}</i>
</li>
</script>
<script type="text/x-handlebars-template" class="stats__tabs--template">
{{#each tabs}}
<li class="stats__tab {{#if default}}stats__tab--active{{/if}}">{{ title }}</li>
{{/each}}
</script>
<script type="text/x-handlebars-template" class="stats__diagram-tab--template">
<div class="stats__graph">
<h3 class="stats__graph-heading">{{ graphTitle }}</h3>
<div class="stats__total">
<p class="stats__files">{{ files }} files</p>
<p class="stats__size">{{ size }} gb</p>
</div>
<canvas id="stats-graph" width="400"></canvas>
</div>
<div class="stats__description grid-3-col">
{{#each data}}
<div class="stats__file-description stats__file-description--{{ this.color }}">
<p class="stats__file-type">{{ @key }}</p>
<p class="stats__percentage">{{ this.value }}%</p>
</div>
{{/each}}
</div>
<footer class="stats__actions grid-3-col">
{{#each ctas}}
<div class="stats__cta">
<i class="stats__cta-icon material-icons">{{ icon }}</i>
<p class="stats__cta-text">{{ text }}</p>
</div>
{{/each}}
</footer>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>