Commit e3ce813f authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1245: Implement DARIAH-DE Styleguide

Task-Url: https://pm.winseda.de/issues/1245
parent 50158267
......@@ -8,25 +8,12 @@
<tiles:importAttribute name="fluidLayout" />
<div class="jumbotron">
<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
<div class="row">
<div class="xs-hidden sm-visible col-sm-3 col-lg-2 col-sm-offset-1">
<div class="pull-right dariah-flower-white-83">DARIAHSP Test App</div>
</div>
</div>
</div>
</div>
<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
<div class="row">
<div id="main-content-wrapper" class="col-sm-10 col-sm-offset-1">
<ul class="breadcrumb">
<li class="active">Home</li>
</ul>
<div id="main-content">
<h2>${errorHeading}</h2>
<c:if test="${errorMsg!=null}">
<div class="col-12">
<h1>${errorHeading}</h1>
<c:if test="${errorMsg!=null}">
<p>
<em>Message</em>: ${errorMsg}
</p>
......@@ -43,7 +30,6 @@ Exception: ${exception.message}
<c:forEach items="${exception.stackTrace}" var="ste">
${ste}</c:forEach>
</pre>
</div>
</div>
</div>
</div>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<ul class="breadcrumb">
<li class="active"><s:message code="~eu.dariah.de.minfba.common.titles.local_login" /></li>
<li class="active"><s:message code="~eu.dariah.de.minfba.common.titles.login" /></li>
</ul>
<div id="main-content">
<tiles:importAttribute name="fluidLayout" />
<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
<div class="row">
<div class="col-lg-12">
<h2><s:message code="~eu.dariah.de.minfba.common.titles.login" /></h2>
<c:if test="${not empty error}">
<div class="alert alert-danger" role="alert"><s:message code="~eu.dariah.de.minfba.common.local_login.invalid_credentials" /></div>
</c:if>
<form name='loginForm' class="form-horizontal" action="<c:url value='/localsec/login' />" method='POST'>
<input type="hidden" name="loginRedirectUrl" id="loginRedirectUrl" value="${redirectUrl}" />
<div id="notifications-area" class="col-10 offset-1"></div>
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4">
<h1><s:message code="~eu.dariah.de.minfba.common.local_login.heading" /></h1>
<c:if test="${not empty error}">
<div class="alert alert-warning" role="alert"><s:message code="~eu.dariah.de.minfba.common.local_login.invalid_credentials" /></div>
</c:if>
<form name='loginForm' action="<c:url value='/localsec/login' />" method='POST'>
<input type="hidden" name="redirectUrl" id="redirectUrl" value="${redirectUrl}" />
<div class="form-group">
<label for="username" class="col-sm-2 control-label"><s:message code="~eu.dariah.de.minfba.common.local_login.username" /></label>
<div class="col-sm-4">
<label for="username"><s:message code="~eu.dariah.de.minfba.common.local_login.username" /></label>
<div>
<input type="text" class="form-control" id="username" name="username" autofocus>
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-2 control-label"><s:message code="~eu.dariah.de.minfba.common.local_login.password" /></label>
<div class="col-sm-4">
<label for="password"><s:message code="~eu.dariah.de.minfba.common.local_login.password" /></label>
<div>
<input type="password" class="form-control" id="password" name="password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<div>
<button name="submit" type="submit" value="submit" class="btn btn-primary"><s:message code="~eu.dariah.de.minfba.common.local_login.signin" /></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
\ No newline at end of file
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<ul class="breadcrumb">
<li class="active"><s:message code="~eu.dariah.de.minfba.common.titles.local_login" /></li>
<li class="active"><s:message code="~eu.dariah.de.minfba.common.titles.logout" /></li>
</ul>
<tiles:importAttribute name="fluidLayout" />
<div id="main-content">
<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
<div class="row">
<div class="col-lg-12">
<h2><s:message code="~eu.dariah.de.minfba.common.titles.logout" /></h2>
<div id="notifications-area" class="col-10 offset-1"></div>
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4">
<h1><s:message code="~eu.dariah.de.minfba.common.titles.logout" /></h1>
<p><s:message code="~eu.dariah.de.minfba.common.local_login.logout_success" /></p>
</div>
<p><a href="<s:url value="/" />"><s:message code="~eu.dariah.de.minfba.common.labels.back_to_start" /></a></p>
</div>
</div>
</div>
</div>
\ No newline at end of file
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<tiles:importAttribute name="fluidLayout" />
<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
<div class="row">
<div id="notifications-area" class="col-10 offset-1"></div>
<div class="col-12">
<h1><s:message code="~de.unibamberg.minf.common.user_profile" /></h1>
<c:choose>
<c:when test="${_auth!=null && _auth.auth==true}">
<form>
<div class="form-group">
<label for="authorizedAs"><s:message code="~de.unibamberg.minf.common.user_profile.autorized_as" /></label>
<input type="text" readonly class="form-control-plaintext" id="authorizedAs" value="${_auth.displayName}">
</div>
</form>
</c:when>
<c:otherwise>
<p><s:message code="~de.unibamberg.minf.common.user_profile.not_logged_in" /></p>
</c:otherwise>
</c:choose>
</div>
</div>
</div>
\ No newline at end of file
Supports Markdown
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