Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tv_panel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hermod
tv_panel
Commits
3f65008c
Commit
3f65008c
authored
7 years ago
by
Aymeric Bernard
Browse files
Options
Downloads
Patches
Plain Diff
Redesigned front-end
parent
fe48bf23
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
front/src/App.js
+0
-2
0 additions, 2 deletions
front/src/App.js
front/src/Row.js
+1
-1
1 addition, 1 deletion
front/src/Row.js
front/src/index.html
+3
-3
3 additions, 3 deletions
front/src/index.html
front/src/style.css
+7
-7
7 additions, 7 deletions
front/src/style.css
with
11 additions
and
13 deletions
front/src/App.js
+
0
−
2
View file @
3f65008c
...
...
@@ -21,9 +21,7 @@ class App extends Component {
render
()
{
return
(
<
div
>
<
hr
className
=
"
mini
"
/>
{
this
.
state
.
data
.
rows
.
map
(
row
=>
<
Row
row
=
{
row
}
/>
)
}
<
hr
style
=
{{
color
:
'
#DDDDDD
'
}}
/
>
<
div
className
=
"
mini
"
>
<
p
>
Last
data
:
{
new
Date
(
Date
.
now
()).
toLocaleString
()};
TTL
:
{
this
.
state
.
data
.
ttl
/
1000
}
s
...
...
This diff is collapsed.
Click to expand it.
front/src/Row.js
+
1
−
1
View file @
3f65008c
...
...
@@ -49,7 +49,7 @@ const Row = ({ row }) => {
break
;
}
return
(
<
div
style
=
{{
backgroundColor
:
'
#F2F2FF
'
,
padding
:
'
10px
'
}}
>
<
div
style
=
{{
padding
:
'
10px
'
}}
>
<
SubRow
row
=
{
row
}
/
>
<
/div
>
);
...
...
This diff is collapsed.
Click to expand it.
front/src/index.html
+
3
−
3
View file @
3f65008c
...
...
@@ -7,14 +7,14 @@
</head>
<body>
<div
id=
"panel_data"
></div>
<p
style=
"color: #DDDDDD"
>
Date:
<span
id=
"date"
>
Not connected
</span>
</p>
<div
id=
"panel_data"
></div>
<style
type=
"text/css"
id=
"root"
></style>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.slim.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
front/src/style.css
+
7
−
7
View file @
3f65008c
html
{
background-color
:
#eee
;
}
.mini
p
{
color
:
#ddd
ddd
;
color
:
#ddd
;
margin
:
0
;
}
.bloc
{
background-color
:
#fff
;
margin-bottom
:
10px
;
box-shadow
:
0px
6px
10px
0px
#aaa
;
}
.text-bloc
{
min-height
:
var
(
--rowHeight
);
border
:
1px
solid
black
;
background-color
:
#e2ffe0
;
padding
:
10px
;
display
:
flex
;
justify-content
:
space-between
;
}
.image-bloc
{
border
:
1px
solid
black
;
background-color
:
#ffdddd
;
}
.image-bloc
img
{
...
...
@@ -29,8 +31,6 @@
}
.image-text-bloc
{
border
:
1px
solid
black
;
background-color
:
#ffffdd
;
padding
:
10px
;
display
:
flex
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment