Commit b51398f7 authored by Liing Pang Ryan's avatar Liing Pang Ryan
Browse files

Modified to not show sidebar when user is not connected

parent 5e3d9cd7
......@@ -17,7 +17,7 @@
<%@ include file="login.jsp" %>
<div style="position: absolute; top: 80px;left:0;width:100%">
<div class="story_title">${empty story? "no title" :story.titre}</div>
<div class="column edit_sideBar">
<div class="${empty sessionScope.username?"column edit_sideBar_block":"column edit_sideBar"}">
<c:if test="${edit}" var="maVariable" scope="request">
<div id="switch_mode" class="${published?"edit_mode":"edit_mode_block"}" onclick="switchMode()"><button>Edit Mode</button></div>
</c:if>
......
......@@ -306,6 +306,9 @@
min-height:600px;
border-radius: 0 30px 30px 0;
}
.column.edit_sideBar_block{
width:20%;
}
.edit_mode{
height:70px;
margin-top: 5px;
......
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