#first try to show index page
This commit is contained in:
parent
a352f561fa
commit
a7ceebb7c5
13
build.gradle
13
build.gradle
@ -116,11 +116,14 @@ dependencies {
|
|||||||
|
|
||||||
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
|
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
|
||||||
|
|
||||||
compile group: 'org.webjars', name: 'bootstrap', version: '4.1.0'
|
compile group: 'org.webjars', name: 'font-awesome', version: '5.8.1'
|
||||||
compile group: 'org.webjars', name: 'bootstrap-select', version: '1.13.3'
|
compile group: 'org.webjars', name: 'bootstrap', version: '4.1.3'
|
||||||
compile group: 'org.webjars', name: 'jquery', version: '3.3.1-1'
|
compile group: 'org.webjars.npm', name: 'vue', version: '2.6.9'
|
||||||
compile group: 'org.webjars.npm', name: 'jquery.easing', version: '1.4.1'
|
compile group: 'org.webjars.npm', name: 'vuex', version: '3.1.0'
|
||||||
compile group: 'org.webjars', name: 'font-awesome', version: '4.7.0'
|
compile group: 'org.webjars.npm', name: 'vue-router', version: '3.0.2'
|
||||||
|
compile group: 'org.webjars.npm', name: 'http-vue-loader', version: '1.3.5'
|
||||||
|
compile group: 'org.webjars.npm', name: 'axios', version: '0.18.0'
|
||||||
|
|
||||||
|
|
||||||
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.6.0'
|
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.6.0'
|
||||||
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.6.0'
|
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.6.0'
|
||||||
|
228
src/main/resources/templates/vue.html
Normal file
228
src/main/resources/templates/vue.html
Normal file
@ -0,0 +1,228 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
<title>NG-Tracker</title>
|
||||||
|
<link rel="stylesheet" href="/css/agency.css"/>
|
||||||
|
<link rel="stylesheet" href="/webjars/bootstrap/4.1.3/css/bootstrap.min.css"/>
|
||||||
|
|
||||||
|
<!-- Custom fonts for this template -->
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/google/montserrat.css"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/google/kaushan.css"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/google/droid.css"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/google/roboto.css"/>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body id="page-top">
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-dark fixed-top navbar-shrink" id="mainNav">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand js-scroll-trigger" href="/">NG-Tracker</a>
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse"
|
||||||
|
data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false"
|
||||||
|
aria-label="Toggle navigation">
|
||||||
|
Menu
|
||||||
|
<i class="fa fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
|
<ul class="navbar-nav text-uppercase ml-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link js-scroll-trigger" target="_blank" href="#landing">НИО-17</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link js-scroll-trigger" target="_blank" href="http://is.ulstu.ru">Сайт кафедры</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link js-scroll-trigger" target="_blank"
|
||||||
|
th:href="@{'http://timetable.athene.tech?filter='+${currentUser}}">Расписание</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link js-scroll-trigger" target="_blank" href="https://kias.rfbr.ru/">КИАС РФФИ</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link js-scroll-trigger" href="/logout">Выход</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="container">
|
||||||
|
<ul id="messages" class="feedback-panel">
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<section class="bg-light" id="portfolio">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" href="./papers/papers">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/papers.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Статьи</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" href="./grants/dashboard">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/grants.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Гранты</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" href="./projects/dashboard">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/projects.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Проекты</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" href="./conferences/conferences">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/conf.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Конференции</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" data-toggle="modal" href="/team">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/team.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Команда</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" href="./students/tasks">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/students.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Работа со студентами</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" href="./timeline">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/tasks.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Задачи</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" data-toggle="modal" href="./career.html">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/career.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Карьера</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
|
<a class="portfolio-link" data-toggle="modal" href="/other">
|
||||||
|
<div class="portfolio-hover">
|
||||||
|
<div class="portfolio-hover-content">
|
||||||
|
<i class="fa fa-arrow-right fa-3x"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img class="img-fluid" src="img/main/templates.jpg" alt=""/>
|
||||||
|
</a>
|
||||||
|
<div class="portfolio-caption">
|
||||||
|
<h4>Прочее</h4>
|
||||||
|
<p class="text-muted"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="bg-light">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div id="app">
|
||||||
|
{{ message }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<span class="copyright">Copyright © НИО17 2018</span>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<ul class="list-inline quicklinks">
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="/swagger-ui.html">Разработчикам</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<script type="application/javascript" src="/webjars/vue/2.6.9/dist/vue.js"></script>
|
||||||
|
<script type="application/javascript" src="/webjars/vuex/3.1.0/dist/vuex.min.js"></script>
|
||||||
|
<script type="application/javascript" src="/webjars/vue-router/3.0.2/dist/vue-router.min.js"></script>
|
||||||
|
<script type="application/javascript" src="/webjars/http-vue-loader/1.3.5/src/httpVueLoader.js"></script>
|
||||||
|
<script type="application/javascript" src="/webjars/axios/0.18.0/dist/axios.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var app = new Vue({
|
||||||
|
el: '#app',
|
||||||
|
data: {
|
||||||
|
message: 'Привет, Vue!'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user