</div>
</nav>
- <table class="table table-hover">
- <thead>
- <tr>
- <th class="text-center" style="width: 40px">
- <label for="select-all" class="sr-only">Wybierz wszystkie pliki</label>
- <input id="select-all" type="checkbox" autocomplete="off">
- </th>
- <th style="width: 40px"></th>
- <th>Nazwa</th>
- <th style="width: 120px">Rozmiar</th>
- <th style="width: 200px">Data</th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
+ <div id="list">
+ <table class="table table-hover">
+ <thead>
+ <tr>
+ <th class="text-center" style="width: 40px">
+ <label for="select-all" class="sr-only">Wybierz wszystkie pliki</label>
+ <input id="select-all" type="checkbox" autocomplete="off">
+ </th>
+ <th style="width: 40px"></th>
+ <th>Nazwa</th>
+ <th style="width: 120px">Rozmiar</th>
+ <th style="width: 200px">Data</th>
+ </tr>
+ </thead>
+ <tbody></tbody>
+ </table>
- <div id="no-items" class="alert alert-info" hidden>
- <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
- Brak elementów
- </div>
+ <div id="no-items" class="alert alert-info" hidden>
+ <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
+ Brak elementów
+ </div>
- <div id="error" class="alert alert-danger" hidden>
- <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
- <span class="msg"></span>
+ <div id="error" class="alert alert-danger" hidden>
+ <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
+ <span class="msg"></span>
+ </div>
</div>
<div id="spinner-overlay"></div>
{% block extra_css %}
<link href="{% static 'qcg/selectize/selectize.bootstrap3.css' %}" rel="stylesheet">
+
+ <style>
+ html {
+ height: 100%;
+ }
+
+ body {
+ height: 100%;
+ margin-bottom: 0;
+ }
+
+ body > .container {
+ height: calc(100% - 122px);
+ overflow-y: hidden;
+ }
+ </style>
{% endblock %}
{% block extra_js %}
{% endblock container %}
{% block footer %}
- <footer class="navbar navbar-default navbar-fixed-bottom" style="position:fixed">
+ <footer class="navbar navbar-default navbar-fixed-bottom">
<div class="container">
<div class="btn-toolbar" role="toolbar" style="float: left">
<div class="btn-group" role="group">
$('.working-dir').on('click', function() {
filex.load($(this).data('url'));
});
+
+ $('#gridftp').one('show.bs.modal', function() {
+ $(this).find('.modal-body').css('height', window.innerHeight - 120 + 'px');
+ });
});
</script>
{% endblock extra_js %}