Fix header

dev
Anton Romanov 2 months ago
parent e6b4ed9f2c
commit 7713078596

@ -5,9 +5,6 @@ import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import java.io.IOException;
import java.text.ParseException;
@Service
public class GrantScheduler {
private final static boolean IS_DEADLINE_NOTIFICATION_BEFORE_WEEK = true;
@ -34,11 +31,11 @@ public class GrantScheduler {
@Scheduled(cron = "0 0 8 * * ?", zone = "Europe/Samara")
public void loadGrantsFromKias() {
log.debug("GrantScheduler.loadGrantsFromKias started");
try {
grantService.createFromKias();
} catch (ParseException | IOException e) {
e.printStackTrace();
}
// try {
// grantService.createFromKias();
// } catch (ParseException | IOException e) {
// e.printStackTrace();
// }
log.debug("GrantScheduler.loadGrantsFromKias finished");
}
}

@ -77,7 +77,7 @@
<div class="form-group">
<label>Дедлайны:</label>
<div class="row deadline" th:each="deadline, rowStat : *{deadlines}">
<div class="row deadline form-group" th:each="deadline, rowStat : *{deadlines}">
<input type="hidden" th:field="*{deadlines[__${rowStat.index}__].id}"/>
<div class="col-6">
<input type="date" class="form-control deadline-date"

@ -1,7 +1,9 @@
<!DOCTYPE html>
<html lang="en"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorator="default" xmlns:th="http://www.w3.org/1999/xhtml">
xmlns:th="http://www.thymeleaf.org"
layout:decorate="~{default}"
xmlns="http://www.w3.org/1999/html">
<head>
</head>
<body>

@ -1,7 +1,9 @@
<!DOCTYPE html>
<html lang="en"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorator="default" xmlns:th="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/html">
xmlns:th="http://www.thymeleaf.org"
layout:decorate="~{default}"
xmlns="http://www.w3.org/1999/html">
<head>
<link rel="stylesheet" href="../css/project.css"/>
</head>

@ -1,7 +1,9 @@
<!DOCTYPE html>
<html lang="en"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorator="default" xmlns:th="">
xmlns:th="http://www.thymeleaf.org"
layout:decorate="~{default}"
xmlns="http://www.w3.org/1999/html">
<head>
</head>
<body>
@ -13,18 +15,18 @@
<div class="row" id="project-list">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Проекты</h2>
<div th:replace="projects/fragments/projectNavigationFragment"/>
<div th:replace="~{projects/fragments/projectNavigationFragment}"/>
</div>
</div>
<div class="row">
<div class="col-md-9 col-sm-12">
<th:block th:each="project : ${projects}">
<div th:replace="projects/fragments/projectLineFragment :: projectLine(project=${project})"/>
<div th:replace="~{projects/fragments/projectLineFragment :: projectLine(project=${project})}"/>
</th:block>
</div>
<div class="col-md-3 col-sm-12">
</div>
<div th:replace="fragments/noRecordsFragment :: noRecords(entities=${projects}, noRecordsMessage=' одного проекта', url='project')"/>
<div th:replace="~{fragments/noRecordsFragment :: noRecords(entities=${projects}, noRecordsMessage=' одного проекта', url='project')}"/>
</div>
</div>
</section>

Loading…
Cancel
Save