Skip to content

Commit

Permalink
worked on the accessiblity of the site hence ensuring semantic html f…
Browse files Browse the repository at this point in the history
…or all html files (#11539)
  • Loading branch information
Natacha-Danbadan committed Nov 10, 2022
1 parent 54d7984 commit 55dd755
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 160 deletions.
28 changes: 7 additions & 21 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,24 @@

<body>

<nav id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<header id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand ml-lg-5" id="brand" href="/">Public Lab</a>
</div>
</div>
</nav>
</header>

<main>
<div class="container">

<div class="row">

<!-- ################################################ -->

<div class="col-md-3">

</div>

<div class="col-md-3"> </div>
<div class="col-md-9">

<h1>That page does not exist.</h1>

<p>Are you sure you've typed the right address?</p>

<hr>

<p>Please help us figure out what happened so we can fix it!</p>

<p>If possible, please describe:</p>

<ul>
Expand All @@ -56,27 +46,21 @@ <h1>That page does not exist.</h1>
</ul>

<p><a class="btn btn-primary" href="https://github.com/publiclab/plots2/issues/new">Report a bug on Github</a> or send an email to <a href="mailto:web@publiclab.org">web@publiclab.org</a> with the above information.</p>

<p>Thank you for helping to improve open source software!.</p>

<hr>

<h2>Ask for help in the Public Lab chatroom</h2>

<p>Community members and staff may be able to help you in real time.</p>

<p><a href="https://publiclab.org/chat" target="_blank" class="btn btn-primary">Open chatroom</a></p>

</div>

<!-- ################################################ -->

</div><!--/row-->

</div><!--/.fluid-container-->
</main>

<footer class="footer">

<div class="col-md-3 hidden-print">
<h4>Getting help</h4>
<ul>
Expand Down Expand Up @@ -121,6 +105,7 @@ <h4>Links</h4>
}
})()
</script>

<script type="text/javascript">

var _gaq = _gaq || [];
Expand All @@ -138,5 +123,6 @@ <h4>Links</h4>
})();

</script>

</body>
</html>
22 changes: 6 additions & 16 deletions public/422.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,28 @@

<body>


<nav id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<header id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand ml-lg-5" id="brand" href="/">Public Lab</a>
</div>
</div>
</nav>
</header>

<main>
<div class="container">

<div class="row">

<!-- ################################################ -->

<div class="col-md-3">

</div>

<div class="col-md-9">

<h2>There was a problem with your request. <small>Are you sure you have permissions to do that?</small></h2>

<p>Or it may be our servers!</p>

<hr>

<p>Please help us figure out what happened so we can fix it!</p>

<p>If possible, please describe:</p>

<ul>
Expand All @@ -57,27 +50,22 @@ <h2>There was a problem with your request. <small>Are you sure you have permissi
</ul>

<p><a class="btn btn-primary" href="https://github.com/publiclab/plots2/issues/new">Report a bug on Github</a> or send an email to <a href="mailto:web@publiclab.org">web@publiclab.org</a> with the above information.</p>

<p>Thank you for helping to improve open source software!.</p>

<hr>

<h2>Ask for help in the Public Lab chatroom</h2>

<p>Community members and staff may be able to help you in real time.</p>

<p><a href="https://publiclab.org/chat" target="_blank" class="btn btn-primary">Open chatroom</a></p>

</div>

<!-- ################################################ -->

</div><!--/row-->

</div><!--/.fluid-container-->
</main>

<footer class="footer">

<div class="col-md-3 hidden-print">
<h4>Getting help</h4>
<ul>
Expand Down Expand Up @@ -122,6 +110,7 @@ <h4>Links</h4>
}
})()
</script>

<script type="text/javascript">

var _gaq = _gaq || [];
Expand All @@ -139,5 +128,6 @@ <h4>Links</h4>
})();

</script>

</body>
</html>
98 changes: 43 additions & 55 deletions public/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,69 +17,55 @@

<body>


<nav id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<header id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand ml-lg-5" id="brand" href="/">Public Lab</a>
</div>
</div>
</nav>

<div class="container">

<div class="row">

<!-- ################################################ -->

<div class="col-md-3">

</div>

<div class="col-md-9">

<h2>There was an error. <small>Are you sure you have the right address?</small></h2>

<hr>

<p>If your browser is set to a language besides English, please <a href="/change_locale/en">click here to switch to English</a> while we resolve a bug -- apologies!</p>

<hr>

<p>Please help us figure out what happened so we can fix it!</p>

<p>If possible, please describe:</p>
</header>

<ul>
<li>what you did just before the problem occurred</li>
<li>your browser and browser version</li>
<li>your operating system</li>
<li>any web addresses needed to see the problem (such as the URL of this page)</li>
<li>your PublicLab.org username (if you have one)</li>
</ul>

<p><a class="btn btn-primary" href="https://github.com/publiclab/plots2/issues/new" target="_blank">Report a bug on Github</a> <a class="btn btn-primary" href="https://oss.skylight.io/app/applications/GZDPChmcfm1Q/recent/6h/endpoints" target="_blank">Check if the site is running slow</a> or, send an email to <a href="mailto:web@publiclab.org">web@publiclab.org</a> with the above information.</p>

<p>Thank you for helping to improve open source software!.</p>

<hr>

<h2>Ask for help in the Public Lab chatroom</h2>

<p>Community members and staff may be able to help you in real time.</p>

<p><a href="https://publiclab.org/chat" target="_blank" class="btn btn-primary">Open chatroom</a></p>

</div>

<!-- ################################################ -->

</div><!--/row-->

</div><!--/.fluid-container-->
<main>
<div class="container">
<div class="row">
<!-- ################################################ -->
<div class="col-md-3">
</div>

<div class="col-md-9">
<h2>There was an error. <small>Are you sure you have the right address?</small></h2>

<hr>

<p>If your browser is set to a language besides English, please <a href="/change_locale/en">click here to switch to English</a> while we resolve a bug -- apologies!</p>
<hr>

<p>Please help us figure out what happened so we can fix it!</p>
<p>If possible, please describe:</p>

<ul>
<li>what you did just before the problem occurred</li>
<li>your browser and browser version</li>
<li>your operating system</li>
<li>any web addresses needed to see the problem (such as the URL of this page)</li>
<li>your PublicLab.org username (if you have one)</li>
</ul>

<p><a class="btn btn-primary" href="https://github.com/publiclab/plots2/issues/new" target="_blank">Report a bug on Github</a> <a class="btn btn-primary" href="https://oss.skylight.io/app/applications/GZDPChmcfm1Q/recent/6h/endpoints" target="_blank">Check if the site is running slow</a> or, send an email to <a href="mailto:web@publiclab.org">web@publiclab.org</a> with the above information.</p>
<p>Thank you for helping to improve open source software!.</p>

<hr>

<h2>Ask for help in the Public Lab chatroom</h2>
<p>Community members and staff may be able to help you in real time.</p>
<p><a href="https://publiclab.org/chat" target="_blank" class="btn btn-primary">Open chatroom</a></p>
</div>
<!-- ################################################ -->
</div><!--/row-->
</div><!--/.fluid-container-->
</main>

<footer class="footer">

<div class="col-md-3 hidden-print">
<h4>Getting help</h4>
<ul>
Expand Down Expand Up @@ -124,6 +110,7 @@ <h4>Links</h4>
}
})()
</script>

<script type="text/javascript">

var _gaq = _gaq || [];
Expand All @@ -141,5 +128,6 @@ <h4>Links</h4>
})();

</script>

</body>
</html>
24 changes: 6 additions & 18 deletions public/502.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,27 @@
<body>


<nav id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<header id="header" class="navbar navbar-dark bg-dark fixed-top mb-5 py-3">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand ml-lg-5" id="brand" href="/">Public Lab</a>
</div>
</div>
</nav>
</header>

<main>
<div class="container">

<div class="row">

<!-- ################################################ -->

<div class="col-md-3">

</div>

<div class="col-md-9">

<h2>This page is taking too long to load.</h2>

<p>We're sorry! Please try refreshing the page.</p>

<hr>

<p>If the problem continues, please help us figure out what happened so we can fix it!</p>

<p>If possible, please describe:</p>

<ul>
Expand All @@ -56,27 +49,20 @@ <h2>This page is taking too long to load.</h2>
</ul>

<p><a class="btn btn-primary" href="https://github.com/publiclab/plots2/issues/new">Report a bug on Github</a> or send an email to <a href="mailto:web@publiclab.org">web@publiclab.org</a> with the above information.</p>

<p>Thank you for helping to improve open source software!.</p>

<hr>

<h2>Ask for help in the Public Lab chatroom</h2>

<p>Community members and staff may be able to help you in real time.</p>

<p><a href="https://publiclab.org/chat" target="_blank" class="btn btn-primary">Open chatroom</a></p>

</div>

<!-- ################################################ -->

</div><!--/row-->

</div><!--/.fluid-container-->
</main>

<footer class="footer">

<div class="col-md-3 hidden-print">
<h4>Getting help</h4>
<ul>
Expand Down Expand Up @@ -121,6 +107,7 @@ <h4>Links</h4>
}
})()
</script>

<script type="text/javascript">

var _gaq = _gaq || [];
Expand All @@ -138,5 +125,6 @@ <h4>Links</h4>
})();

</script>

</body>
</html>
Loading

0 comments on commit 55dd755

Please sign in to comment.