try-vue: add test pages for validators

This commit is contained in:
Aleksey Filippov 2019-05-28 22:28:14 +04:00
parent 133c9a13ba
commit fde4ef58d9
5 changed files with 52 additions and 1 deletions

View File

@ -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>

View File

@ -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")
}

View 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>

View 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>

View 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>