Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
XML-Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pdler
XML-Tech
Commits
d270e166
Commit
d270e166
authored
7 years ago
by
moogdo49
Browse files
Options
Downloads
Patches
Plain Diff
neue Datei: templates/filter.html
parent
95fc9ab2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/filter.html
+90
-0
90 additions, 0 deletions
templates/filter.html
with
90 additions
and
0 deletions
templates/filter.html
0 → 100644
+
90
−
0
View file @
d270e166
<!DOCTYPE html>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{ url_for('static',filename='stylesheet.css') }}"
>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
AMK
</title>
<h1>
AMK
</h1>
<h3>
Atemberaubende Museums-Holzschnitt Kollektion
</h3>
</head>
<body
id=
"Startseite"
>
<div
class=
"suchfeld"
>
<form
action=
"{{ url_for('search') }}"
method=
"post"
>
<input
type=
"text"
name=
"holzschnitte"
>
<datalist
id=
"Holzschnitte"
>
<option
value=
"Autor"
>
</datalist>
<input
type=
"submit"
value=
"suchen"
>
</form>
</div>
<div
class=
"menue"
>
<ul
id=
"navibereich"
>
<li><a
href=
"https://www.wikidata.org/wiki/Wikidata:Main_Page"
>
WikiData
</a></li>
<li><a
href=
"{{ url_for('filter') }}"
>
Filter
</a></li>
</ul>
</div>
{% if filter %}
<div
class=
"filter"
>
<form
name=
"kunstler"
>
<h5>
Künstler:
</h5>
<ul>
{% for letter in letters %}
<form
name=
"{{ letter.name }}"
>
<li
onclick=
"renderListe('{{ letter.name }}')"
style=
"display: inline-block;"
>
{{ letter.name }}
<br>
</li><br>
<form
name=
"kunstlerliste"
>
<ul
id=
"{{ letter.name }}"
style=
" display: none;"
>
{% for object in objects %}
{% if object["anfang"] == letter["name"] %}
<li>
<a
style=
"display: table-row; color: black;"
href=
"{{ url_for('.filterActor',kunstler=object.name) }}"
>
{{ object.name }}
</a>
</li>
<br>
{% endif %}
{% endfor %}
</ul>
</form>
</form>
{% endfor %}
</ul>
</form>
<form
name=
"datumliste"
>
<h6>
Datum:
</h6>
<ul>
{% for date in dates %}
<li>
<a
style=
"display: table-row; color: black;"
href=
"{{ url_for('.filterDatum',datum=date.datum) }}"
>
{{ date.datum }}
</a>
</li>
<br>
{% endfor %}
</ul>
</form>
<form
name=
"ortliste"
>
<h7>
Ort:
</h7>
<ul>
{% for ort in orte %}
<li>
<a
style=
"display: table-row; color: black;"
href=
"{{ url_for('.filterOrt',ort=ort.ort) }}"
>
{{ ort.ort }}
</a>
</li>
<br>
{% endfor %}
</ul>
</form>
</div>
{% else %}
<h6>
{{ text }}
</h6>
{% endif %}
<script>
function
renderListe
(
letter
)
{
liste
=
document
.
getElementById
(
letter
);
console
.
log
(
liste
.
style
.
display
);
if
(
liste
.
style
.
display
==
'
none
'
)
{
liste
.
style
.
display
=
'
initial
'
;
}
else
{
liste
.
style
.
display
=
'
none
'
;
}
}
</script>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment