Skip to content

Commit dd99264

Browse files
committed
Add missing .map files and update YASGUI
Update YASQE to 2.11.19 and YASR to 2.12.19, use [yasqe,yasr].bundled.js versions, which inclue dependencies like codemirror. Adjust the according script lines in the templates.
1 parent efc5518 commit dd99264

File tree

11 files changed

+75
-9399
lines changed

11 files changed

+75
-9399
lines changed

quit/web/static/css/bootstrap.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/static/css/yasqe.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/static/css/yasr.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/static/js/codemirror.js

Lines changed: 0 additions & 9351 deletions
This file was deleted.

quit/web/static/js/yasqe.min.js

Lines changed: 17 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/static/js/yasqe.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/static/js/yasr.min.js

Lines changed: 31 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/static/js/yasr.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quit/web/templates/base.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@
44
{%- block html %}
55
<head>
66
{%- block head %}
7-
<title>{% block title %}{{title|default}}{% endblock title %}</title>
7+
<title>{% block title %}{{title|default}}{% endblock title %}</title>
8+
<meta charset="utf-8">
89

910
{%- block metas %}
10-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
11+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1112
{%- endblock metas %}
1213

1314
{%- block styles %}
1415
<!-- Bootstrap -->
15-
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/bootstrap.min.css') }}" />
16-
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/font-awesome.min.css') }}" />
17-
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/quit.css') }}" />
16+
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/bootstrap.min.css') }}" />
17+
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/font-awesome.min.css') }}" />
18+
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/quit.css') }}" />
1819
{%- endblock styles %}
19-
<script type="text/javascript">
20-
var inline_functions = [];
21-
</script>
20+
<script type="text/javascript">
21+
var inline_functions = [];
22+
</script>
2223
{%- endblock head %}
2324
</head>
2425
<body{% block body_attribs %}{% endblock body_attribs %}>

quit/web/templates/provenance.html

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,23 @@
99

1010
{% block scripts %}
1111
{{super()}}
12-
<script src="{{ url_for('static', filename='js/codemirror.js') }}"></script>
1312
<script src="{{ url_for('static', filename='js/yasqe.min.js') }}"></script>
1413
<script src="{{ url_for('static', filename='js/yasr.min.js') }}"></script>
1514
<script>
1615
var yasqe = YASQE(document.getElementById("yasqe"), {
17-
createShareLink: null,
18-
sparql: {
19-
showQueryButton: true,
20-
endpoint: '{{ request.base_url }}'
21-
}
22-
});
23-
var yasr = YASR(document.getElementById("yasr"), {
24-
getUsedPrefixes: yasqe.getPrefixesFromQuery,
25-
outputPlugins: ["error", "boolean", "rawResponse", "table"]
26-
});
16+
createShareLink: null,
17+
sparql: {
18+
showQueryButton: true,
19+
endpoint: '{{ request.base_url }}'
20+
}
21+
});
22+
var yasr = YASR(document.getElementById("yasr"), {
23+
getUsedPrefixes: yasqe.getPrefixesFromQuery,
24+
outputPlugins: ["error", "boolean", "rawResponse", "table"]
25+
});
2726

28-
//link both together
29-
yasqe.options.sparql.callbacks.complete = yasr.setResponse;
27+
//link both together
28+
yasqe.options.sparql.callbacks.complete = yasr.setResponse;
3029
</script>
3130
{% endblock %}
3231

@@ -35,4 +34,4 @@
3534
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/codemirror.css') }}" />
3635
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/yasqe.min.css') }}" />
3736
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='css/yasr.min.css') }}" />
38-
{% endblock %}
37+
{% endblock %}

0 commit comments

Comments
 (0)