blob: 918badcf3a4f406d0eb5847cb4137e338b372c6e [file] [log] [blame]
Akron5e1252e2022-12-19 17:57:56 +01001<!DOCTYPE html>
2<html>
3 <head>
Akron83b77a72023-03-17 13:37:06 +01004 <title>{{ .title }}</title>
Akron773209f2023-03-10 16:55:11 +01005 <link href="https://korap.ids-mannheim.de/css/kalamar-plugin-latest.css" type="text/css" rel="stylesheet" />
6 <script data-server="{{ .korapServer }}" src="https://korap.ids-mannheim.de/js/korap-plugin-latest.js"></script>
Akron5fcb4752023-03-10 19:35:10 +01007 <style><!--
8@font-face {
9 font-family: 'FontAwesome';
10 src: url('https://korap.ids-mannheim.de/font/fontawesome-webfont.eot?v=4.3.0');
11 src: url('https://korap.ids-mannheim.de/font/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('https://korap.ids-mannheim.de/font/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('https://korap.ids-mannheim.de/font/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('https://korap.ids-mannheim.de/font/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('https://korap.ids-mannheim.de/font/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
12 font-weight: normal;
13 font-style: normal;
14}
15--></style>
Akron5e1252e2022-12-19 17:57:56 +010016 </head>
17 <body>
Akron83b77a72023-03-17 13:37:06 +010018 <h1>{{ .title }}</h1>
Akron9e769332022-12-21 11:25:38 +010019 <section style="background-color: #fefefe">
Akron9baa3eb2022-12-20 20:24:24 +010020 <p id="buy">...</p>
21 </section>
Akron8d25e1e2022-12-20 16:00:38 +010022 <script defer=""><!--
23 "use strict";
24
25 function pluginit(P) {
26
27 P.resize();
28
29 // Request metadata from the embedding match
30 P.requestMsg(
31 {
32 'action':'get',
33 'key':'textSigle'
34 }, function (d) {
35 var textSigle = d.value.value;
36 var xhttp = new XMLHttpRequest();
Akron8d25e1e2022-12-20 16:00:38 +010037 xhttp.onload = function() {
Akronc2d2d3b2022-12-21 11:29:59 +010038 if (this.status === 404) {
Akron83b77a72023-03-17 13:37:06 +010039 document.getElementById("buy").innerHTML = "{{ .noAccess }}}"
Akronc2d2d3b2022-12-21 11:29:59 +010040 } else {
41 var ret = this.responseText.split(",");
Akron83b77a72023-03-17 13:37:06 +010042 document.getElementById("buy").innerHTML = "{{ .fromProvider }} <a target=\"_blank\" href=\"" + ret[1] + "\" class=\"external\">" + ret[0] + "</a>.";
Akronc2d2d3b2022-12-21 11:29:59 +010043 }
Akron8d25e1e2022-12-20 16:00:38 +010044 P.resize();
45 }
46 xhttp.open("GET", textSigle, true);
47 xhttp.send();
48 }
49 );
50
51 if (window.dynCall) {
52 window.dynCall(P)
53 };
54
55 // Set plugin object globally
56 window.Plugin = P;
57
58 };
59 -->
60 </script>
Akron5e1252e2022-12-19 17:57:56 +010061 </body>
62</html>