Commit 76119cb1 authored by Filipa Lacerda's avatar Filipa Lacerda

Changes after review

parent b64555d3
...@@ -425,16 +425,18 @@ export default { ...@@ -425,16 +425,18 @@ export default {
}, },
template: ` template: `
<tr :class="{ 'child-row': model.isChildren }"> <tr>
<td> <td>
<a v-if="!model.isFolder" <a v-if="!model.isFolder"
class="environment-name" class="environment-name"
:class="{ 'prepend-left-default': model.isChildren }"
:href="environmentPath"> :href="environmentPath">
{{model.name}} {{model.name}}
</a> </a>
<span v-else <span v-else
class="folder-name" class="folder-name"
@click="onClickFolder"> @click="onClickFolder"
role="button">
<span class="folder-icon"> <span class="folder-icon">
<i <i
......
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
<template v-if="model.isFolder && model.isOpen && model.children && model.children.length > 0"> <template v-if="model.isFolder && model.isOpen && model.children && model.children.length > 0">
<tr v-if="isLoadingFolderContent"> <tr v-if="isLoadingFolderContent">
<td colspan="6" class="text-center"> <td colspan="6" class="text-center">
<i class="fa fa-spin fa-spinner" aria-hidden="true"/> <i class="fa fa-spin fa-spinner fa-2x" aria-hidden="true"/>
</td> </td>
</tr> </tr>
......
...@@ -18,6 +18,7 @@ export default class EnvironmentsService { ...@@ -18,6 +18,7 @@ export default class EnvironmentsService {
} }
getFolderContent(folderUrl) { getFolderContent(folderUrl) {
return Vue.http.get(`${folderUrl}.json?per_page=3`); const results = 3;
return Vue.http.get(`${folderUrl}.json?per_page=${results}`);
} }
} }
...@@ -54,14 +54,6 @@ ...@@ -54,14 +54,6 @@
} }
} }
.child-row td:first-child a {
margin-left: 17px;
}
.environments-show-all {
text-align: center;
}
.btn-group { .btn-group {
> a { > a {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment