<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>

<link type='text/css' href='<%=request.getContextPath()%>/css/general/changePassword.css' rel='stylesheet'
      media='screen'/>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/main/changePassword.js"></script>
<style type="text/css">
    .viewMainPage {
        float: right;
    }
</style>
<div id="usLogout">

    <a href="logout.action" class="logout">
        <img src="<%=request.getContextPath()%>/images/logout/logout.png" width="32" height="32" title="Logout"
             style="border: none;"/>
    </a>
    <a href="viewMainPage.action" class="viewMainPage">
        <img src="<%=request.getContextPath()%>/images/networks/network1.png" width="32" height="32"
             title="Edit Profile" style="border: none;"/>
    </a>

    <div style="float: right;margin-right: 10px;">
        <s:property value="#session.user.username"/>
    </div>
</div>
<h3 id="titleProfile"> Profile </h3>

<div id="changingOthers">

    <div class="eachRow">
        <div class="eachRowLabel">Username :</div>
        <s:property value="#session.user.username"/>
    </div>

    <div class="eachRow">
        <div class="eachRowLabel"> Email :</div>
        <s:property value="#session.user.email"/>
    </div>
    <div class="eachRow">
        <div class="eachRowLabel">Name :</div>
        <s:property value="#session.user.name"/>
    </div>
    <div class="eachRow">
        <div class="eachRowLabel">Surname :</div>
        <s:property value="#session.user.surname"/>
    </div>
    <div class="eachRow">
        <div class="eachRowLabel"> Phone :</div>
        <s:property value="#session.user.phone"/>
    </div>
    <div class="eachRow">
        <div class="eachRowLabel"> User type :</div>
        <s:property value="#session.user.userType.title"/>
    </div>
    <a href="profileEditOperator.action" style="margin-left: 120px;float: left;margin-top: 10px;">Edit Profile</a>
</div>


