Skip to content

Commit

Permalink
Merge pull request #1013 from amagavi/feature/JavaMonitor-closerToHTM…
Browse files Browse the repository at this point in the history
…LValidation

Minor HTML/CSS updates to get closer to passing HTML validation.
  • Loading branch information
paulhoadley authored Apr 19, 2023
2 parents eed3266 + c868870 commit 1ade826
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
10 changes: 7 additions & 3 deletions Applications/JavaMonitor/Components/Main.wo/Main.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<!DOCTYPE html>
<html lang = "en">
<webobject name=LoginSucceeded>
<head>
<title>Monitor for WebObjects 5.4</title>
<webobject name=Refresh></webobject>
</head>
</webobject>

<webobject name=LoginRequired>
<html>
<head>
<title>Monitor for WebObjects 5.4</title>
<webobject name = "ERXStyleSheet"/>
</head>
<body id ="LoginPage" onload="document.getElementById('password').focus()">
<h1 style="text-align: center;">JavaMonitor for WebObjects</h1>
<h1>JavaMonitor for WebObjects</h1>
<webobject name = "HasLoginError">
<p class="Box ErrorBox LoginErrorBox"><webobject name="ErrorMsg" /></p>
</webobject>
Expand All @@ -22,5 +26,5 @@ <h4>A password is required to access this application</h4>
</div>

</body>
</html>
</webobject> <!-- LoginRequired -->
</html>
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<html>
<!DOCTYPE html>
<html lang = "en">
<head>
<title><webobject name="Title" /></title>
<webobject name = "ERXStyleSheet"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ AppleImage: WOImage {
filename = "AppleLogo.gif";
height = 36;
width = 30;
align = "right";
border = 0;
alt = "Apple logo";
}

Content : WOComponentContent {
Expand Down
10 changes: 10 additions & 0 deletions Applications/JavaMonitor/WebServerResources/javamonitor.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ td {
margin-top: 50px;
}

#LoginPage h1 {
text-align: center;
}

.Box {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
Expand Down Expand Up @@ -201,6 +205,12 @@ label {
float: right;
}

#NavigationLogo img
{
text-align: right;
}


.Notes {
margin-top: 10px;
}
Expand Down

0 comments on commit 1ade826

Please sign in to comment.