-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·160 lines (142 loc) · 5.6 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>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Tricktionary Admin</title>
<meta name="robots" content="noindex, nofollow">
<meta name="theme-color" content="#fe3500">
<link rel="icon" href="https://v1.the-tricktionary.com/static/img/icon.png">
<link rel="apple-touch-icon" href="https://v1.the-tricktionary.com/static/img/icon-ios.png">
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script defer src="https://the-tricktionary.com/__/firebase/7.15.5/firebase-app.js"></script>
<script defer src="https://the-tricktionary.com/__/firebase/7.15.5/firebase-auth.js"></script>
<script defer src="https://the-tricktionary.com/__/firebase/7.15.5/firebase-firestore.js"></script>
<!-- Initialize Firebase -->
<script defer src="https://the-tricktionary.com/__/firebase/init.js"></script>
<script defer src="/index.js"></script>
</head>
<body>
<v-app id="app">
<v-navigation-drawer
v-model="drawer"
app
>
<v-list>
<v-list-item link href="/" :input-value="true">
<v-list-item-icon>
<v-icon>mdi-home</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Home</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item link href="/tricks">
<v-list-item-icon>
<v-icon>mdi-jump-rope</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Edit Tricks</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item link href="/shop">
<v-list-item-icon>
<v-icon>mdi-cart</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Shop</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item></v-list-item>
<v-subheader>DEPRECATED</v-subheader>
<v-list-item link href="/translate">
<v-list-item-icon>
<v-icon>mdi-translate</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Translate</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item link href="/contact">
<v-list-item-icon>
<v-icon>mdi-forum</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Contact</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
<template v-slot:append>
<v-divider></v-divider>
<v-list>
<v-list-item link @click="logout()">
<v-list-item-icon>
<v-icon>mdi-logout</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Log Out</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
</template>
</v-navigation-drawer>
<v-app-bar
app
color="primary"
dark
>
<v-app-bar-nav-icon @click.stop="drawer = !drawer"></v-app-bar-nav-icon>
<v-toolbar-title>the Tricktionary Admin</v-toolbar-title>
</v-app-bar>
<v-dialog :value="authDialog !== 'authed'" persistent max-width="290">
<v-card :loading="authDialog === 'unchecked'">
<v-card-title class="headline">Auth</v-card-title>
<v-card-text v-if="authDialog === 'notadmin'">
You don't have permissions to view this page
</v-card-text>
<v-card-actions v-if="authDialog !== 'notadmin' && authDialog === 'unchecked'">
<v-spacer></v-spacer>
<v-btn @click="login()" text><v-icon left>mdi-google</v-icon>Log In With Google</v-btn>
</v-card-actions>
<v-card-actions v-if="authDialog === 'notadmin'">
<v-spacer></v-spacer>
<v-btn @click="logout()" text>Log Out</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
<v-main>
<v-container>
<v-row>
<v-col cols="12" sm="6">
<v-card link href="/tricks">
<v-card-title>Edit Tricks</v-card-title>
</v-card>
</v-col>
<v-col cols="12" sm="6" class="mb-12">
<v-card link href="/shop">
<v-card-title>Shop</v-card-title>
</v-card>
</v-col>
<v-col cols="12" sm="6">
<v-card link href="/translate">
<v-card-title>v1 Translations</v-card-title>
<v-card-subtitle>Deprecated, kept because android</v-card-subtitle>
</v-card>
</v-col>
<v-col cols="12" sm="6">
<v-card link href="/contact">
<v-card-title>v1 Contact</v-card-title>
<v-card-subtitle>Deprecated, kept because not yet in v2</v-card-subtitle>
</v-card>
</v-col>
</v-row>
</v-container>
</v-main>
</v-app>