Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBViewerAPI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBViewerAPI
Commits
5ee6d9c3
Commit
5ee6d9c3
authored
Feb 29, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
14ccb659
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
responsive-tables.css
webapp/css/responsive-tables.css
+1
-1
index.php
webapp/index.php
+2
-3
No files found.
webapp/css/responsive-tables.css
View file @
5ee6d9c3
...
...
@@ -27,7 +27,7 @@ table td, table th { padding: 9px 10px; text-align: left; }
.pinned
td
:last-child
{
border-bottom
:
0
;
}
div
.table-wrapper
{
position
:
relative
;
margin-bottom
:
20px
;
overflow
:
hidden
;
border-right
:
1px
solid
#ccc
;
}
div
.table-wrapper
div
.scrollable
{
margin-left
:
3
5%
;
}
div
.table-wrapper
div
.scrollable
{
margin-left
:
2
5%
;
}
div
.table-wrapper
div
.scrollable
{
overflow
:
scroll
;
overflow-y
:
hidden
;
}
table
.responsive
td
,
table
.responsive
th
{
position
:
relative
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
...
...
webapp/index.php
View file @
5ee6d9c3
...
...
@@ -16,8 +16,7 @@ function jsonCacheDecoder($url){
}
function
TableRowRights
(
$Api
,
$Data
=
null
){
$ret
=
'<tr>'
.
'<td>'
.
$Data
[
"from"
]
.
'</td>'
.
'<td>'
.
$Data
[
"to"
]
.
'</td>'
;
'<td>'
.
$Data
[
"from"
]
.
' - '
.
$Data
[
"to"
]
.
'</td>'
;
$Api
->
SpaltenFilme
;
foreach
(
$Api
->
SpaltenFilme
as
$value
)
{
...
...
@@ -136,7 +135,7 @@ if($_GET["action"] == "filme"){
var_dump
(
$Data
);
$content
.=
ob_get_clean
();
$content
.=
'<table border="1" class="responsive">'
.
PHP_EOL
;
$content
.=
'<tr><th>Von
</th><th>b
is</th>'
;
$content
.=
'<tr><th>Von
- B
is</th>'
;
foreach
(
$API
->
SpaltenFilme
as
$value
)
{
$content
.=
'<th>'
.
$value
.
'</th>'
;
}
...
...
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