Commit 010db434 authored by Wolfgang Wiese's avatar Wolfgang Wiese
Browse files

- login screen ready

- textfiles ready
parent 49666d82
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
<footer>
<div class="content-footer">
<div class="logo">
<a href="https://www.fau.de"><img src="[% Config("Frontend::WebPath") %]skins/Customer/fau/img/fau-logo-fff.png" alt="Friedrich-Alexander-Universität Erlangen-Nürnberg"></a>
</div>
<div class="meta">
<nav aria-labelledby="footer-nav-title">
<h2 class="screen-reader-text" id="footer-nav-title">Kontakt, Impressum und Zusatzinformationen</h2>
<ul>
<li><a href="/kontakt">Kontakt</a></li>
<li><a target="_blank" href="https://www.otrs.com" rel="noopener noreferrer">OTRS</a></li>
<li><a href="/impressum">Impressum</a></li>
<li><a href="/datenschutz">Datenschutz</a></li>
<li><a href="/barrierefreiheit">Barrierefreiheit</a></li>
</ul>
</nav>
</div>
</div>
</footer>
[% InsertTemplate("FooterJS.tt") %]
</div><!-- end AppWrapper -->
</body>
</html>
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
[%- INCLUDE "HTTPHeaders.tt" -%]
<!DOCTYPE html>
<html>
[% InsertTemplate("Copyright.tt") %]
[% InsertTemplate("HTMLHead.tt") %]
<body class="agent [% Data.BodyClass | html %]">
<a name="Top"></a>
<div id="AppWrapper">
<div id="Header" class="ARIARoleBanner">
<div id="Logo"></div>
<ul id="ToolBar">
[% RenderBlockStart("ToolBar") %]
<li class="UserAvatar">
<a href="#">
[% IF Data.Avatar %]
<img src="[% Data.Avatar %]" />
[% ELSE %]
<span class="Initials">[% Data.UserInitials | html %]</span>
[% END %]
</a>
<div>
<span>[% Env("UserFullname") | html %]</span>
[% IF Data.OTRSBusinessIsInstalled %]
<a href="[% Env("Baselink") %]Action=AgentNotificationView" title="[% Translate("View notifications") | html %]">
<i class="fa fa-flag-o"></i><strong>[% Translate("Notifications") | html %]</strong>
</a>
[% ELSE %]
<a href="#" class="OTRSBusinessRequired" title="[% Translate("Notifications (OTRS Business Solution™)") | html %]">
<i class="fa fa-flag-o"></i><strong>[% Translate("Notifications (OTRS Business Solution™)") | html %]</strong>
</a>
[% END %]
[% RenderBlockStart("Login") %]
<a href="[% Env("Baselink") %]Action=AgentPreferences" title="[% Translate("Edit personal preferences") | html %]">
<i class="fa fa-cog"></i><strong>[% Translate("Personal preferences") | html %]</strong>
</a>
[% RenderBlockEnd("Login") %]
[% RenderBlockStart("Logout") %]
<a class="LogoutButton" id="LogoutButton" href="[% Env("Baselink") %]Action=Logout;[% Env("ChallengeTokenParam") | html %]" title="[% Translate("Logout") | html %] ([% Translate("You are logged in as") | html %] [% Env("UserFullname") | html %])">
<i class="fa fa-power-off"></i><strong>[% Translate("Logout") | html %]</strong>
</a>
[% RenderBlockEnd("Logout") %]
</div>
</li>
[% RenderBlockStart("ToolBarItem") %]
<li class="[% Data.Class | html %]"><a href="[% Data.Link %]" target="[% Data.Target | html %]" accesskey="[% Data.AccessKey | html %]" title="[% Translate(Data.Description) | html %]: [% Data.Count | html %][% Data.AccessKeyReference | html %]">[% Translate(Data.Description) | html %] <i class="icon-small fa fa-clock-o icon-show-reached"></i> <i class="icon-small fa fa-star icon-show-new"></i><i class="[% Data.Icon | html %]"></i> <span class="Counter">[% Data.Count | html %]</span> </a></li>
[% RenderBlockEnd("ToolBarItem") %]
[% RenderBlockStart("ToolBarSearchProfile") %]
<li class="Extended SearchProfile">
<form action="[% Env("CGIHandle") %]" method="post" name="SearchProfile">
<input type="hidden" name="Action" value="AgentTicketSearch"/>
<input type="hidden" name="Subaction" value="LoadProfile"/>
<input type="hidden" name="SearchTemplate" value="[% Translate("Search") | html %]"/>
[% Data.Link %]
# <a href="#" id="ToolbarProfileSearch" title="[% Translate(Data.Description) | html %] ([% Data.AccessKey | html %])" accesskey="[% Data.AccessKey | html %]" [% Data.LinkOption %]>[% Translate(Data.Name) | html %]</a>
</form>
</li>
[% RenderBlockEnd("ToolBarSearchProfile") %]
[% RenderBlockStart("ToolBarSearchFulltext") %]
<li class="Extended SearchFulltext">
<form action="[% Env("CGIHandle") %]" method="post" name="SearchFulltext">
<input type="hidden" name="Action" value="AgentTicketSearch"/>
<input type="hidden" name="Subaction" value="Search"/>
<input type="hidden" name="SearchTemplate" value="[% Translate("Search") | html %]"/>
<input type="hidden" name="CheckTicketNumberAndRedirect" value="1"/>
[% IF Data.SearchInArchive %]
<input type="hidden" name="SearchInArchive" value="[% Data.SearchInArchive | html %]"/>
[% END %]
<input type="text" size="[% Data.Size | html %]" name="Fulltext" id="Fulltext" value="[% Data.Fulltext | html %]" placeholder="[% Translate(Data.Description) | html %]" title="[% Translate(Data.Description) | html %]"/>
# <a href="#" id="ToolbarFulltextSearch" title="[% Translate(Data.Description) | html %] ([% Data.AccessKey | html %])" accesskey="[% Data.AccessKey | html %]" [% Data.LinkOption %]>[% Translate(Data.Name) | html %]</a>
</form>
</li>
[% RenderBlockEnd("ToolBarSearchFulltext") %]
[% RenderBlockStart("ToolBarCICSearchCustomerID") %]
<li class="Extended SearchFulltext">
<input type="text" size="[% Data.Size | html %]" id="ToolBarCICSearchCustomerID" placeholder="[% Translate(Data.Description) | html %]" title="[% Translate(Data.Description) | html %]"/>
</li>
[% RenderBlockEnd("ToolBarCICSearchCustomerID") %]
[% RenderBlockStart("ToolBarCICSearchCustomerUser") %]
<li class="Extended SearchFulltext">
<input type="text" size="[% Data.Size | html %]" id="ToolBarCICSearchCustomerUser" placeholder="[% Translate(Data.Description) | html %]" title="[% Translate(Data.Description) | html %]"/>
</li>
[% RenderBlockEnd("ToolBarCICSearchCustomerUser") %]
[% RenderBlockEnd("ToolBar") %]
[% RenderBlockStart("DebugRTLButton") %]
<li>
<button type="button" class="DebugRTL">Simulate RTL</button>
</li>
[% RenderBlockEnd("DebugRTLButton") %]
</ul>
</div>
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
## nofilter(TidyAll::Plugin::OTRS::TT::ScriptUsage)
[%- INCLUDE "HTTPHeaders.tt" -%]
# With this X-Header, Core.AJAX can recognize that the AJAX request returned the login page (session timeout) and perform a redirect.
X-OTRS-Login: [% Env("Baselink") %]
<!DOCTYPE html>
<html>
[% InsertTemplate("Copyright.tt") %]
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<meta http-equiv="Content-type" content="text/html;charset=utf-8" />
<link rel="icon" href="[% Config("Frontend::WebPath") %]skins/Customer/fau/img/rrze-otrs-icon.png" sizes="120x120">
<link rel="apple-touch-icon" href="[% Config("Frontend::WebPath") %]skins/Customer/fau/img/rrze-otrs-icon.png" >
[% RenderBlockStart("CommonCSS") %]
<link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Agent/[% Data.Skin | uri %]/[% Data.CSSDirectory %]/[% Data.Filename %]" />
[% RenderBlockEnd("CommonCSS") %]
<link rel="stylesheet" href="[% Config("Frontend::WebPath") %]skins/Agent/default/css/thirdparty/ui-theme/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]common/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="[% Config("Frontend::WebPath") %]skins/Customer/fau/css/Custom.RRZE.css" />
# decide, if responsive CSS must be loaded
# resposive CSS will not be loaded in "desktop mode" or if the document is within an iframe (customer overview in ticket phone overlay)
<script>
(function(doc, win) {
var isIFrame = (win.top.location.href !== win.location.href),
isPopup = (win.name.search(/^OTRSPopup_/) != -1);
try {
if (((!isIFrame && !isPopup) || (isIFrame && isPopup)) && (!localStorage.getItem("DesktopMode") || parseInt(localStorage.getItem("DesktopMode"), 10) <= 0)) {
var ResponsiveCSS;
[% RenderBlockStart("ResponsiveCSS") %]
ResponsiveCSS = doc.createElement("link");
ResponsiveCSS.setAttribute("rel", "stylesheet");
ResponsiveCSS.setAttribute("type", "text/css");
ResponsiveCSS.setAttribute("href", "[% Config("Frontend::WebPath") %]skins/Agent/[% Data.Skin | uri %]/[% Data.CSSDirectory %]/[% Data.Filename %]");
doc.getElementsByTagName("head")[0].appendChild(ResponsiveCSS);
[% RenderBlockEnd("ResponsiveCSS") %]
}
}
catch (Exception) {}
}(document, window));
</script>
<title>[% Translate(Data.Title) | html %] - [% Config("ProductName") %]</title>
[% InsertTemplate("HTMLHeadBlockEvents.tt") %]
</head>
<!-- end header -->
<body class="[% Data.BodyClass | html %] LoginScreen">
<div id="AppWrapper" class="container">
<header>
<div class="meta-header">
<nav class="meta-links" aria-labelledby="meta-links-title">
<h2 id="meta-links-title" class="screen-reader-text">Meta-Navigation</h2>
<ul class="orgalist">
<li class="fauhome"><a href="https://www.fau.de"><img src="[% Config("Frontend::WebPath") %]skins/Customer/fau/img/fau-logo-37x16.png" alt="Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU)"></a></li>
<li><a href="https://www.rrze.fau.de"><img src="[% Config("Frontend::WebPath") %]skins/Customer/fau/img/rrze-logo-37x16.png" alt="Regionales Rechenzentrum Erlangen (RRZE)"></a></li>
</ul>
</nav>
<div class="login-info">
</div>
</div>
</header>
<main class="login content-body">
<div class="content">
<div class="row">
<p class="logo">
<img src="[% Config("Frontend::WebPath") %]skins/Customer/fau/img/otrs-logo.png" class="otrs-logo" alt="RRZE OTRS">
</p>
<p>
Ticketsystem OTRS (Open Source Ticket Request System) des Regionalen Rechenzentrums Erlangen (RRZE).
</p>
<div class="LoginBox">
<noscript>
<div class="ErrorBox">
<strong>[% Translate("JavaScript Not Available") | html %]</strong>
<span>[% Translate("In order to experience this software, you'll need to enable JavaScript in your browser.") | html %]</span>
</div>
</noscript>
<div class="ErrorBox Hidden" id="OldBrowser">
<span>
[% Translate("The browser you are using is too old.") | html %]
[% Translate("This software runs with a huge lists of browsers, please upgrade to one of these.") | html %]
[% Translate("Please see the documentation or ask your admin for further information.") | html %]
</span>
</div>
[% RenderBlockStart("SystemMaintenance") %]
<div class="MessageBox WithIcon alert alert-warning" id="SystemMaintenance">
<i class="fa fa-exclamation-circle"></i>
<p>
[% Translate(Data.LoginMessage) | html %]
</p>
</div>
[% RenderBlockEnd("SystemMaintenance") %]
</div>
[% RenderBlockStart("PreLogin") %]
<div id="LoginBox" class="LoginBox PreLogin">
<div class="WidgetSimple">
<div class="Content">
<p class="Center">
[% Translate("One moment please, you are being redirected...") | html %]
</p>
<form action="[% Env("CGIHandle") %]" method="post" enctype="application/x-www-form-urlencoded" name="login">
<input type="hidden" name="Action" value="Login" />
<input type="hidden" name="RequestedURL" value="[% Data.RequestedURL | html %]"/>
<input type="hidden" name="Lang" value="[% Env("UserLanguage") | html %]"/>
<input type="hidden" name="TimeZoneOffset" id="TimeZoneOffset" value=""/>
</form>
</div>
</div>
</div>
[% RenderBlockEnd("PreLogin") %]
[% RenderBlockStart("LoginBox") %]
<div id="LoginBox" class="LoginBox">
<div class="[% IF Data.MessageType == 'Success' %]alert alert-success[% ELSIF Data.MessageType == 'Error' %]alert alert-danger[% END %]">
<span>[% Translate(Data.Message) | html %]</span>
</div>
<div class="WidgetSimple">
<div class="Content">
<p class="Error Center Spacing"></p>
<form action="[% Env("CGIHandle") %]" method="post" enctype="application/x-www-form-urlencoded" name="login" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="Login" />
<input type="hidden" name="RequestedURL" value="[% Data.RequestedURL | html %]"/>
<input type="hidden" name="Lang" value="[% Env("UserLanguage") | html %]"/>
<input type="hidden" name="TimeZoneOffset" id="TimeZoneOffset" value=""/>
<fieldset>
<div>
<label for="User" class="InvisibleText Mandatory">
<span class="Marker">*</span> [% Translate("Username") | html %]
</label>
<input autocorrect="off" autocomplete="[% Data.UserNameAutocomplete %]" placeholder="[% Translate("Username") | html %]" autocapitalize="off" type="text" id="User" name="User" value="[% Data.User | html %]" class="W75pc Validate_Required" />
<div id="UserError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div>
<label for="Password" class="InvisibleText Mandatory">
<span class="Marker">*</span> [% Translate("Password") | html %]
</label>
<input type="password" autocomplete="[% Data.PasswordAutocomplete %]" placeholder="[% Translate("Password") | html %]" id="Password" name="Password" class="W75pc Validate_Required" />
<div id="PasswordError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Clear"></div>
[% RenderBlockStart("AuthTwoFactor") %]
<label for="TwoFactorToken" class="InvisibleText [% Data.MandatoryClass | html %]">
[% RenderBlockStart("AuthTwoFactorMandatory") %]
<span class="Marker">*</span>
[% RenderBlockEnd("AuthTwoFactorMandatory") %]
[% Translate("2 Factor Token") | html %]
</label>
<div>
<input type="text" placeholder="[% Translate("2 Factor Token") | html %]" id="TwoFactorToken" name="TwoFactorToken" class="W75pc [% Data.ValidateRequired | html %]" />
<div id="TwoFactorTokenError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("AuthTwoFactor") %]
<div class="Field">
<button type="submit" id="LoginButton" value="[% Translate("Login") | html %]" disabled="disabled"><span>[% Translate("Login") | html %]</span></button>
</div>
<div class="Clear"></div>
</fieldset>
</form>
</div>
</div>
[% RenderBlockStart("LostPasswordLink") %]
<p class="passwort">
<strong>Hinweis:</strong><br>
Wenn Sie Ihr OTRS-Passwort vergessen haben, nutzen Sie bitte den <a href="https://idm.fau.de">IdM-SelfService</a> und suchen
Sie dort nach der Dienstleistung OTRS-Agent. Sollten Sie Ihr IdM-Passwort vergessen haben,
verwenden Sie bitte die Passwort vergessen-Funktion des IdM-Portals.
<!-- <a href="#" id="LostPassword">[% Translate("Lost your password?") | html %] &rarr;</a> -->
</p>
</div>
[% RenderBlockEnd("LostPasswordLink") %]
[% RenderBlockEnd("LoginBox") %]
[% RenderBlockStart("LostPassword") %]
<div id="PasswordBox" class="Hidden">
<div class="WidgetSimple">
<div class="Content">
<p class="Error Center Spacing"></p>
<form action="[% Env("CGIHandle") %]" method="post" enctype="application/x-www-form-urlencoded" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="LostPassword"/>
<input type="hidden" name="Lang" value="[% Env("UserLanguage") | html %]"/>
<fieldset>
<label class="InvisibleText" for="PasswordUser" class="Mandatory">
<span class="Marker">*</span>
[% Translate("Username") | html %]:
</label>
<div>
<input placeholder="[% Translate("Username") | html %]" type="text" id="PasswordUser" name="User" value="" class="W75pc Validate_Required" readonly="readonly"/>
<div id="PasswordUserError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Clear"></div>
<div>
<button type="submit" value="[% Translate("Request New Password") | html %]" disabled="disabled"><span>[% Translate("Request New Password") | html %]</span></button>
</div>
<div class="Clear"></div>
</fieldset>
</form>
</div>
</div>
<p class="backlogin">
<a href="" id="BackToLogin">&larr; [% Translate("Back to login") | html %]</a>
</p>
</div>
[% RenderBlockEnd("LostPassword") %]
# Message of the day data!
[% Data.Motd %]
<p class="made-with" lang="en">Made with <a target="_blank" href="https://www.otrs.org/" rel="noopener noreferrer">OTRS</a></p>
</div>
</div>
</main>
# loading a file called ads.js would be blocked by ad blockers (e.g. AdBlock or AdBlockPlus) and thus allows for a basic adblocker detection
<script type="text/javascript" src="[% Config("Frontend::JavaScriptPath") %]ads.js"></script>
[% InsertTemplate("Footer.tt") %]
......@@ -33,6 +33,9 @@
<p class="logo">
<a href="/"><img src="img/otrs-logo.png" alt="RRZE OTRS"></a>
</p>
<p>
Ticketsystem OTRS (Open Source Ticket Request System) des Regionalen Rechenzentrums Erlangen (RRZE).
</p>
......
This diff is collapsed.
......@@ -33,7 +33,9 @@
<p class="logo">
<a href="/"><img src="img/otrs-logo.png" alt="RRZE OTRS"></a>
</p>
<p>
Ticketsystem OTRS (Open Source Ticket Request System) des Regionalen Rechenzentrums Erlangen (RRZE).
</p>
<h1>Datenschutzerklärung</h1>
......
......@@ -33,7 +33,10 @@
<p class="logo">
<a href="/"><img src="img/otrs-logo.png" alt="RRZE OTRS"></a>
</p>
<p>
Ticketsystem OTRS (Open Source Ticket Request System) des Regionalen Rechenzentrums Erlangen (RRZE).
</p>
<h1>Impressum</h1>
......
......@@ -33,7 +33,10 @@
<p class="logo">
<a href="/"><img src="img/otrs-logo.png" alt="RRZE OTRS"></a>
</p>
<p>
Ticketsystem OTRS (Open Source Ticket Request System) des Regionalen Rechenzentrums Erlangen (RRZE).
</p>
<h1>Kontakt</h1>
......
......@@ -26,15 +26,18 @@
<a class="login" href="/otrs/index.pl">Anmelden</a>
</div>
</div>
<div class="logo">
<a href="/"><img src="img/otrs-logo.png" alt="RRZE OTRS"></a>
</div>
</header>
<main class="content-body">
<div class="content">
<div class="row">
<h1></h1>
<p class="logo">
<a href="/"><img src="img/otrs-logo.png" alt="RRZE OTRS"></a>
</p>
<p>
Ticketsystem OTRS (Open Source Ticket Request System) des Regionalen Rechenzentrums Erlangen (RRZE).
</p>
......
{
"name": "rrze-otrs-customizing",
"version": "1.0.1",
"version": "1.0.4",
"description": "RRZE OTRS UI Customizing",
"main": "start.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"logofile": "otrs4.png",
"otrs_agentpath": "skins/Customer/default/",
"otrs_agentpath": "skins/Customer/fau/",
"iotrs_path": "iotrs/public/",
"custom_otrs_cssfilename": "Custom.RRZE.css",
"loginbackground": "admission-2974645_1920.jpg",
"loginbackground": "admission-2974645b_1920.jpg",
"var2loginbackground": "support-2355701_1920.jpg",
"repository": {
"type": "git",
"url": "https://gitlab.rrze.fau.de/rrze-webteam/rrze-otrs-customizing.git"
......
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