Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
cbf58f78
Unverified
Commit
cbf58f78
authored
Jun 12, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for web server
parent
822438b5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
11 deletions
+45
-11
docroot/about.html
+0
-0
docroot/error.html
+42
-0
docroot/license.html
+2
-10
src/dssp-server.cpp
+1
-0
webapp/pdb-redo-style.scss
+0
-1
No files found.
docroot/about.html
View file @
cbf58f78
This diff is collapsed.
Click to expand it.
docroot/error.html
0 → 100644
View file @
cbf58f78
<!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
docroot/licen
c
e.html
→
docroot/licen
s
e.html
View file @
cbf58f78
<!DOCTYPE html SYSTEM "about:legacy-compat" [
<!DOCTYPE html SYSTEM "about:legacy-compat">
<!ENTITY nbsp " ">
]>
<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
...
...
src/dssp-server.cpp
View file @
cbf58f78
...
@@ -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"
);
}
}
};
};
...
...
webapp/pdb-redo-style.scss
View file @
cbf58f78
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment