Commit cbf58f78 by Maarten L. Hekkelman

Fixes for web server

parent 822438b5
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:z2="http://www.hekkelman.com/libzeep/m2" lang="nl">
<head z2:replace="~{head::head(~{::title},~{::head/script})}">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>PDB-REDO - Error</title>
</head>
<body class="site">
<nav z2:replace="~{menu :: navbar('token')}" />
<div class="container site-content">
<div class="container-fluid mt-5">
<div class="alert alert-danger" role="alert">
<span z2:if="${error.nr}" class="error-nr" z2:text="${error.nr}"></span>
<span class="error-head-text" z2:text="${error.head}"></span>
</div>
</div>
<div class="container-fluid mt-5">
<p class="error-main-text" z2:text="${error.description}"></p>
<p z2:if="${error.message}" z2:text="${error.message}"></p>
</div>
<div class="container-fluid mt-5">
<ul class="error-info">
<li z2:if="${error.request.method}">Method: <em z2:text="${error.request.method}"></em></li>
<li z2:if="${error.request.uri}">URI: <em z2:text="${error.request.uri}"></em></li>
<li z2:if="${error.request.username}">Username: <em z2:text="${error.request.username}"></em></li>
</ul>
</div>
</div>
<footer z2:replace="~{footer::content}" />
</body>
</html>
\ No newline at end of file
<!DOCTYPE html SYSTEM "about:legacy-compat" [ <!DOCTYPE html SYSTEM "about:legacy-compat">
<!ENTITY nbsp "&#160;">
]>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:z2="http://www.hekkelman.com/libzeep/m2" lang="nl"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:z2="http://www.hekkelman.com/libzeep/m2" lang="nl">
...@@ -12,17 +10,11 @@ ...@@ -12,17 +10,11 @@
</head> </head>
<body class="site"> <body class="site">
<nav z2:replace="~{menu :: navbar('about')}" /> <nav z2:replace="~{menu :: navbar('about')}"></nav>
<div class="container site-content"> <div class="container site-content">
<article> <article>
<h2>General</h2>
<!-- <p>This is the DSSP web server. Before using it, please read the <a z2:href="@{/privacy-policy}">privacy policy</a>.</p> -->
</article>
<article>
<h2>Usage Policy</h2> <h2>Usage Policy</h2>
<p>Data files contained in the DSSP databank (rsync://rsync.pdb-redo.eu/dssp; <a <p>Data files contained in the DSSP databank (rsync://rsync.pdb-redo.eu/dssp; <a
......
...@@ -51,6 +51,7 @@ class dssp_html_controller : public zeep::http::html_controller ...@@ -51,6 +51,7 @@ class dssp_html_controller : public zeep::http::html_controller
map_get("", "index"); map_get("", "index");
map_get("about", "about"); map_get("about", "about");
map_get("download", "download"); map_get("download", "download");
map_get("license", "license");
} }
}; };
......
...@@ -193,7 +193,6 @@ article { ...@@ -193,7 +193,6 @@ article {
article h2 { article h2 {
margin-bottom: 0.5em; margin-bottom: 0.5em;
font-size: x-large;
} }
a { a {
......
Markdown is supported
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