This repository has been archived by the owner on Dec 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathathletics.html
53 lines (53 loc) · 2.07 KB
/
athletics.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href = "assets/css/bootstrap.min.css">
<link rel="stylesheet" href = "assets/css/font-awesome.min.css">
<link rel = "stylesheet" href = "css/global.css">
<script src = "assets/js/jquery.js" onload = "window.$ = window.jQuery = module.exports;"></script>
<script src = "assets/js/bootstrap.js"></script>
<script src = "assets/js/vue.js"></script>
<script src = "js/globals.js"></script>
<script src = "js/jumpstart.js" defer></script>
<title>Editor</title>
</head>
<body>
<div id = "main">
<navbar preview-page = "extracurriculars#sports"></navbar>
<div class = "container-fluid">
<json-form page = "extracurriculars">
<json-string name = "Section Name" path = "['athletics']['name']"></json-string>
<json-string name = "Section Lead" path = "['athletics']['lead']"></json-string>
<h1>Resources</h1>
<json-table
name = "Links"
path = "['athletics']['links']"
:columns = "['name', 'description', 'link']">
</json-table>
<h1>Seasons</h1>
<json-repeat path = "['athletics']['seasons']">
<template scope = "parent">
<json-string name = "Name" :path = "`['athletics']['seasons'][${parent.index}]['name']`"></json-string>
<json-repeat name = "Sports" :path = "`['athletics']['seasons'][${parent.index}]['sports']`">
<template scope = "subparent">
<json-string name = "Name" :path = "`['athletics']['seasons'][${parent.index}]['sports'][${subparent.index}]['name']`"></json-string>
<json-table
name = "Coaches"
:path = "`['athletics']['seasons'][${parent.index}]['sports'][${subparent.index}]['coaches']`"
:columns = "['name', 'league']">
</json-table>
<json-table
name = "Schedules"
:path = "`['athletics']['seasons'][${parent.index}]['sports'][${subparent.index}]['schedules']`"
help = "Nav should be a URL."
:columns = "['name', 'nav']">
</json-table>
</template>
</json-repeat>
</template>
</json-repeat>
</json-form>
</div>
</div>
</body>
</html>