@@ -3,21 +3,22 @@
< html xmlns ="http://www.w3.org/1999/xhtml "
xmlns:ui ="http://xmlns.jcp.org/jsf/facelets "
xmlns:h ="http://xmlns.jcp.org/jsf/html "
xmlns:f ="http://xmlns.jcp.org/jsf/core ">
xmlns:f ="http://xmlns.jcp.org/jsf/core "
xmlns:c ="http://xmlns.jcp.org/jsp/jstl/core ">
< h:head >
< meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 " />
<!-- CSS SKELETON
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
< link href ="#{request.contextPath}/resources/css/jquery.bootstrap-touchspin.min.css " rel ="stylesheet " type ="text/css "/>
< link href ="#{request.contextPath}/resources/css/cssLayout.css " rel ="stylesheet " type ="text/css "/>
< link href ="#{request.contextPath}/resources/css/bootstrap.min.css " rel ="stylesheet " type ="text/css "/>
< link href ="#{request.contextPath}/resources/css/bootstrap-datetimepicker.css " rel ="stylesheet " type ="text/css "/>
< script type ="text/javascript " src ="//code.jquery.com/jquery-2.1.1.min.js "> </ script >
< script type ="text/javascript " src ="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js "> </ script >
< script src ="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.js "> </ script >
< script src ="//cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/e8bddc60e73c1ec2475f827be36e1957af72e2ea/src/js/bootstrap-datetimepicker.js "> </ script >
< script type ="text/javascript " src ="//code.jquery.com/jquery-2.1.1.min.js "> </ script >
< script type ="text/javascript " src ="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js "> </ script >
< script src ="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.js "> </ script >
< script src ="//cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/e8bddc60e73c1ec2475f827be36e1957af72e2ea/src/js/bootstrap-datetimepicker.js "> </ script >
< script src ="#{request.contextPath}/resources/java/code.js " type ="text/javascript "> </ script >
< script src ="#{request.contextPath}/resources/java/jquery.bootstrap-touchspin.min.js " type ="text/javascript "> </ script >
<!-- Font -->
@@ -26,73 +27,84 @@
</ h:head >
< h:body >
< div id ="top ">
<!-- Fixed navbar -->
< nav class ="navbar navbar-default navbar-fixed-top ">
< div class ="container ">
< div class ="navbar-header ">
< button type ="button " class ="navbar-toggle collapsed " data-toggle ="collapse " data-target ="#navbar " aria-expanded ="false " aria-controls ="navbar ">
< span class ="sr-only "> Toggle navigation</ span >
< span class ="icon-bar "> </ span >
< span class ="icon-bar "> </ span >
< span class ="icon-bar "> </ span >
</ button >
< h:link class ="navbar-brand " value ="AuctionOnline " outcome ="/index " />
</ div >
< div id ="navbar " class ="navbar-collapse collapse ">
< ul class ="nav navbar-nav ">
< li > < h:link value ="Home " outcome ="/index " /></ li >
< li > < h:link value ="Create new user " outcome ="/html/createUser " /></ li >
< li > < h:link value ="Create new productentry " outcome ="/html/createProduct " /></ li >
<!-- <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>-->
</ ul >
<!-- <ul class="nav navbar-nav navbar-right">
<li><a href="../navbar/">Default</a></li>
<li><a href="../navbar-static-top/">Static top</a></li>
<li class="active"><a href="./">Fixed top <span class="sr-only">(current)</span></a></li>
</ul>-->
</ div > <!--/.nav-collapse -->
</ div >
</ nav >
< ui:insert name ="top "> </ ui:insert >
</ div >
<!-- Fixed navbar -->
<!-- Static navbar -->
< div id ="content " >
< div class ="container ">
< ui:insert name ="content "> </ ui:insert >
< div id ="top ">
<!-- Fixed navbar -->
< nav class ="navbar navbar-default navbar-fixed-top ">
< div class ="container ">
< div class ="navbar-header ">
< button type ="button " class ="navbar-toggle collapsed " data-toggle ="collapse " data-target ="#navbar " aria-expanded ="false " aria-controls ="navbar ">
< span class ="sr-only "> Toggle navigation</ span >
< span class ="icon-bar "> </ span >
< span class ="icon-bar "> </ span >
< span class ="icon-bar "> </ span >
</ button >
< h:link class ="navbar-brand " value ="AuctionOnline " outcome ="/index " />
</ div >
< div id ="navbar " class ="navbar-collapse collapse ">
< ul class ="nav navbar-nav ">
< li > < h:link value ="Home " outcome ="/index " /></ li >
< li > < h:link value ="Create new user " outcome ="/html/createUser " /></ li >
< li > < h:link value ="Create new productentry " outcome ="/html/createProduct " /></ li >
< li class ="dropdown ">
< a href ="# " class ="dropdown-toggle " data-toggle ="dropdown " role ="button " aria-haspopup ="true " aria-expanded ="false "> Admin < span class ="caret "> </ span > </ a >
< ul class ="dropdown-menu ">
< li > < h:link value ="Approve productentry " outcome ="/html/approveEntries " /></ li >
< li > < h:link value ="Delete productentry " outcome ="/html/deleteEntries " /></ li >
<!-- <li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>-->
</ ul >
</ li >
</ ul >
< ul class ="nav navbar-nav navbar-right ">
< c:choose >
< c:when test ="#{empty user} ">
< li > < h:link value ="Login " outcome ="/html/login " /></ li >
< li > < h:link value ="Register " outcome ="/html/createUser " /></ li >
</ c:when >
< c:otherwise >
< li class ="active "> < h:link value ="#{user.firstname} " outcome ="/index "> </ h:link > </ li >
< li >
< h:form >
< h:commandLink value ="logout " action ="#{PersonView.logout} " />
</ h:form >
</ li >
</ c:otherwise >
</ c:choose >
</ ul >
</ div > <!--/.nav-collapse -->
</ div >
</ nav >
< ui:insert name ="top "> </ ui:insert >
</ div >
<!-- Fixed navbar -->
<!-- Static navbar -->
< div id ="content " >
< div class ="container ">
< ui:insert name ="content "> </ ui:insert >
</ div >
</ div >
< div id ="bottom ">
< ui:insert name ="bottom "> </ ui:insert >
< div class ="table-block ">
<!-- Page Footer Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
< div class ="container ">
< footer id ="footer " class ="twelve columns ">
< p > AuctionOnline | Maarten Van Goubergen, Anton Hollands and Maarten Pijnenborg</ p >
</ footer >
</ div > <!-- end footer div.container -->
</ div > <!-- end footer div.table-block -->
</ div >
< div id ="bottom ">
< ui:insert name ="bottom "> </ ui:insert >
< div class ="table-block ">
<!-- Page Footer Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
< div class ="container ">
< footer id ="footer " class ="twelve columns ">
< p > AuctionOnline | Maarten Van Goubergen, Anton Hollands and Maarten Pijnenborg</ p >
</ footer >
</ div > <!-- end footer div.container -->
</ div > <!-- end footer div.table-block -->
</ div >