mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Restructure project
This commit is contained in:
		@@ -1,19 +0,0 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
  <h1 id="title">{{ title }}</h1>
 | 
			
		||||
  <p class="light">{{ request.path }}</p>
 | 
			
		||||
  <p>Alternatively, you can visit the <a href="{{ url_for('main.index') }}">Main Page</a> or read <a class="modal-trigger" href="#more-information-modal">more information</a> about this type of error.</p>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div class="modal" id="more-information-modal">
 | 
			
		||||
  <div class="modal-content">
 | 
			
		||||
    <h2>About the "{{ title }}" error</h2>
 | 
			
		||||
    <p>The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action (e.g. creating a duplicate record where only one is allowed). This code is also typically used if the request provided authentication by answering the WWW-Authenticate header field challenge, but the server did not accept that authentication. The request should not be repeated.</p>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="modal-footer">
 | 
			
		||||
    <a href="#!" class="btn-flat modal-close waves-effect waves-green">Close</a>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock page_content %}
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
  <h1 id="title">{{ title }}</h1>
 | 
			
		||||
  <p class="light">{{ request.path }}</p>
 | 
			
		||||
  <p>Alternatively, you can visit the <a href="{{ url_for('main.index') }}">Main Page</a> or read <a class="modal-trigger" href="#more-information-modal">more information</a> about this type of error.</p>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div class="modal" id="more-information-modal">
 | 
			
		||||
  <div class="modal-content">
 | 
			
		||||
    <h2>About the "{{ title }}" error</h2>
 | 
			
		||||
    <p>The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.</p>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="modal-footer">
 | 
			
		||||
    <a href="#!" class="btn-flat modal-close waves-effect waves-green">Close</a>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock page_content %}
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
  <h1 id="title">{{ title }}</h1>
 | 
			
		||||
  <p class="light">{{ request.path }}</p>
 | 
			
		||||
  <p>Alternatively, you can visit the <a href="{{ url_for('main.index') }}">Main Page</a> or read <a class="modal-trigger" href="#more-information-modal">more information</a> about this type of error.</p>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div class="modal" id="more-information-modal">
 | 
			
		||||
  <div class="modal-content">
 | 
			
		||||
    <h2>About the "{{ title }}" error</h2>
 | 
			
		||||
    <p>The request is larger than the server is willing or able to process. Previously called "Request Entity Too Large".</p>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="modal-footer">
 | 
			
		||||
    <a href="#!" class="btn-flat modal-close waves-effect waves-green">Close</a>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock page_content %}
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
  <h1 id="title">{{ title }}</h1>
 | 
			
		||||
  <p class="light">{{ request.path }}</p>
 | 
			
		||||
  <p>Alternatively, you can visit the <a href="{{ url_for('main.index') }}">Main Page</a> or read <a class="modal-trigger" href="#more-information-modal">more information</a> about this type of error.</p>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div class="modal" id="more-information-modal">
 | 
			
		||||
  <div class="modal-content">
 | 
			
		||||
    <h2>About the "{{ title }}" error</h2>
 | 
			
		||||
    <p>A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.</p>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="modal-footer">
 | 
			
		||||
    <a href="#!" class="btn-flat modal-close waves-effect waves-green">Close</a>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock page_content %}
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
  <h1 id="title">{{ title }}</h1>
 | 
			
		||||
  <p class="light">{{ request.path }}</p>
 | 
			
		||||
  <p>Alternatively, you can visit the <a href="{{ url_for('main.index') }}">Main Page</a> or read <a class="modal-trigger" href="#more-information-modal">more information</a> about this type of error.</p>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div class="modal" id="more-information-modal">
 | 
			
		||||
  <div class="modal-content">
 | 
			
		||||
    <h2>About the "{{ title }}" error</h2>
 | 
			
		||||
    <p>The server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.</p>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="modal-footer">
 | 
			
		||||
    <a href="#!" class="btn-flat modal-close waves-effect waves-green">Close</a>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock page_content %}
 | 
			
		||||
							
								
								
									
										10
									
								
								app/templates/errors/error.html.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								app/templates/errors/error.html.j2
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
{% extends "base.html.j2" %}
 | 
			
		||||
 | 
			
		||||
{% set title = error.name %}
 | 
			
		||||
 | 
			
		||||
{% block page_content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
  <h1 id="title">{{ error.name }}</h1>
 | 
			
		||||
  <p>{{ error.description }}</p>
 | 
			
		||||
</div>
 | 
			
		||||
{% endblock page_content %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user