Move lock button at the top of the conf menu

master
Daniel Berteaud 11 years ago
parent 43f3fba40b
commit 2b461fbc59
  1. 28
      templates/default/join.html.ep

@ -94,6 +94,18 @@
</button> </button>
<ul class="dropdown-menu" role="menu" aria-labelledby="confMenuButton" id="confMenu"> <ul class="dropdown-menu" role="menu" aria-labelledby="confMenuButton" id="confMenu">
<li> <li>
<div class="navbar-form">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default<%= $locked eq 'checked' ? ' btn-danger active':'' %> help" id="lockLabel" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PREVENT_TO_JOIN' %>">
<input type="checkbox" id="lockButton" <%= $locked %>>
<span class="glyphicon glyphicon-lock">
</span>
</label>
</div>
</div>
</li>
<li class="divider"></li>
<li>
<form class="navbar-form" id="joinPassForm"> <form class="navbar-form" id="joinPassForm">
<center> <center>
<p><%=l 'YOU_CAN_PASSWORD_PROTECT_JOIN' %></p> <p><%=l 'YOU_CAN_PASSWORD_PROTECT_JOIN' %></p>
@ -159,22 +171,6 @@
</div> </div>
</form> </form>
</li> </li>
<li class="divider"></li>
<li>
<li>
<div class="navbar-form">
<center>
<p><%=l 'PREVENT_TO_JOIN' %></p>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default<%= $locked eq 'checked' ? ' btn-danger active':'' %> help" id="lockLabel" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PREVENT_TO_JOIN' %>">
<input type="checkbox" id="lockButton" <%= $locked %>>
<span class="glyphicon glyphicon-lock">
</span>
</label>
</div>
</center>
</div>
</li>
</ul> </ul>
</div> </div>
<div class="btn-group navbar-form navbar-right" data-toggle="buttons" > <div class="btn-group navbar-form navbar-right" data-toggle="buttons" >

Loading…
Cancel
Save