Skip to content
Snippets Groups Projects
Unverified Commit 0f88ce86 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Move TU Graz specifics from dbp-signature-verification

parent 6d7dc1aa
No related branches found
No related tags found
No related merge requests found
Pipeline #47847 failed
......@@ -149,6 +149,59 @@
</dbp-translated>
</div>
</template>
<template id="dbp-signature-verification">
<div slot="additional-information">
<style>
.int-link-internal{
transition: background-color 0.15s, color 0.15s;
border-bottom: 1px solid rgba(0,0,0,0.3);
}
.int-link-internal:hover{
background-color: black;
color: white;
}
.int-link-internal:after{
content: "\00a0\00a0\00a0";
background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%228.6836mm%22%20width%3D%225.2043mm%22%20version%3D%221.1%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20viewBox%3D%220%200%2018.440707%2030.768605%22%3E%3Cg%20transform%3D%22translate(-382.21%20-336.98)%22%3E%3Cpath%20style%3D%22stroke-linejoin%3Around%3Bstroke%3A%23000%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3Bstroke-width%3A2%3Bfill%3Anone%22%20d%3D%22m383.22%20366.74%2016.43-14.38-16.43-14.37%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
background-size: 73%;
background-repeat: no-repeat;
background-position: center center;
margin: 0 0 0 3px;
padding: 0 0 0.25% 0;
animation: 0.15s linkIconOut;
font-size: 103%;
}
.int-link-internal:hover::after{
content: "\00a0\00a0\00a0";
background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%228.6836mm%22%20width%3D%225.2043mm%22%20version%3D%221.1%22%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20viewBox%3D%220%200%2018.440707%2030.768605%22%3E%3Cg%20transform%3D%22translate(-382.21%20-336.98)%22%3E%3Cpath%20style%3D%22stroke-linejoin%3Around%3Bstroke%3A%23FFF%3Bstroke-linecap%3Around%3Bstroke-miterlimit%3A10%3Bstroke-width%3A2%3Bfill%3Anone%22%20d%3D%22m383.22%20366.74%2016.43-14.38-16.43-14.37%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
background-size: 73%;
background-repeat: no-repeat;
background-position: center center;
margin: 0 0 0 3px;
padding: 0 0 0.25% 0;
animation: 0s linkIconIn;
font-size: 103%;
}
</style>
<dbp-translated subscribe="lang">
<div slot="de">
<a target="_blank" rel="noopener" class="int-link-internal"
href="https://security.tugraz.at/zertifikate/pruefung/adobe.shtml">
Weitere Information zur Verifikation mit Adobe Reader
</a>
</div>
<div slot="en">
<a target="_blank" rel="noopener" class="int-link-internal"
href="https://security.tugraz.at/zertifikate/pruefung/adobe.shtml">
More information about verification with Adobe Reader
</a>
</div>
</dbp-translated>
</div>
</template>
</template>
<!-- Error handling for too old browsers -->
......
import {AdapterLitElement} from "@dbp-toolkit/provider/src/adapter-lit-element";
import DBPLitElement from "../vendor/toolkit/packages/common/dbp-lit-element";
export class BaseLitElement extends AdapterLitElement {
export class BaseLitElement extends DBPLitElement {
constructor() {
super();
this.auth = {};
......
......@@ -117,7 +117,7 @@ class SignatureVerification extends ScopedElementsMixin(DBPSignatureLitElement)
<p>
${i18n.t('signature-verification-extern.adobe-reader-text')}
</p>
<a target="_blank" rel="noopener" class="int-link-internal" href="https://security.tugraz.at/zertifikate/pruefung/adobe.shtml">${i18n.t('signature-verification-extern.adobe-link-label')}</a>
<slot name="additional-information"></slot>
`;
}
}
......
......@@ -14,5 +14,5 @@
"de": "Erlaubt das Verifizieren von signierten PDF-Dokumenten",
"en": "Allows verification of signed PDF-documents"
},
"subscribe": "lang,entry-point-url,auth"
"subscribe": "lang,entry-point-url,auth,html-overrides"
}
......@@ -104,8 +104,7 @@
"signature-verification-extern": {
"description-text": "Um eine PDF-Signatur auf ihre Gültigkeit zu überprüfen, benutzen Sie bitte das Verifikationsservice der Rundfunk und Telekom Regulierungs-GmbH. Mit diesem Verifikationsservice können Sie überprüfen, ob das Dokument eine valide Signatur enthält.",
"link-label": "Zum RTR Verifikationsservice wechseln",
"adobe-reader-text": "Des Weiteren besteht auch die Möglichkeit, das Dokument lokal mit dem Adobe Reader zu überprüfen.",
"adobe-link-label": "Weitere Information zur Verifikation mit Adobe Reader"
"adobe-reader-text": "Des Weiteren besteht auch die Möglichkeit, das Dokument lokal mit dem Adobe Reader zu überprüfen."
},
"pdf-preview": {
"first-page": "Erste Seite",
......
......@@ -104,8 +104,7 @@
"signature-verification-extern": {
"description-text": "To check a PDF signature for validity, please use the verification service of the Rundfunk und Telekom Regulierungs-GmbH. This verification service allows you to check whether the document contains a valid signature.",
"link-label": "Switch to the RTR verification service",
"adobe-reader-text": "Furthermore, it is also possible to verify the signature locally with the Adobe Reader.",
"adobe-link-label": "More information about verification with Adobe Reader"
"adobe-reader-text": "Furthermore, it is also possible to verify the signature locally with the Adobe Reader."
},
"pdf-preview": {
"first-page": "First page",
......
Subproject commit a780e8dc0e9bfa6a097e644823ca72a4ae1ed857
Subproject commit 900ad15afe323e6082a144abc9ca4f0cb03494e0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment