Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dbpedia-assoc
MARVIN-config
Commits
1675e4de
Commit
1675e4de
authored
Jul 14, 2020
by
Sebastian Hellmann
Browse files
hotfixes
parent
52796cff
Changes
2
Show whitespace changes
Inline
Side-by-side
dashboard/src/main/webapp/index.html
View file @
1675e4de
...
...
@@ -24,7 +24,7 @@
<a
href=
"#"
class=
"navbar-band d-block mx-auto text-center py-3 mb-4 bottom-border"
>
<img
class=
"dbp-logo"
src=
"images/DBpediaLogo.svg"
>
</a>
<h3
class=
"text-dark text-center"
>
MARVIN Release B
OT
</h3>
<h3
class=
"text-dark text-center"
>
MARVIN Release B
ot
</h3>
<!-- version-list -->
<!-- data-url="data.json" data-toggle="table" -->
<div
class=
"version-table"
>
...
...
@@ -91,8 +91,10 @@
<div
class=
"col-sm-5 p-3"
id=
"placeholder"
>
<h2
class=
"text-info"
>
TODO
</h2>
<ul>
<li>
logs: data
</li>
<li>
wikidumps: chart data
</li>
<li>
https
</li>
<li>
Aggregated Release Statistics
</li>
<li>
detailed descriptions what to find here
</li>
<li>
clearer representation if something went wrong
</li>
<li>
links to databus
</li>
<li>
re-release check
</li>
</ul>
...
...
@@ -131,7 +133,7 @@
<div
class=
"card-body"
>
<h4>
Facts per second
</h4>
<p>
TODO
<h1>
5200 Triples/sec.
</h1>
</p>
</div>
</div>
...
...
@@ -141,7 +143,11 @@
<div
class=
"card-body"
>
<h4>
Extracted Wikis
</h4>
<p>
"af", "als", "am", "an", "ar", "arz", "ast", "az", "azb", "ba", "bar", "batsmg", "be", "bg", "bn", "bpy", "br", "bs", "bug", "ca", "cdo", "ce", "ceb", "ckb", "cs", "commons", "cv", "cy", "da", "de", "el", "eml", "en", "eo", "es", "et", "eu", "fa", "fi", "fo", "fr", "fy", "ga", "gd", "gl", "gu", "he", "hi", "hr", "hsb", "ht", "hu", "hy", "ia", "id", "ilo", "io", "is", "it", "ja", "jv", "ka", "kk", "kn", "ko", "ku", "ky", "la", "lb", "li", "lmo", "lt", "lv", "mai", "mg", "mhr", "min", "mk", "ml", "mn", "mr", "mrj", "ms", "my", "mzn", "nan", "nap", "nds", "ne", "new", "nl", "nn", "no", "oc", "or", "os", "pa", "pl", "pms", "pnb", "pt", "qu", "ro", "ru", "sa", "sah", "scn", "sco", "sd", "sh", "si", "simple", "sk", "sl", "sq", "sr", "su", "sv", "sw", "ta", "te", "tg", "th", "tl", "tr", "tt", "uk", "ur", "uz", "vec", "vi", "vo", "wa", "war", "wuu", "xmf", "yi", "yo", "yue", "zh"
<h1>
140 wikis
</h1>
<!--
af,als,am,an,ar", "arz", "ast", "az", "azb", "ba", "bar", "batsmg", "be", "bg", "bn", "bpy", "br", "bs", "bug", "ca", "cdo", "ce", "ceb", "ckb", "cs", "commons", "cv", "cy", "da", "de", "el", "eml", "en", "eo", "es", "et", "eu", "fa", "fi", "fo", "fr", "fy", "ga", "gd", "gl", "gu", "he", "hi", "hr", "hsb", "ht", "hu", "hy", "ia", "id", "ilo", "io", "is", "it", "ja", "jv", "ka", "kk", "kn", "ko", "ku", "ky", "la", "lb", "li", "lmo", "lt", "lv", "mai", "mg", "mhr", "min", "mk", "ml", "mn", "mr", "mrj", "ms", "my", "mzn", "nan", "nap", "nds", "ne", "new", "nl", "nn", "no", "oc", "or", "os", "pa", "pl", "pms", "pnb", "pt", "qu", "ro", "ru", "sa", "sah", "scn", "sco", "sd", "sh", "si", "simple", "sk", "sl", "sq", "sr", "su", "sv", "sw", "ta", "te", "tg", "th", "tl", "tr", "tt", "uk", "ur", "uz", "vec", "vi", "vo", "wa", "war", "wuu", "xmf", "yi", "yo", "yue", "zh"
-->
</p>
</div>
</div>
...
...
@@ -151,8 +157,7 @@
<div
class=
"card-body"
>
<h4>
Triples Chart
</h4>
<p>
TODO: file size
<br>
TODO: triples per month
TODO
</p>
</div>
</div>
...
...
dashboard/src/main/webapp/js/dashboard.js
View file @
1675e4de
const
api
=
"
http://localhost:8080
/api/
"
const
api
=
"
/api/
"
/* anchor scroll offset */
window
.
addEventListener
(
"
hashchange
"
,
function
()
{
...
...
@@ -109,6 +109,7 @@ function getLogs(group) {
var
processLogs
=
[]
var
doneSteps
=
0
var
isRunning
=
false
data
.
forEach
(
element
=>
{
...
...
@@ -116,6 +117,8 @@ function getLogs(group) {
if
(
state
==
0
)
{
state
=
'
<strong class="text-warning">WARN</strong>
'
}
else
if
(
state
==
1
)
{
doneSteps
+=
1
isRunning
=
true
state
=
'
<strong class="text-success">RUN</strong>
'
}
else
{
doneSteps
+=
1
...
...
@@ -128,6 +131,8 @@ function getLogs(group) {
processLogs
.
push
({
'
state
'
:
state
,
'
description
'
:
description
,
'
filename
'
:
`<a href="
${
url
}
">
${
file
}
</a>`
})
})
if
(
isRunning
)
doneSteps
-=
1
;
setProgress
(
group
,
doneSteps
,
6
)
logTable
.
bootstrapTable
({
'
data
'
:
processLogs
})
});
...
...
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