|
| 1 | +{% extends BASE_TEMPLATE %} |
1 | 2 | {% load i18n %}
|
2 |
| -<!DOCTYPE html> |
3 |
| -<html lang="en"> |
4 |
| -<head> |
5 |
| - <meta charset="UTF-8"> |
| 3 | +{% load static %} |
| 4 | +{% block site_description %}Designer: Adams Pierre David, Category: Resources forbidden, code 403{% endblock %} |
| 5 | +{% block title %}Resources forbidden | 403{% endblock %} |
| 6 | +{% block customMetaTag %} |
| 7 | + <meta name="robots" content="noindex,nofollow"> |
| 8 | +{% endblock %} |
| 9 | +{% block customCSS %} |
6 | 10 | <link href=" https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel=" stylesheet"
|
7 | 11 | integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
|
8 |
| - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
9 |
| - <meta name="description" |
10 |
| - content="Author: Adams Pierre David, Designer: Adams Pierre David, Category: Technology/IT/Blog, Resources forbidden, code 403"> |
11 |
| - <meta name="google-site-verification" content=""/> |
12 |
| - <meta name="robots" content="noindex,nofollow"> |
13 |
| - <title>Resources forbidden | 403</title> |
14 |
| - <link href="/static/root/img/favicon/favicon.ico" |
15 |
| - rel="shortcut icon"/> |
16 | 12 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
|
17 | 13 | integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
|
18 | 14 | crossorigin="anonymous" referrerpolicy="no-referrer"/>
|
|
83 | 79 | }
|
84 | 80 |
|
85 | 81 | </style>
|
86 |
| -</head> |
87 |
| -<body> |
88 |
| -<br><br><br><br> |
89 |
| -<div class="logo"> |
90 |
| - {% trans "Reality" %} |
91 |
| -</div> |
92 |
| -<br> |
93 |
| -<div class="error"> |
94 |
| - {% trans "Error 403" %}! |
95 |
| -</div> |
96 |
| -<br> |
97 |
| -<div class="error2"> |
98 |
| - {% if message %} |
99 |
| - {{ message }} |
100 |
| - {% else %} |
101 |
| - {% trans "You don't have permission to view this resource, and you know it" %}! |
102 |
| - {% endif %} |
103 |
| -</div> |
104 |
| -<br> |
105 |
| -<div class="options" align="center"> |
106 |
| - {% if back_url %} |
107 |
| - <button type="button" class="btn btn-primary" id="back" onclick="Back()"> |
108 |
| - <i class="fa fa-undo"></i> {% trans "Go to profile" %} |
109 |
| - </button> |
110 |
| - {% else %} |
111 |
| - <button type="button" class="btn btn-primary" id="back" onclick="Back()"> |
112 |
| - <i class="fa fa-undo"></i> {% trans "Go back" %} |
113 |
| - </button> |
114 |
| - {% endif %} |
115 |
| -</div> |
116 |
| -<script> |
117 |
| - const back_url = "{{ back_url }}"; |
| 82 | +{% endblock %} |
| 83 | +{% block body %} |
118 | 84 |
|
119 |
| - function Back() { |
120 |
| - if (back_url) { |
121 |
| - window.location.href = back_url; |
122 |
| - } else { |
123 |
| - window.history.back(); |
| 85 | + <body> |
| 86 | + <br><br><br><br> |
| 87 | + <div class="logo"> |
| 88 | + {% trans "Reality" %} |
| 89 | + </div> |
| 90 | + <br> |
| 91 | + <div class="error"> |
| 92 | + {% trans "Error 403" %}! |
| 93 | + </div> |
| 94 | + <br> |
| 95 | + <div class="error2"> |
| 96 | + {% if message %} |
| 97 | + {{ message }} |
| 98 | + {% else %} |
| 99 | + {% trans "You don't have permission to view this resource, and you know it" %}! |
| 100 | + {% endif %} |
| 101 | + </div> |
| 102 | + <br> |
| 103 | + <div class="options" align="center"> |
| 104 | + {% if back_url %} |
| 105 | + <button type="button" class="btn btn-primary" id="back" onclick="Back()"> |
| 106 | + <i class="fa fa-undo"></i> {% trans "Go to profile" %} |
| 107 | + </button> |
| 108 | + {% else %} |
| 109 | + <button type="button" class="btn btn-primary" id="back" onclick="Back()"> |
| 110 | + <i class="fa fa-undo"></i> {% trans "Go back" %} |
| 111 | + </button> |
| 112 | + {% endif %} |
| 113 | + </div> |
| 114 | + <script> |
| 115 | + const back_url = "{{ back_url }}"; |
| 116 | + |
| 117 | + function Back() { |
| 118 | + if (back_url) { |
| 119 | + window.location.href = back_url; |
| 120 | + } else { |
| 121 | + window.history.back(); |
| 122 | + } |
124 | 123 | }
|
125 |
| - } |
126 |
| -</script> |
| 124 | + </script> |
127 | 125 |
|
128 | 126 |
|
129 |
| -</body> |
| 127 | + </body> |
| 128 | +{% endblock %} |
0 commit comments