diff --git a/admin/tools/users.tool b/admin/tools/users.tool index b9142b079e56d28dc3280c7ec17668bf320bb054..95f0bb891bb8d42d6763e8cdf7dc43188ce7b69d 100644 --- a/admin/tools/users.tool +++ b/admin/tools/users.tool @@ -1,28 +1,16 @@ -<div class="row"> - <div class="col-xs-10 col-md-11"> - <div class="users-table-wrapper"> - <div class="tools-full-height"> - <table class="table table-hover users-table"> - <thead> - <tr> - </tr> - </thead> - <tbody> - </tbody> - </table> - </div> - </div> - </div> - <div class="col-xs-2 col-md-1"> - <div class="users-sidebar tools-full-height"> - <div class="row"> - <div class="col-sm-12">Test</div> - <div class="col-sm-12">A</div> - <div class="col-sm-12">B</div> - </div> - </div> +<div class="users-table-wrapper"> + <div class="tools-full-height"> + <table class="table table-hover users-table"> + <thead> + <tr> + </tr> + </thead> + <tbody> + </tbody> + </table> </div> </div> + <style> .users-table-wrapper { position: relative; @@ -30,7 +18,7 @@ .users-table-wrapper>div { overflow: auto; } - + .users-sidebar { background: #fff; } @@ -38,16 +26,16 @@ <script type="text/javascript"> var showInTable = ['firstname', 'lastname', 'email', 'membership']; amivcore.users.GET({data:{'max_results':'50'}}, function(ret){ - + if(!ret || ret['_items'].length == 0){ tools.log('No Data', 'w'); return; } - + showInTable.forEach(function(i){ $('.users-table thead tr').append('<th>'+ i +'</th>'); }); - + for(var n in ret['_items']){ var tmp = ''; showInTable.forEach(function(i){ @@ -57,4 +45,4 @@ //$('.users-table tbody').append('<tr><td>'+ret['_items'][n].firstname+'</td></tr>'); } }); -</script> \ No newline at end of file +</script>