Skip to content

Commit

Permalink
Fix: 修正404
Browse files Browse the repository at this point in the history
  • Loading branch information
doraemonext committed Jul 15, 2015
1 parent 7328382 commit e8edac0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
10 changes: 0 additions & 10 deletions DEOnlineJudge/local_settings.py

This file was deleted.

16 changes: 16 additions & 0 deletions templates/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{% extends 'base.html' %}

{% block title %}找不到页面 - DE Online Judge{% endblock %}

{% block content %}
<div class="errortitle">
<h4 class="animate0 fadeInUp">找不到页面</h4>
<span class="animate1 bounceIn">4</span>
<span class="animate2 bounceIn">0</span>
<span class="animate3 bounceIn">4</span>
<div class="errorbtns animate4 fadeInUp">
<a onclick="history.back()" class="btn btn-primary btn-large">返回上一页</a>
<a href="{% url 'problem:list' %}" class="btn btn-default btn-large">进入题目页</a>
</div>
</div>
{% endblock %}

0 comments on commit e8edac0

Please sign in to comment.