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
mahara
mahara
Commits
2e02af9a
Commit
2e02af9a
authored
Nov 11, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Nov 11, 2015
Browse files
Merge "Add class table responsive to admin add link table (bug: 1514281)"
parents
1d607058
f72c2f6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/site/menu.php
View file @
2e02af9a
...
...
@@ -63,7 +63,8 @@ function displaymenuitems(itemlist) {
var
rows
=
map
(
formatrow
,
itemlist
);
var
form
=
FORM
({
'id'
:
'form'
,
'method'
:
'post'
,
'enctype'
:
'multipart/form-data'
,
'encoding'
:
'multipart/form-data'
,
'name'
:
'linksandresourcesform'
},
TABLE
({
'class'
:
'nohead table table-striped'
},
THEAD
(
null
,[
thead
]),
TBODY
(
null
,[
rows
,
addform
()])));
DIV
({
'class'
:
'table-responsive'
},
TABLE
({
'class'
:
'nohead table table-striped'
},
THEAD
(
null
,[
thead
]),
TBODY
(
null
,[
rows
,
addform
()]))));
replaceChildNodes
(
$
(
'menuitemlist'
),
form
);
}
...
...
htdocs/theme/raw/sass/typography/_tables.scss
View file @
2e02af9a
...
...
@@ -116,6 +116,16 @@ td.tiny {
small
{
font-size
:
$font-size-base
-
2
;
}
// admin configure site add link table
&
.nohead
{
th
:not
(
:last-child
)
{
min-width
:
150px
;
@media
(
min-width
:
$screen-sm-min
)
{
min-width
:
auto
;
}
}
}
}
.table-hover
{
...
...
Write
Preview
Supports
Markdown
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