Skip to content
Snippets Groups Projects
Commit 5faef5c6 authored by Martin Haase's avatar Martin Haase
Browse files

last few CSS lines

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@10418 7c539038-3410-0410-b1ec-0f2a7bf1c452
parent b6aae5b3
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,10 @@ if ($authZinstance == null) { ...@@ -23,9 +23,10 @@ if ($authZinstance == null) {
<link rel="stylesheet" type="text/css" media="screen,print" href="main.css" /> <link rel="stylesheet" type="text/css" media="screen,print" href="main.css" />
</head> </head>
<body> <body>
<div style="font-family:Helvetica,Arial,sans-serif;">
<h2>TextGridLab Login</h2> <h2>TextGridLab Login</h2>
<table border="1" rules="cols" cellpadding="4"> <table border="1" rules="cols" cellpadding="4" style="background: #EEEEEE;">
<tr> <tr>
<td align="center" valign="top"> <td align="center" valign="top">
<h3>textgrid.de account</h3> <h3>textgrid.de account</h3>
...@@ -75,6 +76,6 @@ on <a href="http://www.textgrid.de/beta/installation.html">http://www.textgrid.d ...@@ -75,6 +76,6 @@ on <a href="http://www.textgrid.de/beta/installation.html">http://www.textgrid.d
</td> </td>
</tr> </tr>
</table> </table>
</div>
</body> </body>
</html> </html>
...@@ -38,7 +38,7 @@ class WebUtils { ...@@ -38,7 +38,7 @@ class WebUtils {
echo "</script>\n"; echo "</script>\n";
echo "</head>\n<body>\n"; echo "</head>\n<body>\n";
echo "<div style=\"font-face: Arial;\""; echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">";
echo "<h2>Authentication Succeeded</h2>\n"; echo "<h2>Authentication Succeeded</h2>\n";
echo "<p>You were successfully authenticated with User ID '<b>" . $rbachash["remote_user"] . "</b>'. You may now access remote resources using the TextGrid Lab. This window can be closed.</p>\n"; echo "<p>You were successfully authenticated with User ID '<b>" . $rbachash["remote_user"] . "</b>'. You may now access remote resources using the TextGrid Lab. This window can be closed.</p>\n";
...@@ -132,7 +132,7 @@ class WebUtils { ...@@ -132,7 +132,7 @@ class WebUtils {
echo "</script>\n"; echo "</script>\n";
echo "</head>\n\n<body>\n"; echo "</head>\n\n<body>\n";
echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">";
echo "<h2>Authentication Failure</h2>\n"; echo "<h2>Authentication Failure</h2>\n";
echo "<h3>$heading</h3>\n"; echo "<h3>$heading</h3>\n";
echo "<p>The Authentication system could not authenticate you.</p>\n"; echo "<p>The Authentication system could not authenticate you.</p>\n";
...@@ -164,7 +164,7 @@ class WebUtils { ...@@ -164,7 +164,7 @@ class WebUtils {
echo "<p>If not indicated otherwise in the error details, it could be that some service is not responding temporarily. In this case, please <a href=\"javascript:history.back()\">go back</a> or re-open the TextGridLab and try again.</p>"; echo "<p>If not indicated otherwise in the error details, it could be that some service is not responding temporarily. In this case, please <a href=\"javascript:history.back()\">go back</a> or re-open the TextGridLab and try again.</p>";
echo "<p>If the problem persists, please report this bug together with its time of occurence (" . date("Y-m-d H:i:s") . "). In the TextGridLab, choose 'Help-&gt;Report Bug'.</p>" ; echo "<p>If the problem persists, please report this bug together with its time of occurence (" . date("Y-m-d H:i:s") . "). In the TextGridLab, choose 'Help-&gt;Report Bug'.</p>" ;
echo "\n</body>\n</html>"; echo "\n</div></body>\n</html>";
} }
public function printHeader ($title) { public function printHeader ($title) {
...@@ -234,7 +234,7 @@ class WebUtils { ...@@ -234,7 +234,7 @@ class WebUtils {
echo "</script>"; echo "</script>";
echo "</head>\n<body>\n"; echo "</head>\n<body>\n";
echo "<div style=\"font-face: Arial;\">"; echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">";
echo "<h2 style=\"text-align: center;\">$title</h2>\n"; echo "<h2 style=\"text-align: center;\">$title</h2>\n";
// echo "This is what we got for sure:". serialize ($providedAttrs); // echo "This is what we got for sure:". serialize ($providedAttrs);
// echo $remote_user .serialize ( $attrMap ); // echo $remote_user .serialize ( $attrMap );
...@@ -315,9 +315,10 @@ class WebUtils { ...@@ -315,9 +315,10 @@ class WebUtils {
public function printSetAttributesSuccess ($thedisplayname) { public function printSetAttributesSuccess ($thedisplayname) {
$this->printHeader("Successfully updated User Attributes"); $this->printHeader("Successfully updated User Attributes");
echo "</head><body>\n"; echo "</head><body>\n";
echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">";
echo "Thank you, ${thedisplayname}, your user attributes are now up to date.<br/>\n"; echo "Thank you, ${thedisplayname}, your user attributes are now up to date.<br/>\n";
echo "You can close this dialogue.\n"; echo "You can close this dialogue.\n";
echo "\n</body>\n</html>"; echo "\n</div></body>\n</html>";
} }
......
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