Add remove pass button

Also simplify password setting for now, remove the confirm password dialog (will probably be added agin once everything is ready and working)
master
Daniel Berteaud 11 years ago
parent 51f4b27c24
commit 0feec74dbd
  1. 13
      templates/default/join.html.ep

@ -94,16 +94,17 @@
<center> <center>
<p><%=l 'YOU_CAN_PASSWORD_PROTECT_JOIN' %></p> <p><%=l 'YOU_CAN_PASSWORD_PROTECT_JOIN' %></p>
</center> </center>
<div class="form-group"> <div class="input-group">
<input type="password" id="joinPass" class="form-control help" placeholder="<%=l 'PASSWORD' %>" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PASSWORD_PROTECT' %>"/> <input type="password" id="joinPass" class="form-control help" placeholder="<%=l 'PASSWORD' %>" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PASSWORD_PROTECT' %>"/>
</div> <span class="input-group-btn">
<div class="form-group"> <button id="setJoinPassButton" type="button" class="btn btn-default help" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PASSWORD_PROTECT' %>">
<input type="password" id="joinPass2" class="form-control help" placeholder="<%=l 'PASSWORD_CONFIRM' %>" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PASSWORD_PROTECT' %>"/>
<span class="form-group-btn">
<button id="joinPassButton" type="submit" class="btn btn-default help" data-toggle="tooltip" data-placement="bottom" title="<%=l 'PASSWORD_PROTECT' %>">
<span class="glyphicon glyphicon-ok" <span class="glyphicon glyphicon-ok"
</span> </span>
</button> </button>
<button id="removeJoinPassButton" type="button" class="btn btn-default help" data-toggle="tooltip" data-placement="bottom" title="<%=l 'REMOVE_PASSWORD' %>">
<span class="glyphicon glyphicon-remove"
</span>
</button>
</span> </span>
</div> </div>
</form> </form>

Loading…
Cancel
Save