From dd93bbde37c821effdb0b78458a531028505db80 Mon Sep 17 00:00:00 2001
From: moogdo49 <moogdo49@mi.fu-berlin.de>
Date: Wed, 12 Jul 2017 14:09:54 +0200
Subject: [PATCH] 	neue Datei:             holzschnitt.xsd 	neue
 Datei:             templates/detail.html

---
 holzschnitt.xsd       | 139 ++++++++++++++++++++++++++++++++++++++++++
 templates/detail.html |  73 ++++++++++++++++++++++
 2 files changed, 212 insertions(+)
 create mode 100644 holzschnitt.xsd
 create mode 100644 templates/detail.html

diff --git a/holzschnitt.xsd b/holzschnitt.xsd
new file mode 100644
index 0000000..38ab72a
--- /dev/null
+++ b/holzschnitt.xsd
@@ -0,0 +1,139 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="root">
+	<xs:complexType>
+		<xs:element name="object">
+			<xs:complexType>
+				<xs:sequence>
+				
+					<xs:element name="recID" type="xs:string">
+						<xs:complexType>
+							<xs:attribute name="recIDSource" type="xs:string"/>
+						</xs:complexType>
+					</xs:element>
+<!-- descriptiveMetadata-->
+					<xs:element name="descriptiveMetadate">
+						<xs:complexType>
+							<xs:sequence>
+<!-- descriptiveMetadata/objectClassification -->
+							<xs:element name="objectClassification">
+								<xs:complexType>
+									<xs:sequence>
+<!-- descriptiveMetadata/objectClassification/objectWorkType-->										
+									<xs:element name="objectWorkType" type="xs:string"/>
+<!-- descriptiveMetadata/objectClassification/classification-->
+									<xs:element name="classification" type="xs:string">
+										<xs:complexType>
+											<xs:attribute name="type" type="xs:string"/>
+										</xs:complexType>
+									</xs:element>
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+<!-- descriptiveMetadata/objectIdentification-->
+							<xs:element name="objectIdentification">
+								<xs:complexType>
+									<xs:sequence>
+<!-- descriptiveMetadata/objectIdentification/titleSet-->
+									<xs:element name="titleSet">
+										<xs:complexType>
+											<xs:attribute name="type" type="xs:string"/>
+<!-- descriptiveMetadata/objectIdentification/titleSet/title-->											
+											<xs:element name="title" type="xs:string"/>
+										</xs:complexType>
+									</xs:element>
+<!-- descriptiveMetadata/objectIdentification/displayObjectMeasurements-->
+									<xs:element name="displayObjectMeasurements" type="xs:string"/>
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+<!-- descriptiveMetadata/eventWrap -->
+							<xs:element name="eventWrap">
+								<xs:complexType>
+									<xs:sequence>
+<!-- descriptiveMetadata/eventWrap/type -->
+									<xs:element name="type" type="xs:string"/>
+<!-- descriptiveMetadata/eventWrap/actor -->
+									<xs:element name="actor">
+										<xs:complexType>
+											<xs:sequence>
+											<xs:attribute name="type" type="string"/>
+<!-- descriptiveMetadata/eventWrap/actor/name -->
+											<xs:element name="name" type="xs:string"/>
+<!-- descriptiveMetadata/eventWrap/actor/geburtsjahr -->
+											<xs:element name="geburtsjahr" type="xs:positiveInteger"/>
+<!-- descriptiveMetadata/eventWrap/actor/todesjahr -->
+											<xs:element name="todesjahr" type="xs:positiveInteger"/>
+<!-- descriptiveMetadata/eventWrap/actor/roleActor -->
+											<xs:element name="roleActor" type="xs:string"/>
+										</xs:sequence>
+										</xs:complexType>
+									</xs:element>
+
+<!-- descriptiveMetadata/eventWrap/eventDate -->
+									<xs:element name="eventDate">
+										<xs:complexType>
+											<xs:sequence>
+<!-- descriptiveMetadata/eventWrap/eventDate/datum -->
+											<xs:element name="datum" type="xs:string"/>
+<!-- descriptiveMetadata/eventWrap/eventDate/earliest -->
+											<xs:element name="earliest" type="xs:positiveInteger"/>
+<!-- descriptiveMetadata/eventWrap/eventDate/latest -->
+											<xs:element name="latest" type="xs:positiveInteger"/>
+										</xs:sequence>
+										</xs:complexType>
+									</xs:element>
+<!-- descriptiveMetadata/eventWrap/eventPlace -->
+									<xs:element name="eventPlace" type="xs:string"/>
+<!-- descriptiveMetadata/eventWrap/materialsTech -->
+									<xs:element name="materialsTech" type="xs:string">
+										<xs:complexType>
+											<xs:attribute name="type" type="xs:string"/>		
+										</xs:complexType>
+									</xs:element>
+								</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+<!-- descriptiveMetadata/subjectWrap -->
+							<xs:element name="subjectWrap">
+								<xs:complexType>
+									<xs:sequence>
+<!-- descriptiveMetadata/subjectWrap/subject -->
+									<xs:element name="subject">
+										<xs:complexType>
+											<xs:sequence>
+											<xs:attribute name="type" type="xs:string"/>
+<!-- descriptiveMetadata/subjectWrap/subject/term -->
+											<xs:element name="term" type="xs:string"/>
+										</xs:sequence>
+										</xs:complexType>
+									</xs:element>
+								</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+
+						</xs:sequence>
+						</xs:complexType>
+					</xs:element>					
+<!-- recordLink -->					
+					<xs:element name="recordLink" type="xs:string"/>
+<!-- resource -->
+					<xs:element name="resource">
+						<xs:complexType>
+<!-- resource/resourceLink -->
+							<xs:element name="resourceLink" type="xs:string"/>
+<!-- resource/resourceThumbnail -->
+							<xs:element name="resourceThumbnail" type="xs:string"/>
+						</xs:complexType>
+					</xs:element>
+
+
+				</xs:sequence>
+			</xs:complexType>
+		</xs:element>
+	</xs:complexType>
+
+</xs:element>
+
+</xs:schema>
\ No newline at end of file
diff --git a/templates/detail.html b/templates/detail.html
new file mode 100644
index 0000000..80dccfb
--- /dev/null
+++ b/templates/detail.html
@@ -0,0 +1,73 @@
+<!DOCTYPE html>
+<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='stylesheet.css') }}">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
+
+
+<html>
+<head>
+	<meta charset="utf-8">
+	<title>AMK - Details</title>
+	<h1>AMK</h1>
+	<h3>Atemberaubende Museums-Holzschnitt Kollektion</h3>
+</head>
+
+<body id="Startseite">
+	<div class="suchfeld">
+		<form>
+			<a href="#"><input type="search" name="Holzschnitte"></a>
+			<datalist id="Holzschnitte">
+				<option value="Autor">
+			</datalist>
+			<button class="btn">suchen</button>
+		</form>
+	</div>
+	<div class="menue">
+		<ul class="nav" id="navibereich">
+			<li><a href="https://www.wikidata.org/wiki/Wikidata:Main_Page">WikiData</a></li>
+			<li><a href="">Filter</a></li>
+		</ul>
+	</div>
+
+	<!--Menue Ende!-->
+	<div class="container">
+		<div class="flex-container">
+		  <header>
+		    <h1></h1>
+		  </header>
+
+		<div class="img">
+			<a href="{{ object.url }}" data-lightbox="bild-1">
+			    <img src="{{ object.url }}" onclick="openModal();currentSlide(1)" class="hover-shadow" style="width: 350px; height: 260px; padding: 10px;">
+			</a>
+		</div>
+
+		<article class="article">
+		  <h1>Bild:</h1>
+		  <br>
+		  <p>Informationen zum Bild</p>
+		  <p>Name: {{ object.title }}</p>
+		  <p>Ort:{{ object.place }}</p>
+		  <p>Maße: {{ object.maße }}</p> 
+		</article>
+
+		<article class="article">
+		  <h1>Künstler:</h1>
+		  <br>
+		  <p>Informationen zum Künstler(XML)</p>
+		  <p>Name: {{ object.actor }}</p>
+		  <p>Geboren:{{ object.birth }}</p>
+		  <p>Gestorben: {{ object.death }}</p>
+		  <br>
+		  <p>Informationen zum Künstler(DB-Pedia)</p>
+		  <p>Name: {{ kunstler.name }}</p>
+		  <p>Geschlecht: {{ kunstler.geschlecht }}</p>
+		  <p>Geboren: {{ kunstler.geburtsdatum }}</p>
+		  <p>Gestorben: {{ kunstler.todesdatum }}</p>
+		  <p>Beschreibung: {{ kunstler.beschreibung }}</p>
+		</article>
+
+		</div>
+	</div>
+</body>
+</html>
\ No newline at end of file
-- 
GitLab