Skip to content

Commit

Permalink
Correzione ultimi bug, upload di specifiche, backup database e creden…
Browse files Browse the repository at this point in the history
…ziali d'accesso.
  • Loading branch information
Kidel committed Jun 15, 2015
1 parent caa2031 commit cf1a9e1
Show file tree
Hide file tree
Showing 10 changed files with 1,876 additions and 32 deletions.
21 changes: 13 additions & 8 deletions WebContent/index.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@

<!-- Jumbotron Header -->
<header class="jumbotron hero-spacer">
<h1>A Warm Welcome!</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Ipsa, ipsam, eligendi, in quo sunt possimus non incidunt odit vero
aliquid similique quaerat nam nobis illo aspernatur vitae fugiat
numquam repellat.</p>
<h1>Welcome to Agave Shop!</h1>
<p>
<strong>A-Ga-Ve</strong>, from our initials, is our project for the
course of <strong>Sistemi Informativi su Web (SIW)</strong>.
</p>
<p>It runs on Apache Tomee and it's made using Java with JSF 2.2
Framework and Open JPA libraries for PostgreSQL.
</p>
<p>
<h:form>
<h:commandLink action="#{productController.listProducts()}"
Expand Down Expand Up @@ -61,14 +64,16 @@
<p class="indexDesc">#{product.description}</p>
<p>
<h:panelGroup rendered="#{customerController.isLogged()}">
<input type="button" id='##{product.id}' class="btn btn-primary addToCart"
style="width: 103px; transition: background 0.5s; color: #fff; opacity:1; margin-bottom: 5px;"
<input type="button" id='##{product.id}'
class="btn btn-primary addToCart"
style="width: 103px; transition: background 0.5s; color: #fff; opacity: 1; margin-bottom: 5px;"
value="Add To Cart" />
&nbsp;
</h:panelGroup>

<h:commandLink action="#{productController.findProduct}"
value="More Info" styleClass="btn btn-default" style="margin-bottom: 5px;">
value="More Info" styleClass="btn btn-default"
style="margin-bottom: 5px;">
<f:param name="id" value="#{product.id}" />
</h:commandLink>
</p>
Expand Down
6 changes: 3 additions & 3 deletions WebContent/product.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
width="60" class="img-rounded"
style="margin-right: 10px; float: left"
alt="Gravatar for #{sessionScope['customer'].getFullName()}" />
<span id="revNewName"></span> <span id="revNewStars"
<strong><span id="revNewName"></span></strong> <span id="revNewStars"
class="pull-right"></span><br /> <span id="revNewDate"
class="pull-right"></span>
<div style="margin-top: 5px; margin-left: 39px;"
Expand All @@ -153,8 +153,8 @@
src="http://www.gravatar.com/avatar/#{customerController.getGravatarId(review.customer.email)}?s=60"
width="60" class="img-rounded"
style="margin-right: 10px; float: left"
alt="Gravatar for #{review.customer.getFullName()}" />
#{review.getCustomerName()} <span class="pull-right"> <h:outputText
alt="Gravatar for #{review.customer.getFullName()}" /><strong>
#{review.getCustomerName()}</strong> <span class="pull-right"> <h:outputText
value="#{productController.getReviewHtml(review)}"
escape="false" /></span> <br /> <span class="pull-right"><h:outputText
value="#{review.getDate()}">
Expand Down
18 changes: 18 additions & 0 deletions credenziali_accesso.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Credenziali accesso:

Admin:

[email protected]
password: siw


Example Customers:

[email protected]
password: siw

[email protected]
password: siw

[email protected]
password: pepette
Binary file added database.backup
Binary file not shown.
Loading

0 comments on commit cf1a9e1

Please sign in to comment.