Commit 4b7a7867 authored by matthias.lang's avatar matthias.lang
Browse files

web: relocate login button and mention it in the instructions

parent ef4d29b6
......@@ -102,7 +102,7 @@
<div class="container">
<div class="row" style="margin-bottom: 4em; margin-top: 5%">
<div class="row" style="margin-bottom: 0em; margin-top: 5%">
<div class="one-half column">
<img src="images/KIT-CA-Logo.svg" height="60px" alt="KIT-CA Logo" />
</div>
......@@ -110,20 +110,28 @@
<h1>Zertifikatsuche</h1>
</div>
</div>
<div class="row">
<div class="u-full-width">
<p>Bitte geben Sie den Namen oder die exakte E-Mail-Adresse aus dem Zertifikat ein, das Sie suchen.</p>
<div id="ca-search">
<div class="row">
<div class="twelve columns" style="text-align: right;">
<span class="button" type="submit" v-if="visitorLoggedIn" required>Angemeldet als {{ visitorGivenName }} {{ visitorSn }}</span>
<a :href="'/Shibboleth.sso/Login?target=/?q=' + query"><span class="button" v-if="!visitorLoggedIn" required>Für mehr Inhalte: Anmelden</span></a>
</div>
</div>
</div>
<div class="row" style="margin-top: 3em;">
<div class="u-full-width">
<p>Bitte geben Sie den Namen oder die exakte E-Mail-Adresse aus dem Zertifikat ein, das Sie suchen.<br/>
<span v-if="!visitorLoggedIn">Für erweiterte Suchergebnisse (nicht-öffentliche Zertifikate sowie Serverzertifikate) bitte zuerst mit KIT-Account anmelden.</span></p>
</div>
</div>
<div id="ca-search">
<form v-on:submit.prevent="search()" style="margin-bottom: 0">
<div class="row">
<div class="ten columns">
<input name="q" class="u-full-width" type="text" placeholder="Name oder E-Mail-Adresse" id="query" v-model="query" autofocus>
</div>
<div class="two columns">
<div class="two columns" style="text-align: right;">
<button class="button-primary" type="submit" @click="search()" v-if="!loading" required>Suchen</button>
<button class="button-primary" type="button" disabled="disabled" v-if="loading">Suche...</button>
</div>
......@@ -148,16 +156,7 @@
</span>
</span>
</div>
<div class="two columns">
<div class="row">
<div class="twelve columns" style="text-align: right;">
<span class="button" type="submit" v-if="visitorLoggedIn" required>Hallo, {{ visitorGivenName }} {{ visitorSn }}</span>
<a :href="'/Shibboleth.sso/Login?target=/?q=' + query"><span class="button" v-if="!visitorLoggedIn" required>Nicht eingeloggt</span></a>
</div>
</div>
</div>
</div>
<div class="alert alert-danger" role="alert" v-if="error">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment