|
|
|
@ -37,44 +37,54 @@ |
|
|
|
|
</f:facet> |
|
|
|
|
<p:row> |
|
|
|
|
<p:column id="leftCol" style="width: 80%"> |
|
|
|
|
<img id="bigpix" |
|
|
|
|
src="/img/picture/#{recipeDetailBean.recipe.id}" |
|
|
|
|
/> |
|
|
|
|
<p:panelGrid id="pnlDetails" columns="2"> |
|
|
|
|
<p:commandButton value="<- Back" |
|
|
|
|
styleClass="ui-button-arrow-left" |
|
|
|
|
action="main.jsf" |
|
|
|
|
immediate="true" |
|
|
|
|
/> |
|
|
|
|
<p:commandButton value="Print" |
|
|
|
|
action="recipePrint.jsf" |
|
|
|
|
styleClass="ui-button-print" |
|
|
|
|
immediate="true" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Categories:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText label="Category: " |
|
|
|
|
value="#{adminMainBean.formatCategories(recipeDetailBean.recipe)}" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Cuisine:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText label="Cuisine: " |
|
|
|
|
value="#{recipeDetailBean.recipe.cuisine}" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Prep Time:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText label="Prep Time: " |
|
|
|
|
value="#{userSession.formatTime(recipeDetailBean.recipe.preptime)}" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Cook Time:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText label="Cook Time: " |
|
|
|
|
value="#{userSession.formatTime(recipeDetailBean.recipe.cooktime)}" |
|
|
|
|
<p:panelGrid columns="2"> |
|
|
|
|
<img id="bigpix" |
|
|
|
|
src="/img/picture/#{recipeDetailBean.recipe.id}" |
|
|
|
|
/> |
|
|
|
|
<p:panelGrid id="pnlDetails" |
|
|
|
|
columns="2" |
|
|
|
|
> |
|
|
|
|
<p:commandButton |
|
|
|
|
value="<- Back" |
|
|
|
|
styleClass="ui-button-arrow-left" |
|
|
|
|
action="main.jsf" |
|
|
|
|
immediate="true" |
|
|
|
|
/> |
|
|
|
|
<p:commandButton |
|
|
|
|
value="Print" |
|
|
|
|
action="recipePrint.jsf" |
|
|
|
|
styleClass="ui-button-print" |
|
|
|
|
immediate="true" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Categories:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText |
|
|
|
|
label="Category: " |
|
|
|
|
value="#{adminMainBean.formatCategories(recipeDetailBean.recipe)}" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Cuisine:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText |
|
|
|
|
label="Cuisine: " |
|
|
|
|
value="#{recipeDetailBean.recipe.cuisine}" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Prep Time:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText |
|
|
|
|
label="Prep Time: " |
|
|
|
|
value="#{userSession.formatTime(recipeDetailBean.recipe.preptime)}" |
|
|
|
|
/> |
|
|
|
|
<p:outputLabel for="@next" |
|
|
|
|
value="Cook Time:" |
|
|
|
|
/> |
|
|
|
|
<h:outputText |
|
|
|
|
label="Cook Time: " |
|
|
|
|
value="#{userSession.formatTime(recipeDetailBean.recipe.cooktime)}" |
|
|
|
|
/> |
|
|
|
|
</p:panelGrid> |
|
|
|
|
</p:panelGrid> |
|
|
|
|
<h:commandLink value="Edit Details" |
|
|
|
|
action="#{recipeDetailBean.editDescription}" |
|
|
|
@ -85,7 +95,9 @@ |
|
|
|
|
/> |
|
|
|
|
</h:commandLink> |
|
|
|
|
<!-- --> |
|
|
|
|
<p:panelGrid id="pnlInstr" columns="1" style="width: 100%"> |
|
|
|
|
<p:panelGrid id="pnlInstr" |
|
|
|
|
columns="1" style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<f:facet name="header"> |
|
|
|
|
<h:outputText |
|
|
|
|
styleClass="subtitle" |
|
|
|
@ -101,7 +113,9 @@ |
|
|
|
|
action="#{recipeDetailBean.editInstructions}" |
|
|
|
|
/> |
|
|
|
|
</p:panelGrid> |
|
|
|
|
<p:panelGrid id="pnlNotes" columns="1" style="width: 100%"> |
|
|
|
|
<p:panelGrid id="pnlNotes" |
|
|
|
|
columns="1" style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<f:facet name="header"> |
|
|
|
|
<h:outputText |
|
|
|
|
styleClass="subtitle" |
|
|
|
|