Resolve "Верстка страницы статьи" #132

Merged
Yelisson merged 1 commits from 5- into master 2018-10-10 17:18:27 +04:00
Showing only changes of commit 0219b0ce28 - Show all commits

View File

@ -1,4 +1,3 @@
<!--
<!DOCTYPE html>
<html lang="en"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
@ -20,9 +19,7 @@
<div class="col-lg-10 text-center">
</div>
<div class="col-lg-2 text-center">
<button id="sendAlert" class="btn btn-primary btn-xl text-uppercase" type="submit">
Ping авторам
</button>
</div>
</div>
<div class="row">
@ -31,10 +28,35 @@
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="name">Название:</label>
<input class="form-control" id="name" type="text" placeholder="Название статьи"
required="" data-validation-required-message="Ввеите название статьи"/>
required="" data-validation-required-message="Введите название статьи"/>
<p class="help-block text-danger"></p>
</div>
<div class="form-group">
<label for="status">Статус:</label>
<select class="form-control" id="status">
<option value="COMPLETED">Завершена</option>
<option value="DRAFT">Черновик</option>
<option value="ATTENTION">Внимание</option>
</select>
</div>
<div class="form-group">
<label for="comment">Комментарий:</label>
<textarea class="form-control" rows="5" id="comment"></textarea>
</div>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="locked"/>
<label class="form-check-label" for="locked">Заблокирована</label>
</div>
<div class="form-group">
<label for="loader">Загрузить статью:</label>
<div id="loader">
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg-12 text-center">
@ -43,6 +65,9 @@
type="submit">
Сохранить
</button>
<button id="cancelButton" class="btn btn-primary btn-xl text-uppercase" type="submit">
Отмена
</button>
</div>
</div>
</form>
@ -50,153 +75,24 @@
</div>
</div>
</section>
<script type="text/javascript" src="/js/file-loader.js"></script>
<script>
/*<![CDATA[*/
$(document).ready(function () {
new FileLoader({
div: "loader",
url: urlFileUpload,
maxSize: 1.5,
extensions: ["xls", "jpg", "pdf", "txt", "png"],
callback: function (response) {
showFeedbackMessage("Файл успешно загружен");
console.debug(response);
}
});
});
/*]]>*/
</script>
</div>
</body>
</html>
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<title>NG-Tacker</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<!-- Custom fonts for this template -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="vendor/google/montserrat.css" rel="stylesheet" type="text/css"/>
<link href='vendor/google/kaushan.css' rel='stylesheet' type='text/css'/>
<link href='vendor/google/droid.css' rel='stylesheet' type='text/css'/>
<link href='vendor/google/roboto.css' rel='stylesheet' type='text/css'/>
<!-- Custom styles for this template -->
<link href="css/agency.css" rel="stylesheet"/>
</head>
<body id="page-top">
<!-- Navigation -->
<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="#page-top">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" 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>
<section id="paper">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Редактирование статьи</h2>
</div>
</div>
<div class="row">
<div class="col-lg-10 text-center">
</div>
<div class="col-lg-2 text-center">
</div>
</div>
<div class="row">
<div class="col-lg-12">
<form id="contactForm" name="sentMessage" novalidate="">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<input class="form-control" id="name" type="text" placeholder="Название статьи" required="" data-validation-required-message="Введите название статьи"/>
<p class="help-block text-danger"></p>
</div>
<div class="dropdown open">
<div class="form-group">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Статус
</button>
</div>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Завершена</a>
<a class="dropdown-item" href="#">Черновик</a>
<a class="dropdown-item" href="#">Внимание</a>
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" rows="5" id="comment"></textarea>
</div>
<div class="form-group">
<div class="checkbox">
<label><input type="checkbox" value=""/>Заблокировать</label>
</div>
</div>
<div class="form-group">
<label for="myFile2">Загрузить статью:</label>
<input type="file" class="form-control-file" id="myFile2"/>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="col-lg-12 text-center">
<div id="success"></div>
<button id="sendMessageButton" class="btn btn-primary btn-xl text-uppercase" type="submit">
Сохранить
</button>
<button id="cancelButton" class="btn btn-primary btn-xl text-uppercase" type="submit">
Отмена
</button>
<button id="sendAlert" class="btn btn-primary btn-xl text-uppercase" type="submit">
Ping авторам
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Contact form JavaScript -->
<script src="js/jqBootstrapValidation.js"></script>
<script src="js/contact_me.js"></script>
<!-- Custom scripts for this template -->
<script src="js/agency.js"></script>
</body>