Changeset 762
- Timestamp:
- 05/11/07 22:06:20 (1 year ago)
- Files:
-
- cherokee-www/trunk/cherokee/locale/en/LC_MESSAGES/django.po (modified) (3 diffs)
- cherokee-www/trunk/cherokee/locale/es/LC_MESSAGES/django.po (modified) (3 diffs)
- cherokee-www/trunk/cherokee/media/css/layout.css (modified) (1 diff)
- cherokee-www/trunk/cherokee/media/img/indiankid.png (added)
- cherokee-www/trunk/cherokee/templates/base.html (modified) (2 diffs)
- cherokee-www/trunk/cherokee/templates/index.html (modified) (1 diff)
- cherokee-www/trunk/cherokee/urls.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee-www/trunk/cherokee/locale/en/LC_MESSAGES/django.po
r753 r762 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2007-05- 07 14:32-0600\n"11 "POT-Creation-Date: 2007-05-11 14:05-0600\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 77 77 msgstr "" 78 78 79 #: templates/404.html:4 80 msgid "Not Found" 81 msgstr "" 82 83 #: templates/404.html:7 84 msgid "Page Not Found" 85 msgstr "" 86 87 #: templates/404.html:8 88 msgid "Unable to find" 89 msgstr "" 90 91 #: templates/500.html:4 templates/500.html.py:7 92 msgid "Internal Server Error" 93 msgstr "" 94 95 #: templates/500.html:8 96 msgid "" 97 "Something bad has happened. An error report has been sent to the developers " 98 "of this website." 99 msgstr "" 100 101 #: templates/base.html:11 102 msgid "Cherokee Web Server" 103 msgstr "" 104 105 #: templates/base.html:11 106 msgid "Welcome" 107 msgstr "" 108 79 109 #: templates/base.html:28 80 110 msgid "Download" … … 86 116 87 117 #: templates/base.html:30 88 msgid " Contribute"118 msgid "Blog" 89 119 msgstr "" 90 120 91 121 #: templates/base.html:31 92 msgid " Blog"122 msgid "Code" 93 123 msgstr "" 124 125 #: templates/base.html:38 126 msgid "Choose your language:" 127 msgstr "" 128 129 #: templates/index.html:10 130 msgid "Flexible and Fast Web Server" 131 msgstr "" 132 133 #: templates/index.html:12 134 msgid "" 135 "\n" 136 "<strong>Cherokee</strong> is a very fast, flexible and easy to configure Web " 137 "Server. It supports the widespread technologies nowadays: FastCGI, SCGI, " 138 "PHP, CGI, TLS and SSL encrypted connections. Virtual hosts, Authentication, " 139 "on the fly encoding, Apache compatible log files, and much more.\n" 140 msgstr "" cherokee-www/trunk/cherokee/locale/es/LC_MESSAGES/django.po
r753 r762 9 9 "Project-Id-Version: PACKAGE VERSION\n" 10 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2007-05- 07 14:33-0600\n"11 "POT-Creation-Date: 2007-05-11 14:05-0600\n" 12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 77 77 msgstr "" 78 78 79 #: templates/404.html:4 80 msgid "Not Found" 81 msgstr "" 82 83 #: templates/404.html:7 84 msgid "Page Not Found" 85 msgstr "" 86 87 #: templates/404.html:8 88 msgid "Unable to find" 89 msgstr "" 90 91 #: templates/500.html:4 templates/500.html.py:7 92 msgid "Internal Server Error" 93 msgstr "" 94 95 #: templates/500.html:8 96 msgid "" 97 "Something bad has happened. An error report has been sent to the developers " 98 "of this website." 99 msgstr "" 100 101 #: templates/base.html:11 102 msgid "Cherokee Web Server" 103 msgstr "" 104 105 #: templates/base.html:11 106 msgid "Welcome" 107 msgstr "" 108 79 109 #: templates/base.html:28 80 110 msgid "Download" … … 86 116 87 117 #: templates/base.html:30 88 msgid " Contribute"89 msgstr " Contribuir"118 msgid "Blog" 119 msgstr "" 90 120 91 121 #: templates/base.html:31 92 msgid " Blog"122 msgid "Code" 93 123 msgstr "" 124 125 #: templates/base.html:38 126 msgid "Choose your language:" 127 msgstr "" 128 129 #: templates/index.html:10 130 msgid "Flexible and Fast Web Server" 131 msgstr "" 132 133 #: templates/index.html:12 134 msgid "" 135 "\n" 136 "<strong>Cherokee</strong> is a very fast, flexible and easy to configure Web " 137 "Server. It supports the widespread technologies nowadays: FastCGI, SCGI, " 138 "PHP, CGI, TLS and SSL encrypted connections. Virtual hosts, Authentication, " 139 "on the fly encoding, Apache compatible log files, and much more.\n" 140 msgstr "" 141 142 #~ msgid "Contribute" 143 #~ msgstr "Contribuir" cherokee-www/trunk/cherokee/media/css/layout.css
r758 r762 76 76 text-align: center; 77 77 } 78 79 .column_left { 80 float: left; 81 } 82 83 .column_right { 84 float: right; 85 } 86 87 #front_column_left { 88 border-right: 5px solid #e8e8e8; 89 width: 49%; 90 } 91 92 #front_column_right { 93 width: 50%; 94 } 95 96 #cherokee_man { 97 float: left; 98 } 99 100 #info { 101 float: right; 102 padding: 0 1%; 103 text-align: center; 104 width: 73%; 105 } 106 107 #info p { 108 color: #666; 109 } cherokee-www/trunk/cherokee/templates/base.html
r761 r762 34 34 </div> 35 35 36 < div id="languages">36 <!--<div id="languages"> 37 37 <ul> 38 38 <li style="padding: 5px;">{% trans "Choose your language:" %}</li> … … 45 45 {% endfor %} 46 46 </ul> 47 </div> 47 </div>--> 48 48 49 49 <div id="content"> cherokee-www/trunk/cherokee/templates/index.html
r756 r762 1 1 {% extends "base.html" %} 2 {% load i18n %} 2 3 3 4 {% block content %} 5 <div id="front_column_left" class="column_left"> 6 <div id="cherokee_man"> 7 <img src="/media/img/indiankid.png"> 8 </div> 9 <div id="info"> 10 <h2>{% trans "Flexible and Fast Web Server" %}</h2> 11 <p> 12 {% blocktrans %} 13 <strong>Cherokee</strong> is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections. Virtual hosts, Authentication, on the fly encoding, Apache compatible log files, and much more. 14 {% endblocktrans %} 15 </p> 16 </div> 17 </div> 18 <div id="front_column_right" class="column_right"> 19 <h2>Download</h2> 20 <ul style="list-style: none; padding: 0;"> 21 <li><a href="#">0.5.6</a> - Stable</li> 22 <li><a href="#">0.6.0b571</a> - Development</li> 23 </ul> 24 25 <h2>Code</h2> 26 <ul style="list-style: none; padding: 0;"> 27 <li><a href="#">Changeset [754]: --</a></li> 28 </ul> 29 30 <h2>Blog</h2> 31 <ul style="list-style: none; padding: 0;"> 32 {% for post in posts %} 33 <li> 34 <h4>{{ post.headline }}</h4> 35 {{ post.body }} 36 </li> 37 {% endfor %} 38 </ul> 39 </div> 4 40 {% endblock %} cherokee-www/trunk/cherokee/urls.py
r741 r762 17 17 } 18 18 19 from cherokee.blog.models import Post 20 21 index_context = { 22 'posts': Post.objects.all() 23 } 24 19 25 urlpatterns = patterns('', 20 26 (r'^admin/', include('django.contrib.admin.urls')), … … 25 31 (r'^i18n/', include('django.conf.urls.i18n')), 26 32 (r'^sitemap.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 6), {'sitemaps': sitemaps}), 27 (r'^/?$', direct_to_template, {'template': 'index.html', }),33 (r'^/?$', direct_to_template, {'template': 'index.html', 'extra_context': index_context}), 28 34 ) 29 35