Commit aaa3eb8c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

login panel is generated via javascript

parent bc10d450
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:p="http://primefaces.org/ui">
<h:outputStylesheet library="css" name="global.css" />
<div id="userTab">
<div name="userLoginTab" class="searchPanel">
<h5>AUTHORIZATION FORM:</h5>
<div style="width:100%;display: table;border-spacing: 10px;">
<div style="display: table-row;">
<div style="display: table-cell;">LOGIN:</div>
<div style="display: table-cell;"><input type="text" name="loginText" style="width:100%"/></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;">PASSWORD:</div>
<div style="display: table-cell;"><input type="password" name="passwordText"/></div>:w
</div>
</div>
<center><button name="loginButton">LOGIN</button></center>
</div>
<div name="userDataTab" class="searchPanel" style="display:none">
<h3>
<img src="./resources/images/profile.png" border="0" align="left"/>
<br/>
WELCOME
<br/>
</h3>
<div style="width:100%;display: table;border-spacing: 10px;">
<div style="display: table-row;">
<div style="display: table-cell;"><span style="color:#999999">LOGIN:</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span name="loginValue">LOGIN...</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span style="color:#999999">NAME:</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span name="nameValue">...</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span style="color:#999999">SURNAME:</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span name="surnameValue">...</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span style="color:#999999">EMAIL:</span></div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;"><span name="emailValue">...</span></div>
</div>
</div>
<center><button name="logoutButton">LOGOUT</button></center>
</div>
</div>
</html>
......@@ -95,7 +95,7 @@ function initMap(){
<div id="overlayTab"/>
</p:tab >
<p:tab id="loginTab" title="&lt;div class='tngContainer'&gt;&lt;div class='tng'&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='maintabdiv'&gt;&lt;i class='fa fa-sign-in maintab'&gt;&lt;/i&gt;&lt;br&gt;LOGIN&lt;/div&gt;" styleClass="leftTab">
<ui:include src="/WEB-INF/components/map/loginPanel.xhtml" />
<div id="userTab"/>
</p:tab >
<p:tab id="submapTab" title="&lt;div class='tngContainer'&gt;&lt;div class='tng'&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class='maintabdiv'&gt;&lt;i class='fa fa-sitemap maintab'&gt;&lt;/i&gt;&lt;br&gt;SUBMAPS&lt;/div&gt;" styleClass="leftTab">
<ui:include src="/WEB-INF/components/map/submapPanel.xhtml" />
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment