andreimarcu
9 years ago
9 changed files with 65 additions and 20 deletions
-
18display.go
-
2fileserve.go
-
21pages.go
-
14server.go
-
BINstatic/images/404.jpg
-
5templates/404.html
-
4templates/display/file.html
-
10templates/oops.html
-
11upload.go
After Width: 500 | Height: 348 | Size: 18 KiB |
@ -0,0 +1,5 @@ |
|||||
|
{% extends "base.html" %} |
||||
|
|
||||
|
{% block content %} |
||||
|
<a href="/"><img style="border:0;" src='/static/images/404.jpg' width='400'></a> |
||||
|
{% endblock %} |
@ -1,7 +1,7 @@ |
|||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||
|
|
||||
{% block main %} |
{% block main %} |
||||
<div class="normal"> |
|
||||
<p class="center">You are requesting <a href="/selif/{{ filename }}">{{ filename }}</a>, <a href="/selif/{{ filename }}">>click here</a> to download.</p> |
|
||||
|
<div class="normal" style="width: 500px;"> |
||||
|
<p class="center">You are requesting <a href="/selif/{{ filename }}">{{ filename }}</a>, <a href="/selif/{{ filename }}">click here</a> to download.</p> |
||||
</div> |
</div> |
||||
{% endblock %} |
{% endblock %} |
@ -0,0 +1,10 @@ |
|||||
|
{% extends "base.html" %} |
||||
|
|
||||
|
{% block content %} |
||||
|
<div id="main"> |
||||
|
<div id='inner_content' style='width: 400px'> |
||||
|
<p>{{ error_message|default:"Oops! Something went wrong." }}</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
{% endblock %} |
||||
|
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue