Use lg buttons in admin area

master
Daniel Berteaud 10 years ago
parent fb3f5fa05f
commit e67df85111
  1. 8
      public/js/vroom.js
  2. 4
      templates/default/admin_manage_rooms.html.ep

@ -487,20 +487,20 @@ function initAdminRooms(){
.append($('<td>').html(stringEscape(obj.name))) .append($('<td>').html(stringEscape(obj.name)))
.append($('<td>').html(stringEscape(create)).addClass('hidden-xs')) .append($('<td>').html(stringEscape(create)).addClass('hidden-xs'))
.append($('<td>').html(stringEscape(activity)).addClass('hidden-xs')) .append($('<td>').html(stringEscape(activity)).addClass('hidden-xs'))
.append($('<td>').html(obj.members).addClass('hidden-xs')) .append($('<td>').html(obj.members).addClass('hidden-xs hidden-sm'))
.append($('<td>') .append($('<td>')
.append($('<div>').addClass('btn-group') .append($('<div>').addClass('btn-group')
.append($('<a>').addClass('btn btn-default').attr('href',rootUrl + obj.name) .append($('<a>').addClass('btn btn-default btn-lg').attr('href',rootUrl + obj.name)
.html( .html(
$('<span>').addClass('glyphicon glyphicon-log-in') $('<span>').addClass('glyphicon glyphicon-log-in')
) )
) )
.append($('<button>').addClass('btn btn-default btn-configure').data('room', obj.name) .append($('<button>').addClass('btn btn-default btn-lg btn-configure').data('room', obj.name)
.html( .html(
$('<span>').addClass('glyphicon glyphicon-cog') $('<span>').addClass('glyphicon glyphicon-cog')
) )
) )
.append($('<a>').addClass('btn btn-default btn-remove').data('room', obj.name) .append($('<a>').addClass('btn btn-default btn-lg btn-remove').data('room', obj.name)
.html( .html(
$('<span>').addClass('glyphicon glyphicon-trash') $('<span>').addClass('glyphicon glyphicon-trash')
) )

@ -9,7 +9,7 @@
<div class="panel-heading"> <div class="panel-heading">
<div class="form-inline"> <div class="form-inline">
<div class="form-group"> <div class="form-group">
<div class="input-group"> <div class="input-group input-group-lg">
<input type="text" id="searchRoom" class="form-control" value=""/> <input type="text" id="searchRoom" class="form-control" value=""/>
<div class="input-group-addon"> <div class="input-group-addon">
<span class="glyphicon glyphicon-search"> <span class="glyphicon glyphicon-search">
@ -34,7 +34,7 @@
<th class="hidden-xs"> <th class="hidden-xs">
<%=l 'LAST_ACTIVITY' %> <%=l 'LAST_ACTIVITY' %>
</th> </th>
<th class="hidden-xs"> <th class="hidden-xs hidden-sm">
<%=l 'NUMBER_OF_PARTICIPANTS' %> <%=l 'NUMBER_OF_PARTICIPANTS' %>
</th> </th>
<th> <th>

Loading…
Cancel
Save