Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amrani
erp5
Commits
2f458207
Commit
2f458207
authored
Mar 26, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Form: Matrixbox: drop deprecated attributes
Drop usage of cellpadding, cellspacing, border.
parent
8a0f80fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.css
...inTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.css
+4
-0
product/ERP5Form/MatrixBox.py
product/ERP5Form/MatrixBox.py
+2
-2
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.css
View file @
2f458207
...
...
@@ -1056,6 +1056,7 @@ div.search .searchPages .selected{
border-bottom-width
:
1px
;
border-left-width
:
1px
;
border-right-width
:
1px
;
border-spacing
:
1px
;
}
.MatrixContent
tr
.matrixbox_label_line
{
...
...
@@ -1095,6 +1096,7 @@ div.search .searchPages .selected{
border-bottom-width
:
0
;
border-left-width
:
1px
;
border-right-width
:
1px
;
padding
:
0
;
padding-left
:
1px
;
padding-right
:
1px
;
}
...
...
@@ -1105,6 +1107,8 @@ div.search .searchPages .selected{
.MatrixContent
td
.footer
{
width
:
100pt
;
vertical-align
:
middle
;
text-align
:
center
;
}
...
...
product/ERP5Form/MatrixBox.py
View file @
2f458207
...
...
@@ -303,14 +303,14 @@ class MatrixBoxWidget(Widget.Widget):
<!-- Matrix Content -->
<div class="matrixbox_label_tab">%s</div>
<div class="MatrixContent">
<table
cellpadding="0" cellspacing="0" border="0"
>
<table>
"""
%
(
first_tab
+
extra_dimension_label
)
# Create the footer. This should be replaced by DTML
# And work as some kind of parameter
footer
=
"""
\
<tr>
<td colspan="%s"
align="center" valign="middle"
<td colspan="%s"
class="Data footer">
</td>
</tr>
...
...
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