From 6f72bf1b96193a042767eabea9dee9a0e835ea6d Mon Sep 17 00:00:00 2001 From: Dave Page Date: Sat, 25 May 2013 11:59:01 -0400 Subject: [PATCH] Django-ify website. --- images/.DS_Store | Bin 6148 -> 0 bytes images/nav_tbl_btm_lft.png | Bin 262 -> 0 bytes images/nav_tbl_btm_rgt.png | Bin 270 -> 0 bytes images/nav_tbl_top_lft.png | Bin 262 -> 0 bytes images/nav_tbl_top_rgt.png | Bin 268 -> 0 bytes index.html | 105 ------------ {css => media/css}/base.css | 1 - {css => media/css}/geckofixes.css | 0 {css => media/css}/global.css | 0 {css => media/css}/iefixes.css | 0 {css => media/css}/layout.css | 4 +- {css => media/css}/navigation.css | 8 +- media/css/showdown_preview.css | 12 ++ {css => media/css}/table.css | 10 +- {css => media/css}/text.css | 0 {images => media}/favicon.ico | Bin media/img/layout/blt_blu_arrow.png | Bin 0 -> 207 bytes .../img/layout}/blt_gry_arrow.png | Bin media/img/layout/box_bottom.gif | Bin 0 -> 85 bytes media/img/layout/box_top.gif | Bin 0 -> 85 bytes {images => media/img/layout}/hdr_fill.png | Bin {images => media/img/layout}/hdr_left.png | Bin {images => media/img/layout}/hdr_right.png | Bin {images => media/img/layout}/nav_fill.png | Bin {images => media/img/layout}/nav_lft.png | Bin {images => media/img/layout}/nav_rgt.png | Bin {images => media/img/layout}/nav_tbl_btm.png | Bin {images => media/img/layout}/nav_tbl_top.png | Bin media/img/layout/usr_tbl_btm.png | Bin 0 -> 334 bytes media/img/layout/usr_tbl_top.png | Bin 0 -> 338 bytes pgcac/manage.py | 10 ++ pgcac/pgcac/__init__.py | 0 pgcac/pgcac/__init__.pyc | Bin 0 -> 137 bytes pgcac/pgcac/settings.py | 155 ++++++++++++++++++ pgcac/pgcac/settings.pyc | Bin 0 -> 3073 bytes pgcac/pgcac/urls.py | 26 +++ pgcac/pgcac/urls.pyc | Bin 0 -> 805 bytes pgcac/pgcac/views.py | 21 +++ pgcac/pgcac/views.pyc | Bin 0 -> 1002 bytes pgcac/pgcac/wsgi.py | 32 ++++ pgcac/pgcac/wsgi.pyc | Bin 0 -> 1029 bytes privacypolicy.html | 69 -------- template/about/privacypolicy.html | 29 ++++ template/about/website.html | 35 ++++ template/base.html | 49 ++++++ template/index.html | 63 +++++++ website.html | 75 --------- 47 files changed, 443 insertions(+), 261 deletions(-) delete mode 100644 images/.DS_Store delete mode 100644 images/nav_tbl_btm_lft.png delete mode 100644 images/nav_tbl_btm_rgt.png delete mode 100644 images/nav_tbl_top_lft.png delete mode 100644 images/nav_tbl_top_rgt.png delete mode 100644 index.html rename {css => media/css}/base.css (84%) rename {css => media/css}/geckofixes.css (100%) rename {css => media/css}/global.css (100%) rename {css => media/css}/iefixes.css (100%) rename {css => media/css}/layout.css (98%) rename {css => media/css}/navigation.css (92%) create mode 100644 media/css/showdown_preview.css rename {css => media/css}/table.css (81%) rename {css => media/css}/text.css (100%) rename {images => media}/favicon.ico (100%) create mode 100644 media/img/layout/blt_blu_arrow.png rename {images => media/img/layout}/blt_gry_arrow.png (100%) create mode 100644 media/img/layout/box_bottom.gif create mode 100644 media/img/layout/box_top.gif rename {images => media/img/layout}/hdr_fill.png (100%) rename {images => media/img/layout}/hdr_left.png (100%) rename {images => media/img/layout}/hdr_right.png (100%) rename {images => media/img/layout}/nav_fill.png (100%) rename {images => media/img/layout}/nav_lft.png (100%) rename {images => media/img/layout}/nav_rgt.png (100%) rename {images => media/img/layout}/nav_tbl_btm.png (100%) rename {images => media/img/layout}/nav_tbl_top.png (100%) create mode 100644 media/img/layout/usr_tbl_btm.png create mode 100644 media/img/layout/usr_tbl_top.png create mode 100644 pgcac/manage.py create mode 100644 pgcac/pgcac/__init__.py create mode 100644 pgcac/pgcac/__init__.pyc create mode 100644 pgcac/pgcac/settings.py create mode 100644 pgcac/pgcac/settings.pyc create mode 100644 pgcac/pgcac/urls.py create mode 100644 pgcac/pgcac/urls.pyc create mode 100644 pgcac/pgcac/views.py create mode 100644 pgcac/pgcac/views.pyc create mode 100644 pgcac/pgcac/wsgi.py create mode 100644 pgcac/pgcac/wsgi.pyc delete mode 100644 privacypolicy.html create mode 100644 template/about/privacypolicy.html create mode 100644 template/about/website.html create mode 100644 template/base.html create mode 100644 template/index.html delete mode 100644 website.html diff --git a/images/.DS_Store b/images/.DS_Store deleted file mode 100644 index 2bae25d8263fbb7a2d09fae9d8b40f9a6905eb4f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKOG*Pl5PcQ1h(sYvmwf`k8w??yzyqi;8UsTjgSwt8cpeX@uRe~3(S-^kp$e*A zf2w-AUk_7L0A%{GH~}UAMpVVYKFueh^Qt`=#K@2+wnmL>+~6L^xa)c6z<*>w@9qG% zSfIfQ(J+>P{f|j^^3VfD#x_RKr*n+ zz@B#}n*UF~uK%}#vX=}b13Sfl3}>$j+1|*LJg4nJ za0`JjEaktF{kvDAs36H z0PDq9Vy++lJvR|z{`%eJ^q~_WzfM)XpIChCOvUqeeM`6*_DuQIyEW`g&))C73~NnQ xVw+uE80Hj9Br9;1t1ta>JigfPT9n5l#>0I&yYHl4JOQ+T!PC{xWt~$(69CmvS%Uxo diff --git a/images/nav_tbl_btm_rgt.png b/images/nav_tbl_btm_rgt.png deleted file mode 100644 index 8db97790865b2957f4abc36b50233c4325abe29f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 270 zcmeAS@N?(olHy`uVBq!ia0vp^>>$j+1|*LJg4nJ za0`JjEaktF(>t`As@3M zkITjW&Io}=|J0Wr`nIHFk;ZQ2zpq4tzukLe<~gT$gEfN-OWHRVPme`gza8mVFvaQp z-}Xrb>$j+1|*LJg4nJ za0`JjEaktF{kvbBiCUE z9_NelmGA0r9;`?__DV}}X~^yNC8xJlE?xB^FRktMv0}cNow+KCou!BG&F)B8`*jV6 xg7HKbmp$?Up^3j&e@rM>e#y>YVqE```EjLQ-kB#U5kLzVJYD@<);T3K0RYo-Sd0Jw diff --git a/images/nav_tbl_top_rgt.png b/images/nav_tbl_top_rgt.png deleted file mode 100644 index d2a76c3b22ec667f4d091d0bc2476496d71408be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 268 zcmeAS@N?(olHy`uVBq!ia0vp^>>$j+1|*LJg4nJ za0`JjEaktF(>zoBNwwF z56i)8C#>H5m(SW@DA71|&Lo|jXHjP(-v3qY?0B$C?_IDrO~o1Wqz~)>TEpP!>gTe~DWM4f DDzsT; diff --git a/index.html b/index.html deleted file mode 100644 index cd88d10..0000000 --- a/index.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - PostgreSQL Community Association of Canada - - - - - - -
-
-
-
-
- PostgreSQL Community Association of Canada -
-
- PostgreSQL Canada -
-
- -
-
-
- -
-
-
- -
-
-

Help us out!

-

In the future you will be able to help PostgreSQL Canada by donating, but in the meantime - why not help out in the PostgreSQL community. -

-
- -
-

Other usergroups

- -
- -
-

Related organisations

- -
-
- -
-
-

Welcome to PostgreSQL Canada

-

-Welcome to the PostgreSQL Community Association of Canada, a non-profit organisation -setup to steward assets such as domain names and trademarks for the PostgreSQL Project. -

-

-We're just finishing off the legal work at the moment, so please visit again in the near -future to see how we're getting on. -

-
- -
-

Latest news

- -
-

Board members confirmed

-

15 February 2012

- -

The PostgreSQL Community Association of Canada's board now consists of:

-
    -
  • Marc Fournier (Chair)
  • -
  • Dave Page (Vice-chair)
  • -
  • Josh Berkus (Secretary)
  • -
  • Chris Browne (Treasurer)
  • -
  • Dan Langille
  • -
  • Jaime Casanova
  • -
-
- -
-
- -
-
-
- Privacy Policy | - About the website
- Copyright © 2012 PostgreSQL Community Association of Canada -
-
-
- - - diff --git a/css/base.css b/media/css/base.css similarity index 84% rename from css/base.css rename to media/css/base.css index f8ffa1f..66eec85 100644 --- a/css/base.css +++ b/media/css/base.css @@ -4,5 +4,4 @@ @import url("navigation.css"); @import url("table.css"); -@import url("geckofixes.css"); @import url("iefixes.css"); diff --git a/css/geckofixes.css b/media/css/geckofixes.css similarity index 100% rename from css/geckofixes.css rename to media/css/geckofixes.css diff --git a/css/global.css b/media/css/global.css similarity index 100% rename from css/global.css rename to media/css/global.css diff --git a/css/iefixes.css b/media/css/iefixes.css similarity index 100% rename from css/iefixes.css rename to media/css/iefixes.css diff --git a/css/layout.css b/media/css/layout.css similarity index 98% rename from css/layout.css rename to media/css/layout.css index 05904a4..e83f1a4 100644 --- a/css/layout.css +++ b/media/css/layout.css @@ -27,7 +27,7 @@ #pgHeader { position: relative; - background: url("../images/hdr_fill.png") repeat-x; + background: url("/media/img/layout/hdr_fill.png") repeat-x; height: 80px; margin: 0; padding: 0; @@ -293,4 +293,4 @@ div.electionSeparator { } tr.electionError { background-color: #ffb6b6; -} +} \ No newline at end of file diff --git a/css/navigation.css b/media/css/navigation.css similarity index 92% rename from css/navigation.css rename to media/css/navigation.css index 1361db5..e8ddae5 100644 --- a/css/navigation.css +++ b/media/css/navigation.css @@ -11,7 +11,7 @@ margin: 0; padding: 0; height: 23px; - background: #B7B7B7 url("../images/nav_fill.png") top left repeat-x; + background: #B7B7B7 url("/media/img/layout/nav_fill.png") top left repeat-x; overflow: visible; margin-top: 2px; } @@ -147,13 +147,13 @@ #pgSideNav { width: 150px; background-color: #F5F5F5; - background-image: url(../images/nav_tbl_top.png); + background-image: url(/media/img/layout/nav_tbl_top.png); background-position: top right; background-repeat: no-repeat; } #pgSideNav ul { - background-image: url(../images/nav_tbl_btm.png); + background-image: url(/media/img/layout/nav_tbl_btm.png); background-position: bottom left; background-repeat: no-repeat; padding: 10px 0 10px 0; @@ -176,7 +176,7 @@ border-bottom: 1px solid #EFEFEF; margin: 0; padding-left: 12px; - background-image: url(../images/blt_gry_arrow.png); + background-image: url(/media/img/layout/blt_gry_arrow.png); background-repeat: no-repeat; background-position: 12px 0.65em; } diff --git a/media/css/showdown_preview.css b/media/css/showdown_preview.css new file mode 100644 index 0000000..ba7a5dd --- /dev/null +++ b/media/css/showdown_preview.css @@ -0,0 +1,12 @@ +div.markdownpreview { + margin-top: 2px; + border: 1px solid black; + float: left; + overflow: auto; +} + +div.markdownpreview p { + margin-left: 0px !important; + padding-left: 0px !important; +} + diff --git a/css/table.css b/media/css/table.css similarity index 81% rename from css/table.css rename to media/css/table.css index 3206391..98c9195 100644 --- a/css/table.css +++ b/media/css/table.css @@ -7,7 +7,7 @@ div.tblBasic h2 { } div.tblBasic table { - background: #F5F5F5 url(../images/gnav_tbl_top_lft.png) top left no-repeat; + background: #F5F5F5 url(/media/img/layout/gnav_tbl_top_lft.png) top left no-repeat; margin-bottom: 15px; } @@ -46,25 +46,25 @@ div.tblBasic table.tblCompact tr.lastrow td { div.tblBasic table tr.lastrow td.colFirstT, div.tblBasic table tr.lastrow td.colFirst { - background: url(../images/gnav_tbl_btm_lft.png) bottom left no-repeat; + background: url(/media/img/layout/gnav_tbl_btm_lft.png) bottom left no-repeat; } div.tblBasic table.tblBasicGrey th.colLast, div.tblBasic table.tblCompact th.colLast { - background: #F5F5F5 url(../images/gnav_tbl_top_rgt.png) top right no-repeat; + background: #F5F5F5 url(/media/img/layout/gnav_tbl_top_rgt.png) top right no-repeat; } div.tblBasic table.tblBasicGrey tr.lastrow td.colLastT, div.tblBasic table.tblBasicGrey tr.lastrow td.colLast, div.tblBasic table.tblCompact tr.lastrow td.colLast, div.tblBasic table.tblCompact tr.lastrow td.colLastT{ - background: #F5F5F5 url(../images/gnav_tbl_btm_rgt.png) bottom right no-repeat; + background: #F5F5F5 url(/media/img/layout/gnav_tbl_btm_rgt.png) bottom right no-repeat; } div.tblBasic table.tblBasicGrey tr.firstrow td.colLastT, div.tblBasic table.tblBasicGrey tr.firstrow td.colLast, div tblBasic table.tblCompact tr.firstrow td.colLast { - background: #F5F5F5 url(../images/gnav_tbl_top_rgt.png) top right no-repeat; + background: #F5F5F5 url(/media/img/layout/gnav_tbl_top_rgt.png) top right no-repeat; } div.tblBasic table th.colMid, diff --git a/css/text.css b/media/css/text.css similarity index 100% rename from css/text.css rename to media/css/text.css diff --git a/images/favicon.ico b/media/favicon.ico similarity index 100% rename from images/favicon.ico rename to media/favicon.ico diff --git a/media/img/layout/blt_blu_arrow.png b/media/img/layout/blt_blu_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..32ae5e3e7e3b2a8cb26bcf094df79f41f5c3b9bf GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ)0V2~P<~{>bEX7WqAsj$Z!;#Vf4nJ za0`Jj#iRWF{)OWfrBD=NDxcEBHnz7#SFtw3n?p57Z#%>EaktF()}89}E9}E11p0y0C&nGd;kCd literal 0 HcmV?d00001 diff --git a/images/hdr_fill.png b/media/img/layout/hdr_fill.png similarity index 100% rename from images/hdr_fill.png rename to media/img/layout/hdr_fill.png diff --git a/images/hdr_left.png b/media/img/layout/hdr_left.png similarity index 100% rename from images/hdr_left.png rename to media/img/layout/hdr_left.png diff --git a/images/hdr_right.png b/media/img/layout/hdr_right.png similarity index 100% rename from images/hdr_right.png rename to media/img/layout/hdr_right.png diff --git a/images/nav_fill.png b/media/img/layout/nav_fill.png similarity index 100% rename from images/nav_fill.png rename to media/img/layout/nav_fill.png diff --git a/images/nav_lft.png b/media/img/layout/nav_lft.png similarity index 100% rename from images/nav_lft.png rename to media/img/layout/nav_lft.png diff --git a/images/nav_rgt.png b/media/img/layout/nav_rgt.png similarity index 100% rename from images/nav_rgt.png rename to media/img/layout/nav_rgt.png diff --git a/images/nav_tbl_btm.png b/media/img/layout/nav_tbl_btm.png similarity index 100% rename from images/nav_tbl_btm.png rename to media/img/layout/nav_tbl_btm.png diff --git a/images/nav_tbl_top.png b/media/img/layout/nav_tbl_top.png similarity index 100% rename from images/nav_tbl_top.png rename to media/img/layout/nav_tbl_top.png diff --git a/media/img/layout/usr_tbl_btm.png b/media/img/layout/usr_tbl_btm.png new file mode 100644 index 0000000000000000000000000000000000000000..b62d0c119220d5cc8dd4da399e68c02dc123fd7d GIT binary patch literal 334 zcmV-U0kQsxP)C>tZ8HRxz0DuF9 z5H6RCDvILye9rSs5dgp;#&Jw3m1U{4*3LQa{kpDn0RVhxU03hDb53imM5M0k*Xz~y zJ!t>{9}dj@e&3fxM6zw$L}Xc(uIo;xQ&m;Q7%~9>{%agZ@4bjzuh;!t`DT~xH~%1UJ#UtP)^o@IRF6Q1tO9pNm-V09PjVpvoYR#t@SvLB2pAZ zmSs^CF&qHkXY0BeW5#h@mL<>gx~`Q{UmD|_yId|&6g5rrtwI0*yuvwmyt=Ykt9i)rhVTlYi&^!ECK*{qtoeRtyR-B kWm(1?0Dw0Vk!hMf0M6NOS{s^h1kNi;DGA3KG*( y_0uy;^b69H6O(nzQbB0nU`4-AFo$XS;7I-W|NzrQks)$2Qs`Eh#3Hw6&&FJ literal 0 HcmV?d00001 diff --git a/pgcac/pgcac/settings.py b/pgcac/pgcac/settings.py new file mode 100644 index 0000000..ddb1309 --- /dev/null +++ b/pgcac/pgcac/settings.py @@ -0,0 +1,155 @@ +# Django settings for pgcac project. + +DEBUG = True +TEMPLATE_DEBUG = DEBUG + +ADMINS = ( + # ('Webmaster', 'webmaster@postgresql.ca'), +) + +MANAGERS = ADMINS + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': 'pgcac', # Or path to database file if using sqlite3. + # The following settings are not used with sqlite3: + 'USER': 'pgcac', + 'PASSWORD': 'pgcac', + 'HOST': '127.0.0.1', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. + 'PORT': '', # Set to empty string for default. + } +} + +# Hosts/domain names that are valid for this site; required if DEBUG is False +# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts +ALLOWED_HOSTS = [] + +# Local time zone for this installation. Choices can be found here: +# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name +# although not all choices may be available on all operating systems. +# In a Windows environment this must be set to your system time zone. +TIME_ZONE = 'America/Chicago' + +# Language code for this installation. All choices can be found here: +# http://www.i18nguy.com/unicode/language-identifiers.html +LANGUAGE_CODE = 'en-us' + +SITE_ID = 1 + +# If you set this to False, Django will make some optimizations so as not +# to load the internationalization machinery. +USE_I18N = True + +# If you set this to False, Django will not format dates, numbers and +# calendars according to the current locale. +USE_L10N = True + +# If you set this to False, Django will not use timezone-aware datetimes. +USE_TZ = True + +# Absolute filesystem path to the directory that will hold user-uploaded files. +# Example: "/var/www/example.com/media/" +MEDIA_ROOT = '' + +# URL that handles the media served from MEDIA_ROOT. Make sure to use a +# trailing slash. +# Examples: "http://example.com/media/", "http://media.example.com/" +MEDIA_URL = '' + +# Absolute path to the directory static files should be collected to. +# Don't put anything in this directory yourself; store your static files +# in apps' "static/" subdirectories and in STATICFILES_DIRS. +# Example: "/var/www/example.com/static/" +STATIC_ROOT = '' + +# URL prefix for static files. +# Example: "http://example.com/static/", "http://static.example.com/" +STATIC_URL = '/static/' + +# Additional locations of static files +STATICFILES_DIRS = ( + # Put strings here, like "/home/html/static" or "C:/www/django/static". + # Always use forward slashes, even on Windows. + # Don't forget to use absolute paths, not relative paths. +) + +# List of finder classes that know how to find static files in +# various locations. +STATICFILES_FINDERS = ( + 'django.contrib.staticfiles.finders.FileSystemFinder', + 'django.contrib.staticfiles.finders.AppDirectoriesFinder', +# 'django.contrib.staticfiles.finders.DefaultStorageFinder', +) + +# Make this unique, and don't share it with anybody. +SECRET_KEY = '&34od1@006ml)ioumwb#x3w1=dyi-=cmd344$+mpwv+4tr28jz' + +# List of callables that know how to import templates from various sources. +TEMPLATE_LOADERS = ( + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', +# 'django.template.loaders.eggs.Loader', +) + +MIDDLEWARE_CLASSES = ( + 'django.middleware.common.CommonMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + # Uncomment the next line for simple clickjacking protection: + # 'django.middleware.clickjacking.XFrameOptionsMiddleware', +) + +ROOT_URLCONF = 'pgcac.urls' + +# Python dotted path to the WSGI application used by Django's runserver. +WSGI_APPLICATION = 'pgcac.wsgi.application' + +TEMPLATE_DIRS = ( + '../template', + '../../template', +) + +INSTALLED_APPS = ( + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django.contrib.messages', + 'django.contrib.staticfiles', + # Uncomment the next line to enable the admin: + 'django.contrib.admin', + # Uncomment the next line to enable admin documentation: + 'django.contrib.admindocs', +) + +# A sample logging configuration. The only tangible logging +# performed by this configuration is to send an email to +# the site admins on every HTTP 500 error when DEBUG=False. +# See http://docs.djangoproject.com/en/dev/topics/logging for +# more details on how to customize your logging configuration. +LOGGING = { + 'version': 1, + 'disable_existing_loggers': False, + 'filters': { + 'require_debug_false': { + '()': 'django.utils.log.RequireDebugFalse' + } + }, + 'handlers': { + 'mail_admins': { + 'level': 'ERROR', + 'filters': ['require_debug_false'], + 'class': 'django.utils.log.AdminEmailHandler' + } + }, + 'loggers': { + 'django.request': { + 'handlers': ['mail_admins'], + 'level': 'ERROR', + 'propagate': True, + }, + } +} diff --git a/pgcac/pgcac/settings.pyc b/pgcac/pgcac/settings.pyc new file mode 100644 index 0000000000000000000000000000000000000000..75b571cda61be09e6ac91786962a35665b7a07fd GIT binary patch literal 3073 zcmd@W*>c-9a4Fhy?8MI5oPFxy%1upKw(F#A(g`Ed3a6CligZ2Y3x^_LhAAmB1Qf;j znf_4!ra#aHD9fBiJsvvKnU)+Zuow0Kuz>pO`kM92&)-Kd`z~Ss3>$l<08jv50jhxC z0P-dHDo_>tB}f!Vnm_=E0tW)@|SGiwrFmhcLop1&^PhJ;svY=D0a$N~7*fjk2L29WFE-vsg){98c20{;Ub_rSjm zjLQlg<%Gp&M>lrPRC~S9MB8+n;tkLoIgkfILWnrMr zc*v8e&GrzP`5)zDUM3^0Vx1-_W!h;nCbVSQA!698mQa^cpwO3gr)5R%eqSW+#@vn(HLUD@^LbhdwC zV4gY3Sdx#KR#SH?T21i}%&_uQ>mv9eq0^f5f<%WC{<3aDN1TpvIdMtzaZPuDiy68T z#<;RI7yA{hrnrW&$^EHK%9OF&b9Bn$M8ou@Gh^&BvNWxIz94L)!t11)Nc!Ct6A`cn z@6$yhF%o`Opi6h&=d&uAjNMwmOZZ}?^N`v71xoT5$lbGO&X8ounB9F}PcldzF?smj z;1R*hb19gxaFo)3zD*cU#&MA5ag2QS(Zwtio}>)-ZmbRI>j`c|gN`QgVVGik4HRo_ zagnsLVg^KTgHyql=FnY^Gs-Gr4u{TAj#B!Dri-oUA`CMNlk`P6#(iB%g(wXf<6;2? zC#YhT<>zH3#keRxMVS|2jE7CG?Q9{1Ym{;6&Md$|3x%NqB8Y#Zw6vt*+5tP?m;Y#? zXo-SaFGsbr^gpZ?Rnq^u5VXX_!~WCNp!Fe!C@*HOoKShn4D~ zR1Uh1Vag-vT4=^H2&~TI!5pzWI|KO`5ggCwqS*IM!_tGH<9O13g&q%WSsq+Z z_pENk6~Z%Iu&>S0L(4YZz_2g^vBZ^3MLe_yhKNk+n%$x41>c!JO5J%*Y)6+eH-s~m zVc6!0KE#M@d7ogFuGdPsWCvMLQ^rIu&>Y{_rKqg~8qjW{&9W(4<3Ne8w z>&iuurB-Ijc6#_C>(y!(Y5)^Yl=d;hD%&Pl{b)N*cw63x+fzEKMl*;-S=4!a^PR~Q zKgn`3N$Iz$nCBgWrqXOQmzoV#QI!>CrGX9qjV69b#kSN`u`NqnZLWfX<0Sz>seZ)O driv7#&i@89nwR8^IIpT)Rjc{eW}`K<@f$XXXTJad literal 0 HcmV?d00001 diff --git a/pgcac/pgcac/urls.py b/pgcac/pgcac/urls.py new file mode 100644 index 0000000..7b4239a --- /dev/null +++ b/pgcac/pgcac/urls.py @@ -0,0 +1,26 @@ +from django.conf.urls import patterns, include, url + +# Uncomment the next two lines to enable the admin: +from django.contrib import admin +admin.autodiscover() + +urlpatterns = patterns('', + # Static pages + url(r'^$', 'pgcac.views.index', name='index'), + url(r'^about/privacypolicy$', 'pgcac.views.privacypolicy', name='privacypolicy'), + url(r'^about/website$', 'pgcac.views.website', name='website'), + + # Uncomment the admin/doc line below to enable admin documentation: + # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), + + # Uncomment the next line to enable the admin: + url(r'^admin/', include(admin.site.urls)), + + # This should not happen in production - serve by apache! + url(r'^media/(.*)$', 'django.views.static.serve', { + 'document_root': '../media', + }), + url(r'^(favicon.ico)$', 'django.views.static.serve', { + 'document_root': '../media', + }), +) diff --git a/pgcac/pgcac/urls.pyc b/pgcac/pgcac/urls.pyc new file mode 100644 index 0000000000000000000000000000000000000000..21f33db7fc14236b59bbba5e2e596e2e27c05648 GIT binary patch literal 805 zcmZWnOK#gR5FJYX)v*&NX^R%<(hH?Psa;n^(GwJii*B@VL6eL@LlOlIrNnC;q*uu) za*-aO9nvz4r20HPz9AoHhKm2pr?*ePZzc5CoW9@a#YX}~4}%<_V308=BFG{rV#s1( zJ{CbffMN*Q5SSjqZUh|=W1wQtF{lBkA*d0kF?130$^_J_piGa-8K_xM=11imbOhdR z47&+*jP&4k0crt;%r8M*!RPL<$Mt_|H-?Nhc@003H&lfAOIH#Ta}$C}IH&6p-Pp%U znKw#1A8qP9VSd(-K&Zl$jtF2xuwLRNeX6Y#lD9_RBR8ee4{kteDGD7H1quD0Yq7D7 zORL(nLhdV@8@XTN`xh3^!p?X8nSvK5r+d9Y?pJNCJ7kpHiPlJ4a)O)X_hd?I z+=8IDrO+LxZsLkGSoxl=d=uR{!D)`G&1Myj#pfs*XO%%|TV02)`f>yDPVS7R5IG)R zLPIzKavG*TsRT?_CAK=<8tT43txwdH1MAV-@oFFbg)fCwO|HNC6!9&=hj_uJ(I~oN MbdTP}GaAjj9APy}7{0NT{bBFmyEkOs)2Fc3D~XcH(RVY47jMI0ygy17SA zm6P-U?F=QrD9}ZdqJ;P~di=bHnNjj%fAab1@v??~#Pt41(^~>bPXq?QMo>l&@plX+ z2Ae>cfK8!HJ2n9`06Tok9@I5AjEIs!VLQS?dvn5&+yb7YA zbInFtb-Pv`^T0Crf}r^7RqG4cR0~xsG#1UGuIhL9>ZXf&ywmF5&zda`=uFVb_y*R7 z=LqWc?<@#IsFv$ve}O6|YhKFS}f&UgB_P zG!G>|AVPktRtq=tOV?t(Mjr}{d%Kk-Hy^i)2>tkKw}O4s32r2jGH@l4yIWE-qP9w~ nzF`v@W*IsLPoiyiOc?TYa zhvETX){Y>kmOa^>o%!b5`6dUyp2YK?KfVaIdk*OL9ewUS8Ohk3Y{X=b>4?oEh7nu! z*y?~udJoxMk453Q&-5WH`)uB45%$>~!`TvZNyfzT%My4Ff?uS^AvLkWv5oUVA4n^z7bu2Gx1#L9z1 zyG9%HN&>I80be$vO>1!^*4k`Cq)T8-;e~0m1iY<{L*P3C$2uUwnp?#e8smzWR5Hu< zSY%o9k3g2$rs^tZ8PyH3lqPME;Xhr8~9!CLY5u2~jXrYBcd7vm2n zv+?DG@*R4ws+@Xs?HaE27Ph8=jnWzlzQ#7ud8)vz+;O_!v;r-@hDGB+dEnZaxKw%J zq2xD66^K1}1D4vuMF+Vl3`x;7`99u8`GWc-8s|+3rb4mfjA9 z!V>sM;^QqZYfXg0O++h!s(hGj2#drC*`fF`@$!E5|_Nu-XGCcwj-PfV=)Ps zU)w5==wu(9wru# - - - - - Privacy policy - - - - - - -
-
-
-
-
- PostgreSQL Community Association of Canada -
-
- PostgreSQL Canada -
-
- -
-
-
- -
-
-
- -

Privacy policy

- -

-When you visit our website, our servers automatically log your IP address and/or host name. -

- -

-We store information such as your email address, name and locality only if you decide -to send us such information by completing a survey, or registering as a user on one -of our sites. We collect this information to help us improve the content of our -sites, customize the layout of our web pages and to contact people for technical -and support purposes. We will not share your email address with other organizations -unless required by law. -

- -

-We may collect demographic and interest category information from people via surveys, -volunteered information, suggestions from members, and other means. Our members may -voluntarily provide information, including that regarding personal, interests, -geography, and demographics. The purpose of this data collection is to ensure -we continue to understand the needs and wants of the PostgreSQL community, and -therefore can provide the most relevant information, guides, and content. -

- -
-
- Privacy Policy | - About the website
- Copyright © 2012 PostgreSQL Community Association of Canada -
-
-
- - - diff --git a/template/about/privacypolicy.html b/template/about/privacypolicy.html new file mode 100644 index 0000000..67632f5 --- /dev/null +++ b/template/about/privacypolicy.html @@ -0,0 +1,29 @@ +{%extends "base.html" %} +{%block title%}Privacy Policy{%endblock%} +{%block layoutblock%} + +

Privacy policy

+ +

+When you visit our website, our servers automatically log your IP address and/or host name. +

+ +

+We store information such as your email address, name and locality only if you decide +to send us such information by completing a survey, or registering as a user on one +of our sites. We collect this information to help us improve the content of our +sites, customize the layout of our web pages and to contact people for technical +and support purposes. We will not share your email address with other organizations +unless required by law. +

+ +

+We may collect demographic and interest category information from people via surveys, +volunteered information, suggestions from members, and other means. Our members may +voluntarily provide information, including that regarding personal, interests, +geography, and demographics. The purpose of this data collection is to ensure +we continue to understand the needs and wants of the PostgreSQL community, and +therefore can provide the most relevant information, guides, and content. +

+ +{%endblock%} diff --git a/template/about/website.html b/template/about/website.html new file mode 100644 index 0000000..062238b --- /dev/null +++ b/template/about/website.html @@ -0,0 +1,35 @@ +{%extends "base.html" %} +{%block title%}Website{%endblock%} +{%block layoutblock%} + +

About the website

+ +

+When you visit our website, our servers automatically log your IP address and/or host name. +

+ +

+We store information such as your email address, name and locality only if you decide +to send us such information by completing a survey, or registering as a user on one +of our sites. We collect this information to help us improve the content of our +sites, customize the layout of our web pages and to contact people for technical +and support purposes. We will not share your email address with other organizations +unless required by law. +

+ +

+The full sourcecode for this website is available in +our +GIT repository under the PostgreSQL licence. +

+ +

+We may collect demographic and interest category information from people via surveys, +volunteered information, suggestions from members, and other means. Our members may +voluntarily provide information, including that regarding personal, interests, +geography, and demographics. The purpose of this data collection is to ensure +we continue to understand the needs and wants of the PostgreSQL community, and +therefore can provide the most relevant information, guides, and content. +

+ +{%endblock%} diff --git a/template/base.html b/template/base.html new file mode 100644 index 0000000..984424d --- /dev/null +++ b/template/base.html @@ -0,0 +1,49 @@ + + + + {%block title%}{%endblock%} - PostgreSQL Community Association of Canada + + + + +{%comment%} + + +{%endcomment%} +{%block extrahead%}{%endblock%} + + +
+
+
+
+
+ PostgreSQL Community Association of Canada +
+
+ PostgreSQL Community Association of Canada +
+
+ +
+
+
+ +
+
+
+{%block layoutblock%}{%endblock%} +
+
+
+ Privacy Policy | + About the website
+ Copyright © 2012-2013 PostgreSQL Community Association of Canada +
+
+
+ + diff --git a/template/index.html b/template/index.html new file mode 100644 index 0000000..a8acb68 --- /dev/null +++ b/template/index.html @@ -0,0 +1,63 @@ +{%extends "base.html" %} +{%block title%}Welcome{%endblock%} +{%block layoutblock%} + +
+
+

Help us out!

+

In the future you will be able to help PostgreSQL Canada by donating, but in the meantime + why not help out in the PostgreSQL community. +

+
+ +
+

Other usergroups

+ +
+ +
+

Related organisations

+ +
+
+ +
+
+

Welcome to PostgreSQL Canada

+

+Welcome to the PostgreSQL Community Association of Canada, a non-profit organisation +setup to steward assets such as domain names and trademarks for the PostgreSQL Project. +

+

+We're just finishing off the legal work at the moment, so please visit again in the near +future to see how we're getting on. +

+
+ +
+

Latest news

+ +
+

Board members confirmed

+

15 February 2012

+ +

The PostgreSQL Community Association of Canada's board now consists of:

+
    +
  • Marc Fournier (Chair)
  • +
  • Dave Page (Vice-chair)
  • +
  • Josh Berkus (Secretary)
  • +
  • Chris Browne (Treasurer)
  • +
  • Dan Langille
  • +
  • Jaime Casanova
  • +
+
+
+
+{%endblock%} + diff --git a/website.html b/website.html deleted file mode 100644 index 58b53e2..0000000 --- a/website.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - About the website - - - - - - -
-
-
-
-
- PostgreSQL Community Association of Canada -
-
- PostgreSQL Canada -
-
- -
-
-
- -
-
-
- -

About the website

- -

-When you visit our website, our servers automatically log your IP address and/or host name. -

- -

-We store information such as your email address, name and locality only if you decide -to send us such information by completing a survey, or registering as a user on one -of our sites. We collect this information to help us improve the content of our -sites, customize the layout of our web pages and to contact people for technical -and support purposes. We will not share your email address with other organizations -unless required by law. -

- -

-The full sourcecode for this website is available in -our -GIT repository under the PostgreSQL licence. -

- -

-We may collect demographic and interest category information from people via surveys, -volunteered information, suggestions from members, and other means. Our members may -voluntarily provide information, including that regarding personal, interests, -geography, and demographics. The purpose of this data collection is to ensure -we continue to understand the needs and wants of the PostgreSQL community, and -therefore can provide the most relevant information, guides, and content. -

- -
-
- Privacy Policy | - About the website
- Copyright © 2012 PostgreSQL Community Association of Canada -
-
-
- - - -- 2.39.5