try-vue: add test pages for validators
This commit is contained in:
parent
133c9a13ba
commit
fde4ef58d9
@ -113,7 +113,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||
<a class="portfolio-link" data-toggle="modal" href="/other">
|
||||
<a class="portfolio-link" data-toggle="modal" href="/other/other">
|
||||
<div class="portfolio-hover">
|
||||
<div class="portfolio-hover-content">
|
||||
<i class="fa fa-arrow-right fa-3x"></i>
|
||||
|
@ -17,6 +17,15 @@ var router = new VueRouter({
|
||||
{
|
||||
path: "/papers/dashboard", component: httpVueLoaderEx("/papers/paper-dashboard.vue", "PaperDashboard")
|
||||
},
|
||||
{
|
||||
path: "/other/other", component: httpVueLoaderEx("/other/other.vue", "OtherMain")
|
||||
},
|
||||
{
|
||||
path: "/other/validator1", component: httpVueLoaderEx("/other/validator1.vue", "OtherValidator1")
|
||||
},
|
||||
{
|
||||
path: "/other/validator2", component: httpVueLoaderEx("/other/validator2.vue", "OtherValidator2")
|
||||
},
|
||||
{
|
||||
path: "/*", component: httpVueLoaderEx("/core-components/page-not-found.vue", "PageNotFound")
|
||||
}
|
||||
|
14
src/main/resources/static/other/other.vue
Normal file
14
src/main/resources/static/other/other.vue
Normal file
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-4 col-xl-3">
|
||||
<router-link to="/other/validator1" class="btn btn-light toolbar-button"><i class="fa fa-list-alt"></i>
|
||||
Валидатор1
|
||||
</router-link>
|
||||
</div>
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-4 col-xl-3">
|
||||
<router-link to="/other/validator2" class="btn btn-light toolbar-button"><i class="fa fa-list-alt"></i>
|
||||
Валидатор2
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
14
src/main/resources/static/other/validator1.vue
Normal file
14
src/main/resources/static/other/validator1.vue
Normal file
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-4 col-xl-3">
|
||||
<router-link to="/other/other" class="btn btn-light toolbar-button"><i class="fa fa-list-alt"></i>
|
||||
Назад
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
v1
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
14
src/main/resources/static/other/validator2.vue
Normal file
14
src/main/resources/static/other/validator2.vue
Normal file
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-sm-12 col-md-12 col-lg-4 col-xl-3">
|
||||
<router-link to="/other/other" class="btn btn-light toolbar-button"><i class="fa fa-list-alt"></i>
|
||||
Назад
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
v2
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
Loading…
Reference in New Issue
Block a user