code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-04-28.
# $Id$
#
import datetime
import logging
from django import forms
from friday.common.errors import InvalidFormError
from friday.apps.notifications.models import Notificat... | zzheng | friday/website/friday/apps/notifications/forms.py | Python | asf20 | 1,349 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-04-28.
# $Id$
#
from django.conf.urls.defaults import *
from friday.apps.notifications.views import *
urlpatterns = patterns("",
url(
r"^$",
notifications... | zzheng | friday/website/friday/apps/notifications/urls.py | Python | asf20 | 990 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-04-28.
# $Id$
#
| zzheng | friday/website/friday/apps/notifications/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-04-28.
# $Id$
#
import logging
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
from django.template import RequestContext
from django.shortcuts import ren... | zzheng | friday/website/friday/apps/notifications/views.py | Python | asf20 | 5,066 |
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-04-28.
# $Id$
#
from django.dispatch import Signal
something_happened = Signal(providing_args=["subject", "message", "author", "recipients"])
# EOF
| zzheng | friday/website/friday/apps/notifications/signals.py | Python | asf20 | 251 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-04-27.
# $Id$
#
import random
from google.appengine.ext import db
from djangomockup import models
from friday.common.dbutils import filter_key, ord_to_key
class TagCloud(ob... | zzheng | friday/website/friday/apps/tagging/models.py | Python | asf20 | 5,834 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-04.
# $Id$
#
from django.conf.urls.defaults import *
from friday.apps.tagging.views import *
urlpatterns = patterns("",
url(
r"^$",
view_tags,
... | zzheng | friday/website/friday/apps/tagging/urls.py | Python | asf20 | 602 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-03.
# $Id$
#
| zzheng | friday/website/friday/apps/tagging/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-04.
# $Id$
#
import logging
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
from django.template import RequestContext
from django.shortcuts import rend... | zzheng | friday/website/friday/apps/tagging/views.py | Python | asf20 | 1,775 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-20.
# $Id$
#
import datetime
from google.appengine.ext import db
from djangomockup import models
from friday.auth import users
class Profile(models.Model):
GRAVAT... | zzheng | friday/website/friday/apps/profiles/models.py | Python | asf20 | 2,478 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-20.
# $Id$
#
import logging
from django import forms
from django.forms.util import ErrorList
from friday.common.errors import ProgrammingError, InvalidFormError
from friday.... | zzheng | friday/website/friday/apps/profiles/forms.py | Python | asf20 | 4,016 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-08.
# $Id$
#
from django.conf.urls.defaults import *
from friday.apps.profiles.views import *
urlpatterns = patterns("",
url(
r"^(?P<username>[\w\.\-@]+)/$",
... | zzheng | friday/website/friday/apps/profiles/urls.py | Python | asf20 | 899 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-08.
# $Id$
#
| zzheng | friday/website/friday/apps/profiles/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-08.
# $Id$
#
import hashlib
import logging
import urllib
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
from django.template import RequestContext
fr... | zzheng | friday/website/friday/apps/profiles/views.py | Python | asf20 | 6,439 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-08.
# $Id$
#
| zzheng | friday/website/friday/apps/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-21.
# $Id$
#
from django.conf.urls.defaults import *
from friday.apps.cronjobs.views import *
urlpatterns = patterns("",
url(
r"^$",
cron_jobs_home,
... | zzheng | friday/website/friday/apps/cronjobs/urls.py | Python | asf20 | 506 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-21.
# $Id$
#
| zzheng | friday/website/friday/apps/cronjobs/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-21.
# $Id$
#
import datetime
import logging
from django.conf import settings
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
from django.template impor... | zzheng | friday/website/friday/apps/cronjobs/views.py | Python | asf20 | 6,411 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-06.
# $Id$
#
from django.conf.urls.defaults import *
from friday.apps.codeviewer.views import *
urlpatterns = patterns("",
url(
r"^(?P<path>.*)$",
view_... | zzheng | friday/website/friday/apps/codeviewer/urls.py | Python | asf20 | 382 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-06.
# $Id$
#
| zzheng | friday/website/friday/apps/codeviewer/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-06.
# $Id$
#
import logging
import mimetypes
import os
from django.conf import settings
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
from django.te... | zzheng | friday/website/friday/apps/codeviewer/views.py | Python | asf20 | 4,566 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-05.
# $Id$
#
import os
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
("ZHENG Zhong", "@".join(["heavyzheng", "gmail.com"])),
)
MANAGERS = ADMINS
# Database conf... | zzheng | friday/website/friday/settings.py | Python | asf20 | 4,554 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-08.
# $Id$
#
from django.conf.urls.defaults import *
urlpatterns = patterns("",
(r"^admin/", include("friday.apps.admin.urls")),
(r"^codeviewer/", include("friday.... | zzheng | friday/website/friday/urls.py | Python | asf20 | 1,095 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-02-12.
# $Id$
#
| zzheng | friday/website/friday/templatetags/__init__.py | Python | asf20 | 150 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Created on 2009-11-18.
# $Id$
#
"""
To use filters defined in this module, add the following line to the templates:
{% load fridayfilters %}
"""
import datetime
import hashlib
import logging
import urllib
from django import template
register =... | zzheng | friday/website/friday/templatetags/friday_extra.py | Python | asf20 | 2,822 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-07.
# $Id$
#
import logging
from google.appengine.ext import db
from djangomockup import models
class User(models.Model):
# key_name is user's email address in lower case.
user ... | zzheng | friday/website/friday/auth/models.py | Python | asf20 | 2,851 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-07.
# $Id$
#
| zzheng | friday/website/friday/auth/__init__.py | Python | asf20 | 152 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
#
# Created on 2010-05-07.
# $Id$
#
from __future__ import absolute_import # PEP 328
from django.conf import settings
from google.appengine.api import users
from friday.auth.models import User, An... | zzheng | friday/website/friday/auth/users.py | Python | asf20 | 1,802 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Create a new a... | zzheng | friday/website/friday/templates/activities/create_activity.html | HTML | asf20 | 722 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Activities {% ... | zzheng | friday/website/friday/templates/activities/view_all_activities.html | HTML | asf20 | 985 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block h... | zzheng | friday/website/friday/templates/activities/edit_activity.html | HTML | asf20 | 787 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block h... | zzheng | friday/website/friday/templates/activities/view_activity.html | HTML | asf20 | 6,267 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-14.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Delete {{ acti... | zzheng | friday/website/friday/templates/activities/delete_activity.html | HTML | asf20 | 1,325 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% if activity_form %}
<div>
<form id="activity-form" class="xl-form" action="." method="POST">
<div class="field">
<div class="label">Title: *</... | zzheng | friday/website/friday/templates/activities/common/activity_form.html | HTML | asf20 | 6,120 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
<div class="ajax">
{% for activity in activities %}
<div class="post">
<div class="post-head">
<span class="{{ activity.... | zzheng | friday/website/friday/templates/activities/common/activities.html | HTML | asf20 | 1,671 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
<div id="attenders" class="ajax">
{#______________________________________________________________________________________________#}
<div class="section">
<h2... | zzheng | friday/website/friday/templates/activities/common/attenders.html | HTML | asf20 | 2,877 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block h... | zzheng | friday/website/friday/templates/groups/view_group.html | HTML | asf20 | 8,010 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Edit group inf... | zzheng | friday/website/friday/templates/groups/edit_group.html | HTML | asf20 | 729 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Groups {% endblock %}... | zzheng | friday/website/friday/templates/groups/view_all_groups.html | HTML | asf20 | 921 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-23.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Review member ... | zzheng | friday/website/friday/templates/groups/review_member.html | HTML | asf20 | 1,752 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Edit member {{... | zzheng | friday/website/friday/templates/groups/edit_member.html | HTML | asf20 | 1,921 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-18.
$Id$
-->
{% endcomment %}
{% block banner %}
{% if group %}
<div id="group-banner" class="{{ group.background_url|yesno:'exotic,simple' }}">
{% if grou... | zzheng | friday/website/friday/templates/groups/base.html | HTML | asf20 | 2,018 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Create a new group {%... | zzheng | friday/website/friday/templates/groups/create_group.html | HTML | asf20 | 697 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{% if groups %}
<div class="ajax">
{% for group in groups %}
<div class="post">
<div class="post-head">
<... | zzheng | friday/website/friday/templates/groups/common/groups.html | HTML | asf20 | 1,196 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{% if group_form %}
<form id="group-form" class="xl-form" action="." method="POST">
<div class="field">
{% if group_form.instance %}
<div class="la... | zzheng | friday/website/friday/templates/groups/common/group_form.html | HTML | asf20 | 2,943 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Prettify group... | zzheng | friday/website/friday/templates/groups/prettify_group.html | HTML | asf20 | 3,774 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Join the group... | zzheng | friday/website/friday/templates/groups/join_group.html | HTML | asf20 | 1,409 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-22.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block h... | zzheng | friday/website/friday/templates/groups/view_members.html | HTML | asf20 | 3,563 |
{% extends "halloffame/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-12.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Change pho... | zzheng | friday/website/friday/templates/halloffame/change_inductee_photo.html | HTML | asf20 | 2,324 |
{% extends "halloffame/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Edit induc... | zzheng | friday/website/friday/templates/halloffame/edit_inductee.html | HTML | asf20 | 791 |
{% extends "halloffame/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Hall of ... | zzheng | friday/website/friday/templates/halloffame/home.html | HTML | asf20 | 1,989 |
{% extends "halloffame/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} {{ inducte... | zzheng | friday/website/friday/templates/halloffame/view_inductee.html | HTML | asf20 | 2,461 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{% block banner %}
<div class="exotic">
<img class="background" src="http://farm4.static.flickr.com/3120/2856609186_e979b25360_b.jpg" al... | zzheng | friday/website/friday/templates/halloffame/base.html | HTML | asf20 | 1,010 |
{% extends "halloffame/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Add a new ... | zzheng | friday/website/friday/templates/halloffame/add_inductee.html | HTML | asf20 | 756 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{% if inductee_form %}
<form id="inductee-form" class="xl-form" action="." method="POST">
<div class="field">
{% if not inductee_form.instance %}
... | zzheng | friday/website/friday/templates/halloffame/common/inductee_form.html | HTML | asf20 | 3,332 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block no_ie %}{% endblock %}
{#_______... | zzheng | friday/website/friday/templates/migration/base.html | HTML | asf20 | 1,413 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-12.
$Id$
-->
{% endcomment %}
{% if is_complete %}
<div class="nowrap">
<img src="{{ static_ }}/images/ok.png" alt="Done"/> Done
</div>
{% else %}
<div id="migrate-{{ model_name }}" cl... | zzheng | friday/website/friday/templates/migration/common/migrating.html | HTML | asf20 | 462 |
{% extends "migration/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-12.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Model Migra... | zzheng | friday/website/friday/templates/migration/migrate_model.html | HTML | asf20 | 2,109 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-19.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Error {% endblock %}
... | zzheng | friday/website/friday/templates/error.html | HTML | asf20 | 787 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-22.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Update Datastore {% end... | zzheng | friday/website/friday/templates/admin/update_datastore.html | HTML | asf20 | 993 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-22.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Import Restos {% endb... | zzheng | friday/website/friday/templates/admin/import_restos.html | HTML | asf20 | 1,369 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Admin Home {% endbloc... | zzheng | friday/website/friday/templates/admin/home.html | HTML | asf20 | 535 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Environment {% endblo... | zzheng | friday/website/friday/templates/admin/view_environ.html | HTML | asf20 | 2,368 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-22.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Import Members {% end... | zzheng | friday/website/friday/templates/admin/import_members.html | HTML | asf20 | 1,722 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Add a new restaurant {%... | zzheng | friday/website/friday/templates/restos/create_resto.html | HTML | asf20 | 699 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-28.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} All Restaurants {% en... | zzheng | friday/website/friday/templates/restos/view_all_restos.html | HTML | asf20 | 1,511 |
{% extends "restos/resto_base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-10.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Recommen... | zzheng | friday/website/friday/templates/restos/recommend_dish.html | HTML | asf20 | 745 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-13.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Restaurants in catego... | zzheng | friday/website/friday/templates/restos/view_restos_by_category.html | HTML | asf20 | 1,287 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-13.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block html_tit... | zzheng | friday/website/friday/templates/restos/home.html | HTML | asf20 | 2,959 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-28.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Restaurants tagged by... | zzheng | friday/website/friday/templates/restos/view_restos_by_tag.html | HTML | asf20 | 1,342 |
{% extends "restos/resto_base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-26.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Edit: {{... | zzheng | friday/website/friday/templates/restos/edit_resto.html | HTML | asf20 | 731 |
{% extends "restos/resto_base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-14.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Delete {... | zzheng | friday/website/friday/templates/restos/delete_dish.html | HTML | asf20 | 1,266 |
{% extends "restos/resto_base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-10.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Edit Rec... | zzheng | friday/website/friday/templates/restos/edit_dish.html | HTML | asf20 | 762 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-26.
$Id$
-->
{% endcomment %}
{% block banner %}
{% if resto %}
<div id="resto-banner" class="{{ resto.background_url|yesno:'exotic,simple' }}">
{% if rest... | zzheng | friday/website/friday/templates/restos/resto_base.html | HTML | asf20 | 1,260 |
{% extends "restos/resto_base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-10.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% b... | zzheng | friday/website/friday/templates/restos/view_resto.html | HTML | asf20 | 7,450 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-14.
$Id$
-->
{% endcomment %}
{% load ilike_tags %}
{#________________________________________________________________________________________________#}
{% block html_title... | zzheng | friday/website/friday/templates/restos/search_dish.html | HTML | asf20 | 1,967 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
<div class="ajax">
{% for resto in restos %}
<div class="post">
<div class="post-head">
<a href="{% url friday.view_rest... | zzheng | friday/website/friday/templates/restos/common/restos.html | HTML | asf20 | 1,859 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{% if resto_form %}
<form id="resto-form" class="xl-form" action="." method="POST">
<div class="field">
<div class="label">The restaurant name: *</div>
... | zzheng | friday/website/friday/templates/restos/common/resto_form.html | HTML | asf20 | 6,608 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-28.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
<div id="resto-tags" class="ajax-box">
{% if resto and resto.tags %}
<div class="tags">
<ul>
{% for tag in resto.tags %}
... | zzheng | friday/website/friday/templates/restos/common/resto_tags.html | HTML | asf20 | 2,173 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
{% if tag_cloud %}
<div class="tag-cloud">
{% for tag in tag_cloud.tags %}
<span class="tag nowrap" style="font-size: {{ tag.size }}%;">
<a href="{% ... | zzheng | friday/website/friday/templates/restos/common/resto_tag_cloud.html | HTML | asf20 | 472 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-29.
$Id$
-->
{% endcomment %}
<li>
<img class="icon" src="{{ static_ }}/images/tag.png" alt="Tag"/>
<span class="removed-tag">{{ name|escape }} (removed)</span>
</li>
| zzheng | friday/website/friday/templates/restos/common/resto_tag_removed.html | HTML | asf20 | 292 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-11.
$Id$
-->
{% endcomment %}
{% load ilike_tags %}
{% if dish %}
<div id="dish-{{ dish.id }}" class="post">
{% if dish.photo_url %}
<div class="right">
<img class="xs-photo" s... | zzheng | friday/website/friday/templates/restos/common/dish.html | HTML | asf20 | 2,242 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-10.
$Id$
-->
{% endcomment %}
{% if dish_form %}
<form id="dish-form" class="xl-form" action="." method="POST">
<div class="field">
{% if dish_form.instance %}
<div class="label... | zzheng | friday/website/friday/templates/restos/common/dish_form.html | HTML | asf20 | 2,502 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-10.
$Id$
-->
{% endcomment %}
{% load ilike_tags %}
{% if resto %}
<div id="resto-faves-{{ resto.id }}" class="section">
<img class="icon" src="{{ static_ }}/images/like.png" alt="Fave"/>
... | zzheng | friday/website/friday/templates/restos/common/resto_faves.html | HTML | asf20 | 1,084 |
{% extends "restos/resto_base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-14.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Delete {... | zzheng | friday/website/friday/templates/restos/delete_resto.html | HTML | asf20 | 1,464 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Home {% endblock %}
... | zzheng | friday/website/friday/templates/misc/home.html | HTML | asf20 | 542 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-12.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} About {% endblock %}
... | zzheng | friday/website/friday/templates/misc/about.html | HTML | asf20 | 533 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-29.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Change Log {% endbloc... | zzheng | friday/website/friday/templates/misc/about_versions.html | HTML | asf20 | 543 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-29.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Browser - You are usi... | zzheng | friday/website/friday/templates/misc/about_browser.html | HTML | asf20 | 2,363 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-14.
$Id$
-->
{% endcomment %}
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="e... | zzheng | friday/website/friday/templates/misc/welcome.html | HTML | asf20 | 3,711 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-12.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} {{ title|escape|default... | zzheng | friday/website/friday/templates/misc/message.html | HTML | asf20 | 791 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} 404 - Page not found {%... | zzheng | friday/website/friday/templates/misc/not_found.html | HTML | asf20 | 846 |
{% extends "groups/base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-08.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block h... | zzheng | friday/website/friday/templates/poststats/view_group_stat.html | HTML | asf20 | 3,924 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-18.
$Id$
-->
{% endcomment %}
{% if group_stat and top_posters %}
<div>
{% for top_poster in top_posters %}
<div class="user-box">
<div class="user-avatar">
<a href="... | zzheng | friday/website/friday/templates/poststats/common/top_posters.html | HTML | asf20 | 1,376 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-15.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
<div id="comments" class="ajax-box">
{#______________________________________________________________________________________________#}
<d... | zzheng | friday/website/friday/templates/comments/common/comments.html | HTML | asf20 | 2,319 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-29.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block html_tit... | zzheng | friday/website/friday/templates/notifications/view_notification.html | HTML | asf20 | 2,061 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-29.
$Id$
-->
{% endcomment %}
{% load friday_extra %}
{#________________________________________________________________________________________________#}
{% block html_tit... | zzheng | friday/website/friday/templates/notifications/view_notifications.html | HTML | asf20 | 2,869 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-04-29.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Send Notification {% ... | zzheng | friday/website/friday/templates/notifications/send_notification.html | HTML | asf20 | 2,102 |
{% extends "base.html" %}
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-05-04.
$Id$
-->
{% endcomment %}
{#________________________________________________________________________________________________#}
{% block html_title %} Tags {% endblock %}
... | zzheng | friday/website/friday/templates/tagging/view_tags.html | HTML | asf20 | 2,188 |
{% comment %}
<!--
Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
Created on 2010-02-19.
$Id$
-->
{% endcomment %}
<div class="tag-cloud">
{% for tag in tag_cloud.tags %}
<span class="tag nowrap" style="font-size: {{ tag.size }}%;">{{ tag|escape }}</span>
{% endfor %}
</div>
... | zzheng | friday/website/friday/templates/tagging/common/tag_cloud.html | HTML | asf20 | 321 |