-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
96 lines (92 loc) · 3.99 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
<!DOCTYPE html>
<html>
<head>
<title>Emoji History</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/material-components-web.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/history.css">
</head>
<body>
<header class="mdc-top-app-bar app-bar mdc-theme--surface" id="app-bar">
<div class="mdc-top-app-bar__row">
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
<h1 class="mdc-top-app-bar__title mdc-theme--primary">Android Fonts</h1>
</section>
<nav class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" role="toolbar">
<a href="./" class="mdc-top-app-bar__action-item mdc-button navigation-tab navigation-tab--active">
History
</a>
<a href="./emoji.html" class="mdc-top-app-bar__action-item mdc-button navigation-tab">
Emoji Search
</a>
</nav>
</div>
</header>
<main class="mdc-top-app-bar--fixed-adjust" id="app">
<div class="center">
<div class="mdc-layout-grid">
<div class="mdc-layout-grid__inner">
<div class="card mdc-card mdc-layout-grid__cell--span-12">
<h2 class="mdc-typography--headline5">Font Size History</h2>
<div class="mdc-layout-grid">
<div class="mdc-layout-grid__inner">
<img src="size_total.png" class="mdc-layout-grid__cell mdc-layout-grid__cell--span-6"/>
<img src="size_change.png" class="mdc-layout-grid__cell mdc-layout-grid__cell--span-6"/>
</div>
</div>
</div>
<template v-for="api_level in api_levels">
<div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-4">
<div class="apk-level card mdc-card">
<h2 class="mdc-typography--headline5">
{{api_level.name}}
({{api_level.version}}, API {{api_level.api_level}})
</h2>
<div class="font-summary">
<h3 class="mdc-typography--headline6">Fonts</h3>
<div class="mdc-chip mdc-chip--disabled">
{{api_level.fonts.size_MB | fixed(1)}} MB
({{api_level.fonts.delta_size_MB | delta(1)}} MB)
</div>
<div class="mdc-chip mdc-chip--disabled">
{{api_level.fonts.num_files}} files
</div>
</div>
<div class="emoji-summary">
<h3 class="mdc-typography--headline6">Emoji</h3>
<div v-if="api_level.emoji.supported > 0">
<p>
<a v-bind:href="emoji_url('api:' + api_level.api_level)">{{api_level.emoji.supported}} sequences</a>
(<a v-bind:href="emoji_url('api_added:' + api_level.api_level)">{{api_level.emoji.delta | delta(0)}}</a>)
</p>
</div>
<div class="mdc-data-table">
<table class="mdc-data-table__table">
<thead>
<tr class="mdc-data-table__header-row">
<th class="mdc-data-table__header-cell">Version</th>
<th class="mdc-data-table__header-cell">Sequences</th>
</tr>
</thead>
<tbody class="mdc-data-table__content">
<tr class="mdc-data-table__row" v-for="emoji in api_level.emoji.by_level">
<td class="mdc-data-table__cell">Emoji {{emoji.emoji_level | fixed(1)}}</td>
<td class="mdc-data-table__cell">{{emoji.supported}} / {{emoji.total}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</template>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="scripts.js"></script>
<script>
const vm = indexVue();
</script>
</body>
</html>