Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
re2o
Commits
8cab7e90
Commit
8cab7e90
authored
Mar 23, 2018
by
grisel-davy
Browse files
ajout de div pour rendre les tables scrollables horizontalement
parent
ce95e882
Changes
3
Hide whitespace changes
Inline
Side-by-side
cotisations/templates/cotisations/aff_cotisations.html
View file @
8cab7e90
...
...
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endcomment %}
{% load acl %}
<div
class=
"table-responsive"
>
{% if facture_list.paginator %}
{% include "pagination.html" with list=facture_list %}
{% endif %}
...
...
@@ -85,4 +85,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if facture_list.paginator %}
{% include "pagination.html" with list=facture_list %}
{% endif %}
</div>
machines/templates/machines/aff_machines.html
View file @
8cab7e90
...
...
@@ -23,11 +23,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endcomment %}
{% load acl %}
<div
class=
"table-responsive"
>
{% if machines_list.paginator %}
{% include "pagination.html" with list=machines_list %}
{% endif %}
<table
class=
"table"
id=
"machines_table"
>
<colgroup>
<col>
...
...
@@ -175,6 +176,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</tbody>
</table>
<script>
$
(
"
#machines_table
"
).
ready
(
function
()
{
var
alias_div
=
[{
%
for
machine
in
machines_list
%
}{
%
for
interface
in
machine
.
interface_set
.
all
%
}{
%
if
interface
.
domain
.
related_domain
.
all
%
}
$
(
"
#collapseDomain_{{interface.id}}
"
),
{
%
endif
%
}{
%
endfor
%
}{
%
endfor
%
}];
...
...
@@ -193,3 +195,4 @@ $("#machines_table").ready( function() {
{% if machines_list.paginator %}
{% include "pagination.html" with list=machines_list %}
{% endif %}
</div>
users/templates/users/aff_users.html
View file @
8cab7e90
...
...
@@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
<div
class=
"table-responsive"
>
{% if users_list.paginator %}
{% include "pagination.html" with list=users_list %}
{% endif %}
...
...
@@ -60,3 +60,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if users_list.paginator %}
{% include "pagination.html" with list=users_list %}
{% endif %}
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment