Skip to content

Commit 1ec0992

Browse files
committed
WIP: Create pipeline
1 parent a1b0eb4 commit 1ec0992

File tree

3 files changed

+76
-32
lines changed

3 files changed

+76
-32
lines changed

frontend/client/App.vue

+34
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,42 @@ html {
9797
}
9898
}
9999
100+
.button {
101+
background-color: #4da2fc !important;
102+
font-weight: bold;
103+
border-color: transparent;
104+
color: whitesmoke;
105+
}
106+
107+
.button:hover, .button:active, .button:focus {
108+
color: whitesmoke;
109+
border-color: transparent;
110+
}
111+
100112
.content-article {
101113
color: whitesmoke;
102114
background-color: #3f3d49;
103115
}
116+
117+
.content-article label {
118+
color: whitesmoke;
119+
font-weight: normal;
120+
}
121+
122+
.input-bar {
123+
background-color: #19191b;
124+
color: white;
125+
border-color: #2a2735;
126+
}
127+
128+
.input-bar::-webkit-input-placeholder {
129+
color: #8c91a0;
130+
text-shadow: none;
131+
-webkit-text-fill-color: initial;
132+
}
133+
134+
.title-text {
135+
border-bottom: 1px solid;
136+
padding-bottom: 8px;
137+
}
104138
</style>

frontend/client/components/layout/Navbar.vue

+4-29
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<i class="fa fa-search fa-lg" aria-hidden="true"/>
88
</div>
99
<div>
10-
<input class="borderless-search" type="text" placeholder="Find a pipeline ..." v-model="search">
10+
<input class="borderless-search" type="text" placeholder="Find pipeline ..." v-model="search">
1111
</div>
1212
<div class="navbar-button">
13-
<a class="button create-pipeline-button" @click="createPipeline">
13+
<a class="button" @click="createPipeline">
1414
<span class="icon">
1515
<i class="fa fa-plus"></i>
1616
</span>
@@ -46,15 +46,15 @@
4646
<div class="block login-modal-content">
4747
<div class="login-modal-content">
4848
<p class="control has-icons-left">
49-
<input class="input is-large login-input" v-focus type="text" v-model="username" @keyup.enter="login" placeholder="Username">
49+
<input class="input is-large input-bar" v-focus type="text" v-model="username" @keyup.enter="login" placeholder="Username">
5050
<span class="icon is-small is-left">
5151
<i class="fa fa-user-circle"></i>
5252
</span>
5353
</p>
5454
</div>
5555
<div class="login-modal-content">
5656
<p class="control has-icons-left">
57-
<input class="input is-large login-input" type="password" @keyup.enter="login" v-model="password" placeholder="Password">
57+
<input class="input is-large input-bar" type="password" @keyup.enter="login" v-model="password" placeholder="Password">
5858
<span class="icon is-small is-left">
5959
<i class="fa fa-lock"></i>
6060
</span>
@@ -165,18 +165,6 @@ export default {
165165

166166
<style lang="scss">
167167
168-
.create-pipeline-button {
169-
background-color: #4da2fc !important;
170-
font-weight: bold;
171-
border-color: transparent;
172-
color: whitesmoke;
173-
}
174-
175-
.create-pipeline-button:hover, .create-pipeline-button:active, .create-pipeline-button:focus {
176-
color: whitesmoke;
177-
border-color: transparent;
178-
}
179-
180168
.navbar-button {
181169
padding-top: 17px;
182170
}
@@ -219,20 +207,7 @@ export default {
219207
padding: 10px;
220208
}
221209
222-
.login-input {
223-
background-color: #3f3d49;
224-
color: white;
225-
border-color: #2a2735;
226-
}
227-
228-
.login-input::-webkit-input-placeholder {
229-
color: #8c91a0;
230-
text-shadow: none;
231-
-webkit-text-fill-color: initial;
232-
}
233-
234210
.login-button {
235-
background-color: #4da2fc !important;
236211
width: 150px;
237212
height: 50px;
238213
}

frontend/client/views/pipelines/create.vue

+38-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,47 @@
11
<template>
22
<div class="tile is-ancestor">
3-
<div class="tile is-vertical is-3">
3+
<div class="tile is-vertical is-5">
44
<div class="tile">
55
<div class="tile is-parent is-vertical">
66
<article class="tile is-child notification content-article">
7-
<p class="subtitle">From Git repository</p>
7+
<p class="title title-text">Compile from source</p>
88
<div class="content">
9-
9+
<label class="label">Copy the link of your <strong>git repo</strong> here.</label>
10+
<p class="control has-icons-left">
11+
<input class="input is-medium input-bar" v-focus type="text" placeholder="Link to git repo ...">
12+
<span class="icon is-small is-left">
13+
<i class="fa fa-git"></i>
14+
</span>
15+
</p>
16+
<p class="control">
17+
<a class="button">
18+
<span class="icon">
19+
<i class="fa fa-github"></i>
20+
</span>
21+
<span>Add credentials</span>
22+
</a>
23+
<a class="button" style="margin-left: 20px;">
24+
<span class="icon">
25+
<i class="fa fa-github"></i>
26+
</span>
27+
<span>Add private key</span>
28+
</a>
29+
</p>
30+
<hr>
31+
<label class="label">Type the name of your pipeline. You can put your pipelines into folders by defining a path. For example <strong>MyFolder/MyAwesomePipeline</strong>.</label>
32+
<p class="control has-icons-left">
33+
<input class="input is-medium input-bar" type="text" placeholder="Pipeline name ...">
34+
<span class="icon is-small is-left">
35+
<i class="fa fa-book"></i>
36+
</span>
37+
</p>
38+
<hr>
39+
<a class="button">
40+
<span class="icon">
41+
<i class="fa fa-plus"></i>
42+
</span>
43+
<span>Create Pipeline</span>
44+
</a>
1045
</div>
1146
</article>
1247
</div>

0 commit comments

Comments
 (0)