diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-20 16:17:47 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-20 16:17:47 +0800 |
commit | d477d14d624bea299a62199799607155d43a4226 (patch) | |
tree | c82c424f77993b7138f01249c99cd3309612d012 /templates/index.html | |
parent | 0005d0926d15d9034d8cb47da3861e5ab6dd02f1 (diff) | |
download | django-skaschool-d477d14d624bea299a62199799607155d43a4226.tar.bz2 |
* implemented the index page
o base.html, navbar.html, favicon.html, index.html
o added static files related to index page
* performed south migrations
* implemented registration templates
* implemented regiration views and pages
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..1904f8c --- /dev/null +++ b/templates/index.html @@ -0,0 +1,50 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} + +{# index page for skaschool #} + +{% block title %} +首页 | 2014 SKA Summer School +{% endblock %} + +{% block css_extra %} + <link href="{% static 'css/index.css' %}" rel="stylesheet"> +{% endblock %} + +{% block content %} + <div class="container"> + <h1>第二届 中国SKA暑期学校</h1> + <h1>暨 中国-新西兰联合SKA暑期学校</h1> + <h2>China-New Zealand Joint SKA Summer School</h2> + + <br /> + <p class="lead"> + 上海,2014,6月28日-7月5日 <br /> + June 28 - July 05, 2014, Shanghai + </p> + + <br /> + <p> + <a href="#" class="btn btn-outline-inverse btn-lg">了解更多</a> + <a href="{% url 'registration_register' %}" class="btn btn-outline-inverse btn-lg">注册参加</a> + </p> + </div> +{% endblock %} {# content #} + +{% block footer %} + <footer class="container" role="contentinfo"> + <p>Brought to you by: <strong>Weitian LI</strong>.</p> + <ul class="masthead-links"> + <li>Powered by:</li> + <li><a href="https://www.djangoproject.com/">Django</a></li> + <li><a href="http://getbootstrap.com/">Bootstrap</a></li> + </ul> + </footer> +{% endblock %} + +{% block js_extra %} + <script src="{% static 'js/index.js' %}" type="text/javascript"></script> +{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} |