Skip to content

Commit

Permalink
🚚 : gather vue components in a subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubuisson committed Jan 25, 2020
1 parent 43da158 commit baa754c
Show file tree
Hide file tree
Showing 26 changed files with 39 additions and 39 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ <h3>Hi there ! </h3>
<breadcrumb :page="page"></breadcrumb>
</template>

<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/dashboard-widget"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/dashboard-widget"></div>

<script th:inline="javascript" type="application/ecmascript">
new Vue({
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/templates/job.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@ <h2>Stack {{stack.name}}</h2>
<breadcrumb :page="page" :stack-id="stackId"></breadcrumb>
</template>

<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<div th:replace="helpers/messenger"></div>

<div th:replace="vue_templates/cli-badge"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/console"></div>
<div th:replace="vue_templates/user-badge"></div>
<div th:replace="vue_templates/job/job-metadata"></div>
<div th:replace="vue_templates/job/job-step"></div>
<div th:replace="vue_templates/job/job-apply-confirm"></div>
<div th:replace="vue_templates/job/job-timer"></div>
<div th:replace="vue_templates/components/cli-badge"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/console"></div>
<div th:replace="vue_templates/components/user-badge"></div>
<div th:replace="vue_templates/components/job/job-metadata"></div>
<div th:replace="vue_templates/components/job/job-step"></div>
<div th:replace="vue_templates/components/job/job-apply-confirm"></div>
<div th:replace="vue_templates/components/job/job-timer"></div>
<div th:replace="vue_templates/filters/date-time"></div>

<script src="/js/ansi_to_html.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/module.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ <h2>Variables <b-button variant="success" @click="addVar()"><i class="fas fa-plu
</template>

<div th:replace="helpers/messenger"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<script th:inline="javascript" type="application/ecmascript">
Vue.component('vue-multiselect', window.VueMultiselect.default);
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/templates/module_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ <h1>
<breadcrumb :page="page"></breadcrumb>
</template>

<div th:replace="vue_templates/cli-badge"></div>
<div th:replace="vue_templates/readme"></div>
<div th:replace="vue_templates/markdown"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/cli-badge"></div>
<div th:replace="vue_templates/components/readme"></div>
<div th:replace="vue_templates/components/markdown"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/sidebar"></div>
<div th:replace="vue_templates/filters/date-time"></div>

<div th:replace="helpers/messenger"></div>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
</b-card-group>
</template>

<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<script type="application/ecmascript" th:inline="javascript">
$(document).ready(function () {
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/templates/modules_import.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
<breadcrumb :page="page"></breadcrumb>
</template>

<div th:replace="vue_templates/modules/module-import"></div>
<div th:replace="vue_templates/modules/manual-import"></div>
<div th:replace="vue_templates/components/modules/module-import"></div>
<div th:replace="vue_templates/components/modules/manual-import"></div>

<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<div th:replace="helpers/messenger"></div>

<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>

<script src="/js/ansi_to_html.js"></script>

Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/templates/new_stack.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@

<script src="/js/prism.js"></script>

<div th:replace="vue_templates/stack-vars"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/stack-vars"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<template id="template">
<div>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ <h2>Environment Variables <button type="button" class="btn btn-success" @click="
<breadcrumb :page="page"></breadcrumb>
</template>

<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/sidebar"></div>
<div th:replace="helpers/messenger"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>

<script th:inline="javascript" type="application/ecmascript">
const settings = [[${settings}]];
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/templates/stack.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
</div>
</div>

<div th:replace="vue_templates/stack-vars"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/user-badge"></div>
<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/job/job-timer"></div>
<div th:replace="vue_templates/components/stack-vars"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/user-badge"></div>
<div th:replace="vue_templates/components/sidebar"></div>
<div th:replace="vue_templates/components/job/job-timer"></div>
<div th:replace="vue_templates/filters/date-time"></div>

<template id="stack-controls">
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/stacks.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<breadcrumb :page="page"></breadcrumb>
</template>

<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>
<div th:replace="vue_templates/components/sidebar"></div>

<script type="application/ecmascript">
let stacks;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
</div>
</template>

<div th:replace="vue_templates/sidebar"></div>
<div th:replace="vue_templates/components/sidebar"></div>
<div th:replace="helpers/messenger"></div>
<div th:replace="vue_templates/breadcrumb"></div>
<div th:replace="vue_templates/components/breadcrumb"></div>

<script type="application/ecmascript">
Vue.component('vue-multiselect', window.VueMultiselect.default);
Expand Down

0 comments on commit baa754c

Please sign in to comment.