uniti front-end e back-end in un unico war
This commit is contained in:
17
src/main/resources/WEB-INF/web.xml
Normal file
17
src/main/resources/WEB-INF/web.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
|
||||
version="3.1">
|
||||
|
||||
<listener>
|
||||
<listener-class>eu.webtoolkit.jwt.ServletInit</listener-class>
|
||||
</listener>
|
||||
|
||||
<display-name>jpacrepo</display-name>
|
||||
<description>jpacrepo</description>
|
||||
|
||||
<!--<session-config>-->
|
||||
<!--<tracking-mode>URL</tracking-mode>-->
|
||||
<!--</session-config>-->
|
||||
|
||||
</web-app>
|
4
src/main/resources/template/jumbotron.html
Normal file
4
src/main/resources/template/jumbotron.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="jumbotron text-center">
|
||||
<h1>JPacRepo</h1>
|
||||
<p>The personal archlinux package repository</p>
|
||||
</div>
|
46
src/main/resources/template/package-search-form.html
Normal file
46
src/main/resources/template/package-search-form.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<div class="input-control search-input">
|
||||
<div class="row">
|
||||
<div class="col-sm-5">
|
||||
<label>
|
||||
Name:
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<label>
|
||||
Version:
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<label>
|
||||
Arch:
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<label>
|
||||
Page size:
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<form class="form-inline">
|
||||
<div class="form-group col-sm-5">
|
||||
${nameInput}
|
||||
</div>
|
||||
<div class="form-group col-sm-2">
|
||||
${versionInput}
|
||||
</div>
|
||||
<div class="form-group col-sm-2">
|
||||
${archInput}
|
||||
</div>
|
||||
<div class="form-group col-sm-2">
|
||||
${pageInput}
|
||||
</div>
|
||||
<div class="form-group col-sm-1">
|
||||
${searchButton}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user