Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lionel VEST
societe.ninja
Commits
6bfc16d9
Commit
6bfc16d9
authored
Feb 25, 2022
by
Lionel VEST
Browse files
V 2.16
parent
41abb12b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
data.html
data.html
+2
-0
serviceworker.js
serviceworker.js
+1
-1
No files found.
data.html
View file @
6bfc16d9
...
...
@@ -150,6 +150,7 @@
document
.
getElementById
(
description
).
cells
[
1
].
innerHTML
+=
'
<img src="/images/unavailable.svg" style="height:32px;margin-bottom:-8px"/>
'
else
document
.
getElementById
(
description
).
cells
[
1
].
innerHTML
+=
'
<span style="color:#FF0000">
'
+
data
+
'
</span>
'
document
.
getElementById
(
description
).
cells
[
0
].
firstChild
.
style
.
color
=
'
#FF0000
'
document
.
getElementById
(
description
).
cells
[
1
].
title
=
error_message
document
.
getElementById
(
description
).
cells
[
1
].
style
.
cursor
=
'
pointer
'
document
.
getElementById
(
description
).
cells
[
2
].
title
=
"
Cliquez pour relancer la connexion
"
...
...
@@ -158,6 +159,7 @@
}
else
if
(
data
)
{
document
.
getElementById
(
description
).
cells
[
0
].
firstChild
.
style
.
color
=
''
document
.
getElementById
(
description
).
cells
[
1
].
innerHTML
=
'
<img src="/images/json.svg" style="height:32px;margin-bottom:-8px"/>
'
document
.
getElementById
(
description
).
cells
[
1
].
style
.
cursor
=
'
pointer
'
document
.
getElementById
(
description
).
cells
[
1
].
title
=
'
Clic droit pour afficher les données brutes dans la console (F12)
'
...
...
serviceworker.js
View file @
6bfc16d9
const
cacheName
=
"
societe_ninja-2.1
4
"
const
cacheName
=
"
societe_ninja-2.1
5
"
const
assets
=
[
"
/index.html
"
,
"
/data.html
"
,
...
...
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