|
@@ -0,0 +1,61 @@
|
|
|
+<!doctype html>
|
|
|
+<!--suppress HtmlUnknownTarget -->
|
|
|
+<html lang="en">
|
|
|
+<head>
|
|
|
+ <!-- Required meta tags -->
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
+
|
|
|
+ <!-- Bootstrap CSS -->
|
|
|
+ <!--suppress SpellCheckingInspection -->
|
|
|
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
|
|
|
+ integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
|
|
|
+
|
|
|
+ <title>Grants Application - writer home</title>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+
|
|
|
+<div th:insert="~{fragments/layout::banner}"></div>
|
|
|
+
|
|
|
+<div class="mx-auto" style="width:50%;text-align:center;">
|
|
|
+ <h1 id="pageHeader">Writer Specify File</h1>
|
|
|
+ <div th:insert="~{fragments/layout::banner}"></div>
|
|
|
+
|
|
|
+ <div class="container border border-info
|
|
|
+rounded-3 text-center p-4">
|
|
|
+ <!--/*@thymesVar id="WriterFilesImpl" type="scot.carricksoftware.grantswriter.files.WriterFilesImpl"*/-->
|
|
|
+ <form th:object="${WriterFilesImpl}" th:action="@{/files}" method="post">
|
|
|
+ <div th:if="${#fields.hasErrors('*')}" class="alert alert-danger">
|
|
|
+ <p>Please Correct The Errors Below</p>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group row justify-content-center">
|
|
|
+ <div class="col-md-3">
|
|
|
+ <label for="texFile">Tex File: </label>
|
|
|
+ <input class="form-control" id="texFile"
|
|
|
+ th:field="*{latexFileName}" type="text">
|
|
|
+ <div th:if="${#fields.hasErrors('texFile')}">
|
|
|
+ <ul class="text-danger">
|
|
|
+ <li th:each="err : ${#fields.errors('texFile')}" th:text="${err}"></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row justify-content-center">
|
|
|
+ <div class="col-md-3">
|
|
|
+ <label for="pdfFile">PDF File: </label>
|
|
|
+ <input class="form-control" id="pdfFile"
|
|
|
+ th:field="*{pdfFileName}" type="text">
|
|
|
+ <div th:if="${#fields.hasErrors('pdfFile')}">
|
|
|
+ <ul class="text-danger">
|
|
|
+ <li th:each="err : ${#fields.errors('pdfFile')}" th:text="${err}"></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <button type="submit" class="btn btn-primary">Commit</button>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+</body>
|
|
|
+</html>
|