Skip to content

Commit

Permalink
removed MAINTAINER docker
Browse files Browse the repository at this point in the history
Minor html edits
  • Loading branch information
aleon1220 committed Jun 9, 2023
1 parent 81c1e35 commit 511cdf3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 25 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM tomcat:8-jdk8-corretto
# https://hub.docker.com/layers/library/tomcat/7.0.109-jdk8-openjdk/images/sha256-489823486120d076cb576640c5819c6fa54948f470b46c54f02b48f462eb2c23
MAINTAINER www.andres.nz
COPY target/AttendanceWebApp.war /usr/local/tomcat/webapps/
ADD conf/tomcat-users.xml /usr/local/tomcat/conf
FROM tomcat:8-jdk8-corretto
# https://hub.docker.com/layers/library/tomcat/7.0.109-jdk8-openjdk/images/sha256-489823486120d076cb576640c5819c6fa54948f470b46c54f02b48f462eb2c23
LABEL org.nz.itlatinos.image.authors="[email protected]"
ADD conf/tomcat-users.xml /usr/local/tomcat/conf

COPY target/AttendanceWebApp.war /usr/local/tomcat/webapps/
LABEL maintainer="andres.nz"
37 changes: 17 additions & 20 deletions src/main/webapp/attendanceGenerate.xhtml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui" xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE composition
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui"
xmlns="http://www.w3.org/1999/xhtml">

<h:head>
<title>Generate Attendance System</title>
</h:head>

<body>

<p:layout fullPage="true">
Expand All @@ -18,19 +18,16 @@

<h:form id="attendance">
<p>Attendance System Date</p>

<h4>Time and Date </h4>
<p:clock pattern="HH:mm:ss dd/MM/yyyy" mode="server" />

</h:form>
<br />
<br />
<br />

<p:outputLabel for="class" value="Select Class: " />

<p:selectOneMenu id="class" value="#{attendanceGenerate.className}"
lazy="true" style="width:150px">
<p:selectOneMenu id="class" value="#{attendanceGenerate.className}" lazy="true" style="width:150px">
<f:selectItem itemLabel="Select One Class" itemValue="" />
<f:selectItems value="#{attendanceGenerate.classes}" />
</p:selectOneMenu>
Expand All @@ -50,25 +47,26 @@

<table>
<tr>
<th><h:outputText value="Generate Random Code" /></th>
<th rowspan="1"/>

<th>
<p:commandButton value="Generate Attendance Code" id="generateCode"
actionListener="#{attendanceGenerate.generateAttendanceCode}"
update="codeId" icon="ui-icon-transferthick-e-w" />
<h:outputText value="Generate Random Code" />
</th>
<th rowspan="1">
<p:commandButton value="Generate Attendance Code" id="generateCode"
actionListener="#{attendanceGenerate.generateAttendanceCode}" update="codeId"
icon="ui-icon-transferthick-e-w" />
</th>
</tr>
</table>

<table>
<tr>
<th rowspan="3"/>
<th rowspan="3" />
<th rowspan="2">
<p:button icon="ui-icon-locked" title="Attendance Code" disabled="true" />
<p:button icon="ui-icon-locked" title="Attendance Code" disabled="true" />
</th>

<th><p:outputLabel id="codeId" value="#{attendanceGenerate.randomCode}" />
<th>
<p:outputLabel id="codeId" value="#{attendanceGenerate.randomCode}" />
</th>
</tr>
</table>
Expand All @@ -80,8 +78,7 @@
<br />

<center>
<p:button icon="ui-icon-circle-arrow-w" title="Go back"
outcome="main" />
<p:button icon="ui-icon-circle-arrow-w" title="Go back" outcome="main" />
</center>

</p:panel>
Expand Down

0 comments on commit 511cdf3

Please sign in to comment.