-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
116 lines (106 loc) · 4.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ftployin</title>
<link rel="stylesheet" href="assets/css/app.min.css">
</head>
<body>
<div id="app">
<div class="ui window-title drag-region">{{ title }}</div>
<div class="ui window-body">
<div class="cols full-height">
<div id="aside" class="col-3 no-padding">
<div class="ui text sub upper purple bold title-sidebar">
<div class="ui search">
<input type="text" v-model="search" placeholder="Projects" />
<button :class="{ filled: search }">
<i class="ui icon" :class="{'icon-times': search, 'icon-search': !search }" @click="search = ''"></i>
</button>
</div>
</div>
<ul class="ui nav">
<li
class="nav-item"
v-for="project in searchList"
v-bind:class="{selected: project.selected}"
@click="selectProject(project)"
>
<span>{{ project.name }}</span>
</li>
</ul>
<div class="footer">
<button class="ui btn green" v-on:click="addProject()">add project</button>
</div>
</div>
<div class="col-9 ui bg white-opacity no-padding" :class="{welcome: !currentProject}">
<div v-if="currentProject" >
<h1 class="ui">
{{ currentProject.name }}
<button class="ui btn gray float right inverse" title="remove project" @click="removeProject(currentProject)">
<i class="icon icon-trash"></i>
</button>
</h1>
<div class="info padding-h-16 lh-24 bg-white-opacity">
<span class="ui text green sub">
<i class="icon icon-folder-open"></i>
{{ currentProject.path }}
</span>
</div>
<div class="padding-h-16 ">
<div class="cols envs-title border bottom lh-24">
<div class="col-11 no-padding">
<span class="ui text upper sub bold gray no-margin ">Enviroments</span>
</div>
<div class="col-1 no-padding">
<button class="ui btn small yellow" @click="addEnv()">
<i class="icon icon-plus"></i> env
</button>
</div>
</div>
</div>
<div class="padding-h-16">
<div class="env-list">
<div class="env-list-item cols" v-for="env in currentProject.envs">
<div class="col-10 no-padding">
<span class="ui text cyan sub">
<i class="icon icon-cube"></i>
{{ env.name }}
</span>
</div>
<div class="col-2 no-padding">
<div class="cols actions">
<div class="col-4">
<button class="ui btn small cyan" @click="editEnv(env)">
<i class="ui icon icon-edit"></i>
</button>
</div>
<div class="col-4">
<button class="ui btn small pink" @click="deleteEnv(env)">
<i class="ui icon icon-trash"></i>
</button>
</div>
<div class="col-4">
<button class="ui btn small green" @click="deploy(currentProject.path, env)">
<i class="ui icon icon-cloud-upload"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ui alert" :class="[{active: alert}, alertColor]" id="boxAlert" ref="boxAlert">
{{ alertDialog }}
</div>
</div>
</div>
</div>
</div>
<script src="assets/js/vue.min.js"></script>
<script src="src/js/ui/tabs.js"></script>
<script src="src/js/ui/code-editor.js"></script>
<script src="src/js/app.js"></script>
</body>
</html>