Commit 1675e4de authored by Sebastian Hellmann's avatar Sebastian Hellmann
Browse files

hotfixes

parent 52796cff
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<a href="#" class="navbar-band d-block mx-auto text-center py-3 mb-4 bottom-border"> <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"> <img class="dbp-logo" src="images/DBpediaLogo.svg">
</a> </a>
<h3 class="text-dark text-center">MARVIN Release BOT</h3> <h3 class="text-dark text-center">MARVIN Release Bot</h3>
<!-- version-list --> <!-- version-list -->
<!-- data-url="data.json" data-toggle="table" --> <!-- data-url="data.json" data-toggle="table" -->
<div class="version-table"> <div class="version-table">
...@@ -91,8 +91,10 @@ ...@@ -91,8 +91,10 @@
<div class="col-sm-5 p-3" id="placeholder"> <div class="col-sm-5 p-3" id="placeholder">
<h2 class="text-info">TODO</h2> <h2 class="text-info">TODO</h2>
<ul> <ul>
<li>logs: data</li> <li>https</li>
<li>wikidumps: chart data</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>links to databus</li>
<li>re-release check</li> <li>re-release check</li>
</ul> </ul>
...@@ -131,7 +133,7 @@ ...@@ -131,7 +133,7 @@
<div class="card-body"> <div class="card-body">
<h4>Facts per second</h4> <h4>Facts per second</h4>
<p> <p>
TODO <h1>5200 Triples/sec.</h1>
</p> </p>
</div> </div>
</div> </div>
...@@ -141,7 +143,11 @@ ...@@ -141,7 +143,11 @@
<div class="card-body"> <div class="card-body">
<h4>Extracted Wikis</h4> <h4>Extracted Wikis</h4>
<p> <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> </p>
</div> </div>
</div> </div>
...@@ -151,8 +157,7 @@ ...@@ -151,8 +157,7 @@
<div class="card-body"> <div class="card-body">
<h4>Triples Chart</h4> <h4>Triples Chart</h4>
<p> <p>
TODO: file size<br> TODO
TODO: triples per month
</p> </p>
</div> </div>
</div> </div>
...@@ -489,4 +494,4 @@ ...@@ -489,4 +494,4 @@
<script src="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table.min.js"></script> <script src="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table.min.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="js/dashboard.js"></script> <script src="js/dashboard.js"></script>
</body> </body>
\ No newline at end of file
const api = "http://localhost:8080/api/" const api = "/api/"
/* anchor scroll offset */ /* anchor scroll offset */
window.addEventListener("hashchange", function () { window.addEventListener("hashchange", function () {
...@@ -109,6 +109,7 @@ function getLogs(group) { ...@@ -109,6 +109,7 @@ function getLogs(group) {
var processLogs = [] var processLogs = []
var doneSteps = 0 var doneSteps = 0
var isRunning = false
data.forEach(element => { data.forEach(element => {
...@@ -116,6 +117,8 @@ function getLogs(group) { ...@@ -116,6 +117,8 @@ function getLogs(group) {
if (state == 0) { if (state == 0) {
state = '<strong class="text-warning">WARN</strong>' state = '<strong class="text-warning">WARN</strong>'
} else if (state == 1) { } else if (state == 1) {
doneSteps += 1
isRunning = true
state = '<strong class="text-success">RUN</strong>' state = '<strong class="text-success">RUN</strong>'
} else { } else {
doneSteps += 1 doneSteps += 1
...@@ -128,6 +131,8 @@ function getLogs(group) { ...@@ -128,6 +131,8 @@ function getLogs(group) {
processLogs.push({ 'state': state, 'description': description, 'filename': `<a href="${url}">${file}</a>` }) processLogs.push({ 'state': state, 'description': description, 'filename': `<a href="${url}">${file}</a>` })
}) })
if ( isRunning ) doneSteps -= 1;
setProgress(group, doneSteps, 6) setProgress(group, doneSteps, 6)
logTable.bootstrapTable({ 'data': processLogs }) logTable.bootstrapTable({ 'data': processLogs })
}); });
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment