-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (41 loc) · 2.48 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
<html>
<head>
</head>
<body>
<div id="app">
<div style="margin-bottom: 16px; ">
<search-box :tree="tree" @selected="selectFound($event)"></search-box>
</div>
<div>
<tree-item :i="tree" :indent=0 :debriefs="debriefs" :symbols="symbols" :collapsed="collapsed" :selected="selected"
@expanded="$set(collapsed, $event.id, false)" @collapsed="$set(collapsed, $event.id, true)"></tree-item>
</div>
<div style="margin-top: 20px; position: relative; display: inline-block; " @focusout="hideAddMenu()">
<button class="matter-button-contained round" @click="showAddMenu=true">+</button>
<div v-if="showAddMenu" class="ctx-menu" style="position: absolute; bottom: 70%; left: 70%; min-width: 150px; ">
<div class="link" @click="$refs.addItem.showAdd()">Add sub-item</div>
<div class="link" @click="$refs.addDebrief.showAdd()">Add debrief</div>
</div>
<add-item ref="addItem" :tree="tree"></add-item>
<add-debrief ref="addDebrief" :tree="tree" :debriefs="debriefs"></add-debrief>
</div>
</div>
<hr>
<p><small>License: MIT - <a href="https://github.com/sebastianrothbucher/debriefit/">Code & Details</a></small></p>
<!-- dependencies for both offline and online (whoever wins)-->
<link rel="stylesheet" type="text/css" href="lib/matter.css"/>
<link rel="stylesheet" type="text/css" href="https://res.cloudinary.com/finnhvman/raw/upload/matter/matter-0.2.2.css"/>
<link rel="stylesheet" type="text/css" href="index.css"/>
<script src="lib/lodash.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.js"></script>
<script src="node_modules/vue/dist/vue.js"></script>
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<script src="node_modules/http-vue-loader/src/httpVueLoader.js"></script>
<script src="https://unpkg.com/[email protected]/src/httpVueLoader.js"></script>
<script src="node_modules/vuex/dist/vuex.js"></script>
<script src="https://unpkg.com/[email protected]/dist/vuex.js"></script>
<script src="node_modules/vuex-persist/dist/umd/index.js"></script>
<script src="https://unpkg.com/[email protected]/dist/umd/index.js"></script>
<script src="index.js"></script>
</body>
</html>