edit page is clean now

This commit is contained in:
tim holloway 2024-09-21 16:27:41 -04:00
parent bea1cfa485
commit 3817173e5c
2 changed files with 18 additions and 16 deletions

View File

@ -7,7 +7,7 @@
<groupId>com.mousetech.gourmet</groupId> <groupId>com.mousetech.gourmet</groupId>
<artifactId>gourmetj</artifactId> <artifactId>gourmetj</artifactId>
<version>2.0.28</version> <version>2.0.30</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>GourmetJ</name> <name>GourmetJ</name>

View File

@ -142,11 +142,12 @@
</p:column> </p:column>
</p:row> </p:row>
</p:panelGrid> </p:panelGrid>
<p:panelGrid id="ppGrid" columns="2">
<p:panel id="picPanel"> <p:panel id="picPanel">
<img id="bigPix" <img id="bigPix"
src="/img/picture/?dt=#{recipeDetailBean.currentTime}" /> src="/img/picture/?dt=#{recipeDetailBean.currentTime}" />
</p:panel> </p:panel>
<p:panelGrid id="picButtonPanel" columns="2"> <p:panelGrid id="picButtonPanel" columns="1">
<p:fileUpload id="ctlUpload" <p:fileUpload id="ctlUpload"
label="Upload Image" label="Upload Image"
listener="#{recipeDetailBean.ajaxUploadImage}" listener="#{recipeDetailBean.ajaxUploadImage}"
@ -158,4 +159,5 @@
action="#{recipeDetailBean.ajaxDeleteImage}" action="#{recipeDetailBean.ajaxDeleteImage}"
update="picPanel" immediate="true" /> update="picPanel" immediate="true" />
</p:panelGrid> </p:panelGrid>
</p:panelGrid>
</ui:composition> </ui:composition>