修改每个页面的title

This commit is contained in:
hohoTT
2015-09-16 21:57:17 +08:00
parent 7a53565a04
commit 903a36f43d
23 changed files with 71 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
{% extends 'oj_base.html' %}
{% block title %}
{{ contest.title }}
{% endblock %}
{% block body %}
<div class="container main">
<ul class="nav nav-tabs nav-tabs-google">

View File

@@ -1,4 +1,7 @@
{% extends "oj_base.html" %}
{% block title %}
比赛列表
{% endblock %}
{% block body %}
{% load contest %}
<div class="container main">

View File

@@ -1,5 +1,7 @@
{% extends 'oj_base.html' %}
{% block title %}
{{ contest_problem.title }}
{% endblock %}
{% block body %}
<div class="container main">
<ul class="nav nav-tabs nav-tabs-google">

View File

@@ -1,4 +1,7 @@
{% extends "oj_base.html" %}
{% block title %}
比赛题目列表
{% endblock %}
{% block body %}
{% load problem %}
<div class="container main">

View File

@@ -1,4 +1,7 @@
{% extends "oj_base.html" %}
{% block title %}
比赛排名
{% endblock %}
{% block body %}
<div class="container main">

View File

@@ -1,4 +1,7 @@
{% extends 'oj_base.html' %}
{% block title %}
我的提交详情
{% endblock %}
{% block css_block %}
<style>
.CodeMirror {

View File

@@ -1,5 +1,7 @@
{% extends 'oj_base.html' %}
{% block title %}
我的提交列表
{% endblock %}
{% block body %}
{% load submission %}

View File

@@ -1,5 +1,7 @@
{% extends 'oj_base.html' %}
{% block title %}
{{ contest.title }}
{% endblock %}
{% block body %}
<div class="container main">
<ul class="nav nav-tabs nav-tabs-google">

View File

@@ -1,5 +1,7 @@
{% extends 'oj_base.html' %}
{% block title %}
比赛提交列表
{% endblock %}
{% block body %}
{% load submission %}