部分信息放入 custom_settings 里面

This commit is contained in:
virusdefender
2016-01-28 20:36:24 +08:00
parent 480050fac3
commit 78017df6b6
12 changed files with 44 additions and 164 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
{% load website_info %}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>青岛大学在线评测平台 - 首页</title>
<title>{% show_website_info "website_name" %} - 首页</title>
<link href="/static/css/fullpage/jquery.fullPage.css" rel="stylesheet">
<link rel="shortcut icon" href="/static/img/favicon.ico">
@@ -125,21 +125,12 @@
loopBottom: true
});
});
/*
var c = 0;
setInterval(function(){
//alert(1);
$("#section0").css("background-image", "url(/static/img/index/bg/bg" + (c++ % 4).toString() + ".jpg)")
}, 1000)
*/
</script>
</head>
<body>
<div id="header">
<span id="name">qduoj</span>
<span id="name">{% show_website_info "website_name_shortcut" %}</span>
<a href="/problems/">题目</a>&nbsp;&nbsp;
<a href="/submissions/">提交</a>&nbsp;&nbsp;
<a href="/contests/">比赛</a>&nbsp;&nbsp;
@@ -158,7 +149,7 @@
<div id="fullpage">
<div class="section" id="section0">
<div class="index-section-text animated bounceInUp">
<h1>青岛大学 Online Judge</h1>
<h1>{% show_website_info "website_name" %}</h1>
<h3>新的面貌,新的开始~</h3>
</div>

View File

@@ -77,7 +77,7 @@
{% endif %}
<textarea class="form-control" id="share-code-textarea"
{% if not submission.shared %}style="display: none" {% endif %}>{{ problem.title }}
{{ request.build_absolute_uri }}</textarea>
{{ website_base_url }}/submission/{{ submission.id }}/</textarea>
</div>
{% endif %}

View File

@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="zh-cn">
{% load website_info %}
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -8,7 +9,7 @@
<link rel="shortcut icon" href="/static/img/favicon.ico">
<title>
{% block title %}
在线评测系统
{% show_website_info "website_name" %}
{% endblock %}
</title>
@@ -20,7 +21,7 @@
{% block css_block %}{% endblock %}
<!-- custom css end -->
</head>
{% load website_info %}
<body>
@@ -40,7 +41,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">{% show_website_info "website_name" %}</a>
<a class="navbar-brand" href="/">{% show_website_info "website_name_shortcut" %}</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
@@ -49,7 +50,6 @@
<li><a href="/contests/">比赛</a></li>
<li><a href="/groups/">小组</a></li>
<li><a href="/about/">关于</a></li>
<li><a href="http://form.mikecrm.com/f.php?t=lREqa0">反馈</a></li>
</ul>
{% if request.user.is_authenticated %}
<ul class="nav navbar-nav navbar-right">

View File

@@ -19,55 +19,16 @@
经过30多年的发展ACM国际大学生程序设计竞赛已经发展成为最具影响力的大学生计算机竞赛。赛事目前由IBM公司赞助。
</p>
<p>
青岛大学 ACM 队是一支优秀的队伍,一支充满活力与激情的队伍,它满载着光辉与荣誉。在过去的几年里,集训队的队员曾代表我校多次参加竞赛,获得了佳绩。
</p>
<p>
ACM 队会在每月举行一次 ACM 月赛,该比赛是 ACM 选拨队员的重要评据。ACM 队用比赛来保证队伍的活力,以比拼来加强队伍的素质,
正是如此ACM 队的队员在程序设计方面始几乎终代表着全院的最高水平。
</p>
<p>
如果你有意加入这支优秀的队伍,就用你的行动来证明你的优秀吧,月赛将是你展示自我的舞台。
</p>
<!-- 请使用这套程序的朋友不要删除"开源"这部分 -->
<h2 class="text-center">开源</h2>
<p>
<a href="https://github.com/QingdaoU/OnlineJudge" target="_blank">代码</a>
<a href="https://github.com/QingdaoU/OnlineJudge" target="_blank">GitHub</a>
<a href="https://github.com/QingdaoU/OnlineJudge/issues" target="_blank">问题反馈</a>
<a href="https://github.com/QingdaoU/OnlineJudge/wiki/dev-team" target="_blank">开发团队</a>
</p>
<!-- end -->
<h2 class="text-center">开发人员</h2>
<table class="table table-bordered">
<tbody>
<tr>
<th>指导老师</th>
<th>李建波</th>
</tr>
<tr>
<th>v1.0</th>
<th>
董延鑫
邢兆龙
</th>
</tr>
<tr>
<th>v2.0</th>
<th>
董延鑫
杨玉飞
徐可飞
王波
周鲁晓
</th>
</tr>
<tr>
<th>v3.0</th>
<th>。。。</th>
</tr>
</tbody>
</table>
</div>
</div>
{% endblock %}