Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sefarad
dashboard-gsicrawler
Commits
a6164d4f
Commit
a6164d4f
authored
Oct 06, 2017
by
Alberto Pascual
Browse files
minor fixes
parent
46726ce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
dashboard-reddit.env.html
View file @
a6164d4f
...
...
@@ -52,7 +52,7 @@
<number-chart
icon=
"/images/news.ico"
stylebg=
"bg-yellow"
title=
"
News s
elected"
title=
"
S
elected
elements
"
data=
"{{data}}"
>
</number-chart>
</div>
...
...
@@ -217,7 +217,7 @@
</div>
<div>
<yasgui-ui
endpoint=
"http:///
krusti.gsi:13030
/gsicrawler/query"
endpoint=
"http:///
${FUSEKI_ENDPOINT_DASHBOARD}
/gsicrawler/query"
queries=
"{{queries}}"
>
</yasgui-ui>
</div>
...
...
@@ -303,7 +303,7 @@
})
people
=
this
.
removeDuplicates
(
people
,
'
name
'
)
console
.
log
(
people
)
return
people
.
slice
(
0
,
9
)
return
people
.
slice
(
0
,
8
)
},
removeDuplicates
:
function
(
originalArray
,
prop
){
var
newArray
=
[];
...
...
@@ -350,7 +350,7 @@
// undocumented params are appended to the query string
index
:
"
gsicrawler
"
,
body
:
{
size
:
2
0
,
size
:
2
2
,
query
:
{
multi_match
:{
query
:
this
.
query
,
...
...
@@ -437,7 +437,7 @@
// undocumented params are appended to the query string
index
:
"
gsicrawler
"
,
body
:
{
size
:
2
0
,
size
:
2
2
,
query
:
{
bool
:
{
must
:
this
.
filters
,
...
...
demo/elements/news-chart/news-chart.html
View file @
a6164d4f
...
...
@@ -29,7 +29,7 @@
<span
style=
"font-size:15px; display:inline-block; vertical-align: middle;"
>
{{news.schema:headline}}
</span>
</div>
<div
class=
"col-md-3"
>
<span
style=
"text-align:center;padding-left: 16%;"
>
{{getDate(news.schema:datePublished)}}
</span>
<span
style=
"text-align:center;padding-left: 16%;"
>
{{getDate(news.schema:datePublished)}}
</span>
<iron-icon
style=
"left:96%; top: 8px;"
icon=
"icons:search"
>
</div>
</div>
</div>
...
...
@@ -142,7 +142,7 @@
var
results
=
[]
//console.log(hits)
hits
.
forEach
(
function
(
entry
)
{
results
.
push
(
entry
.
_source
);
if
(
entry
.
_source
[
'
schema:author
'
]
!=
'
twitter
'
)
results
.
push
(
entry
.
_source
);
});
//console.log(results)
that
.
data
=
results
...
...
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