Skip to content

Commit

Permalink
Added extra message for user if no pipelines are available
Browse files Browse the repository at this point in the history
  • Loading branch information
michelvocks committed Jun 27, 2018
1 parent c049998 commit 8574ec7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion frontend/client/views/overview/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
</div>
</div>
</div>
</template>
</template>
<div v-if="pipelines.length == 0" class="no-pipelines-div">
<span class="no-pipelines-text">No pipelines are available. Please create a pipeline first.</span>
</div>
</div>
</template>

Expand Down Expand Up @@ -141,6 +144,17 @@ export default {

<style lang="scss">
.no-pipelines-div {
width: 100%;
text-align: center;
margin-top: 50px;
}
.no-pipelines-text {
color: whitesmoke;
font-size: 2rem;
}
@mixin status-display {
position: fixed;
min-width: 50px;
Expand Down

0 comments on commit 8574ec7

Please sign in to comment.