Facebook
From kriss, 7 Years ago, written in HTML5.
Embed
Download Paste or View Raw
Hits: 272
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
  3. <%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <title>Witamy w bazie ryb</title>
  7. <link href="https://fonts.googleapis.com/css?family=Slabo+27px" rel="stylesheet">
  8. <link rel="stylesheet" type="text/css" href="style.css">
  9. </head>
  10.  
  11. <f:view>
  12. <h:form enctype="multipart/form-data">
  13. <div class="calosc">
  14.                 <div class="logo" >
  15.                
  16.                 <h:outputLabel styleClass="napisBaza">BAZA RYB</h:outputLabel>
  17.                 </div>
  18.                
  19.                                         <div class="menu">
  20.                                         <br/>
  21.                                         <br/>
  22.                                         <h:commandButton value="przeglądaj" styleClass="przycisk" action="#{panelBean.showPrzegladaj()}"  ></h:commandButton>
  23.                                         <br/>
  24.                                         <br/>
  25.                                         <h:commandButton value="dodaj" styleClass="przycisk" action="#{panelBean.showDodaj()}"></h:commandButton>
  26.                                         <br/>
  27.                                         <br/>
  28.                                         <h:commandButton value="usuń" styleClass="przycisk" action="#{panelBean.showUsun()}"></h:commandButton>
  29.                                         <br/>
  30.                                         <br/>
  31.                                        
  32.                                        
  33.                                        
  34.                                         </div>
  35.                
  36.                 <div class="aplikacja">
  37.                 <h:panelGroup id="przegladaj" >
  38.                         <h:panelGrid rendered="#{panelBean.renderPrzegladaj }">
  39.                         jestem w przegladaniu
  40.                         </h:panelGrid>
  41.                        
  42.                 </h:panelGroup>
  43.                 <h:panelGroup id="dodaj" >
  44.                         <h:panelGrid rendered="#{panelBean.renderDodaj }">
  45.                        
  46.                                                 NR_EWID:
  47.                                 <h:inputText value="#{clientCtrl.nr_ewidString}"> </h:inputText>       
  48.                                 <br/>
  49.                                 GATUNEK:                       
  50.                                 <h:inputText value="#{clientCtrl.gatunek }"> </h:inputText>
  51.                                 <br/>
  52.                                 <br/>
  53.                                 DLUGOSC_CM:                    
  54.                                 <h:inputText value="#{clientCtrl.dlugosc_cmString }"> </h:inputText>
  55.                                 <br/>
  56.                                 <br/>
  57.                                 WAGA_g:                
  58.                                 <h:inputText value="#{clientCtrl.waga_gString }"> </h:inputText>
  59.                                 <br/>
  60.                                 <br/>
  61.                                 ZDJECIE:                       
  62.                                 <h:inputFile value="#{clientCtrl.image }"> </h:inputFile>
  63.                                 <br/>
  64.                                 <br/>
  65.                                
  66.                                 <h:commandButton value="Dodaj" action="#{clientCtrl.uploadRybaDoBazy()}" > </h:commandButton>
  67.                        
  68.                         </h:panelGrid>
  69.                        
  70.                 </h:panelGroup>
  71.                 <h:panelGroup id="usun" >
  72.                         <h:panelGrid rendered="#{panelBean.renderUsun }">
  73.                         jestem w usuwaniu
  74.                         </h:panelGrid>
  75.                        
  76.                 </h:panelGroup>
  77.                
  78.                
  79.                 </div>
  80.                 <div style="clear: both;"></div>
  81.  
  82.  </div>
  83.  
  84.  
  85.  
  86. </h:form>
  87. </f:view>
  88. </body>
  89. </html>