Skip to content
Snippets Groups Projects
Commit da2004c9 authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Added new Login-Screen and css and img files.

parent 9f0fbb8d
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// ####################################################### // #######################################################
// Author: Martin Haase / DAASI International GmbH // Author: Martin Haase / DAASI International GmbH
// Creation date: 02.12.2008 // Creation date: 02.12.2008
// Modification date: 06/06/2012 // Modification date: 01/14/2015 (fu)
// Version: 2.0 // Version: 3.0 (ab TextGridLab 2.2)
// ####################################################### // #######################################################
ob_start(); ob_start();
...@@ -21,64 +21,56 @@ if ($authZinstance == null) { ...@@ -21,64 +21,56 @@ if ($authZinstance == null) {
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8">
<title>TextGrid WebAuth</title> <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head> <title>TextGrid WebAuth</title>
<body> <!-- Bootstrap -->
<div style="font-family:Helvetica,Arial,sans-serif;"> <link href="./css/app-bootstrap.css" rel="stylesheet" media="screen">
</head>
<h2><?php echo $t->_('login_heading');?></h2> <body class="login">
<table border="1" rules="cols" cellpadding="4" style="background: #EEEEEE;"> <header>
<tr> <div class="container">
<td align="center" valign="top"> <img class="login-headline" src="./img/textgridlab-login.png" alt="TextGridLab-Login" />
<h3><?php echo $t->_('login_option_ldap');?></h3> </div>
</td> </header>
<div class="container">
<td align="center" valign="top"> <div class="row">
<h3><?php echo $t->_('login_option_shib');?></h3> <div class="col-xs-6">
</td> <h3><?php echo $t->_('login_option_ldap');?></h3>
</tr> <form action="TextGrid-WebAuth.php" method="post" name="textgriddeform">
<div class="form-group">
<tr> <label for="loginname"><?php echo $t->_('login_label_id');?></label>
<td rowspan="2"> <input type="text" class="form-control" name="loginname" id="loginname"
<form action="TextGrid-WebAuth.php" method="post" name="textgriddeform"> value="Login ID" onclick="MachLeer()">
<p><?php echo $t->_('login_label_id');?><br><input style="-webkit-appearance:none;" name="loginname" type="text" size="30" maxlength="30" value="Login ID" onclick="MachLeer()"></p> </div>
<p><?php echo $t->_('login_label_password');?><br><input style="-webkit-appearance:none;" name="password" type="password" size="30" maxlength="30"></p> <div class="form-group">
<?php <label for="password"><?php echo $t->_('login_label_password');?></label>
echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">"; <input type="password" class="form-control" name="password" id="password">
?> </div>
<input type="submit" value="log in"> <?php echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">"; ?>
</form> <button type="submit" class="btn btn-primary btn-block primary-login">Login</button>
<script type="text/javascript"> </form>
document.textgriddeform.loginname.focus(); <script type="text/javascript">
document.textgriddeform.loginname.select(); document.textgriddeform.loginname.focus();
function MachLeer () { document.textgriddeform.loginname.select();
if (document.textgriddeform.loginname.value == "Login ID") function MachLeer () {
document.textgriddeform.loginname.value = ""; if (document.textgriddeform.loginname.value == "Login ID") {
} document.textgriddeform.loginname.value = "";
</script> }
</td> }
</script>
</div>
<td align="center" valign="top"> <div class="col-xs-6">
<form action="../secure/TextGrid-WebAuth.php"> <h3><?php echo $t->_('login_option_shib');?></h3>
<?php <form action="../secure/TextGrid-WebAuth.php">
echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">"; <?php echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">"; ?>
echo "<input type=\"submit\" value=\"".$t->_('login_button_shib')."\">"; <button type="submit" class="btn btn-primary btn-block dfn-login"><?php echo $t->_('login_button_shib'); ?></button>
?> </form>
</form> <p class="dfn-info"><?php echo $t->_('login_shib_explanation'); ?></p>
</td> </div>
</tr> </div>
</div>
<tr> </body>
<td><?php
echo $t->_('login_shib_explanation');
?></td>
</tr>
</table>
</div>
</body>
</html> </html>
This diff is collapsed.
info.textgrid.middleware.tgauth.webauth/WebAuthN/img/textgridlab-login.png

1.34 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment