Index: lang/python/every_resources/trunk/everes_theme_default/templates/desktop_index.html
===================================================================
--- lang/python/every_resources/trunk/everes_theme_default/templates/desktop_index.html (revision 32823)
+++ lang/python/every_resources/trunk/everes_theme_default/templates/desktop_index.html (revision 32823)
@@ -0,0 +1,127 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+{% load everes_core_filter %}
+<head>
+  <meta name="generator" content="Every Resources {{ VERSION }}" />
+  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
+  <meta name="keywords" content="{% block keyword %}{% endblock %}" />
+  <link rel="stylesheet" href="{{ MEDIA_URL }}styles/basic.css" type="text/css" media="screen" />
+  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://{{ current_site.domain }}{% url everes_feed "core" %}" />
+  {% block additional_link %}{% endblock %}
+  {% block additional_js %}{% endblock %}
+  {% block additional_css %}{% endblock %}
+  <style type="text/css">{% if google_search_key %}#google_search { position: absolute; top:0;right:20px;}{% endif %}
+  {% block custom_css %}{% endblock %}
+  </style>
+  <script type="text/javascript"><!-- 
+  {% block custom_js %}{% endblock %}
+  --></script>
+  <title>{% block title %}{{ current_site.name }}{% endblock %}</title>
+</head>
+<body>
+  <div id="header">
+    <h2><a href="/">{{ current_site.name }}</a></h2>
+    {% if google_search_key %}
+    <div id="google_search">
+        <form action="http://www.google.co.jp/cse" id="cse-search-box">
+          <div>
+            <input type="hidden" name="cx" value="{{ google_search_key }}" />
+            <input type="hidden" name="ie" value="UTF-8" />
+            <input type="text" name="q" size="10" />
+            <input type="submit" name="sa" value="&#x691c;&#x7d22;" />
+          </div>
+        </form>
+        <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=ja"></script>
+    </div>
+    {% endif %}
+    <ul>
+        <li><a href="{% url everes_about %}">about</a></li>
+        {% for ap in everes_apps %}
+        <li><a href="{% url everes_list_by_app ap %}">{{ ap }}</a></li>
+        {% endfor %}
+    </ul>
+  </div>
+  <div class="content">
+        {% block contents %}{% endblock contents %}
+  </div>
+  <div class="autopagerize_insert_before">&nbsp;</div>
+  <div class="sideboard">
+    <a href="http://djangopony.com/" class="ponybadge" title="Magic! Ponies! Django! Whee!"><img src="http://media.djangopony.com/img/small/badge.png" width="210" height="65" alt="ponybadge"></a>
+
+    {% if object %}
+    <div class="near_navigation">
+        <div class="previous_content">{% if object and object.get_previous_by_published_from %}<a href="{{ object.get_previous_by_published_from.get_absolute_url }}" title="{{ object.get_previous_by_published_from.title }}">Prev</a>{% else %}...{% endif %}
+        </div>
+        <div class="next_content">{% if object and object.get_next_by_published_from %}<a href="{{ object.get_next_by_published_from.get_absolute_url }}" title="{{ object.get_next_by_published_from.title }}">Next</a>{% else %}...{% endif %}
+        </div>
+    </div>
+    {% endif %}
+
+
+    <h3>Powered by</h3>
+    <ul>
+      <li><a href="http://coderepos.org/share/browser/lang/python/every_resources">Every Resources</a></li>
+    </ul>
+    <h3>Feedbacks</h3>
+    <ul>
+      <li><a href="{% url everes_comment_list %}">Comments</a></li>
+      <li><a href="{% url everes_trackback_list %}">Trackbacks</a></li>
+    </ul>
+    <h3>Tags</h3>
+    <ul>
+    {% for tag in everes_tags %}
+      <li><a href="{% url everes_list_by_tag tag.name %}">{{ tag.name }}</a></li>
+    {% endfor %}
+    </ul>
+    <h3>Calendar</h3>
+    <ul>
+    {% for day in everes_days %}
+      <li><a href="{% url everes_month_list day.year,day.month %}">{{ day|date:"Y年m月" }}</a></li>
+    {% endfor %}
+    </ul>
+  </div>
+  {% if object_list %}
+  <div class="paginator">
+      <span class="pagination">{% if page_obj.has_previous %}<a href="?page={{ page_obj.previous_page_number }}">←</a>{% else %}←{% endif %}</span>
+      {% for p in paginator.page_range|splitpage:page_obj.number %}
+        {% ifequal p "..." %}
+        <span class="pagination">{{ p }}</span>
+        {% else %}
+        <span class="pagination"><a href="?page={{ p }}">{{ p }}</a></span>
+        {% endifequal %}
+      {% endfor %}
+      <span class="pagination">{% if page_obj.has_next %}<a href="?page={{ page_obj.next_page_number }}" rel="next">→</a>{% else %}→{% endif %}</span>
+  </div>
+  {% endif %}
+  {% if google_analytics_key %}
+  {% if not user.is_staff %}
+  <script type="text/javascript">
+  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type="text/javascript">
+  try {
+  var pageTracker = _gat._getTracker("{{ google_analytics_key }}");
+  pageTracker._trackPageview();
+  } catch(err) {}</script>
+  {% endif %}
+  {% endif %}
+  <script type="text/javascript" src="http://s.hatena.ne.jp/js/HatenaStar.js"></script>
+  <script type="text/javascript">
+  Hatena.Star.SiteConfig = {
+    entryNodes: {
+      'div.post': {
+        uri: 'h2 a',
+        title: 'h2',
+        container: 'h2.cms_title'
+      },
+      'div.detail': {
+        uri: 'h1 a',
+        title: 'h1',
+        container: 'h1.cms_title'
+      },
+    }
+  };
+  </script>
+ </body>
+</html>
Index: lang/python/every_resources/trunk/everes_theme_default/templates/static/styles/basic.css
===================================================================
--- lang/python/every_resources/trunk/everes_theme_default/templates/static/styles/basic.css (revision 32462)
+++ lang/python/every_resources/trunk/everes_theme_default/templates/static/styles/basic.css (revision 32823)
@@ -220,5 +220,8 @@
   border: #90a491 solid 1px;
 }
-div.post_meta th {
+table.meta_simple {
+  display:none;
+}
+div.post_meta table.meta_detail th {
   text-align: right;
   padding-top: .5em;
@@ -226,5 +229,5 @@
   border-bottom: #CC0000 1px solid; font-weight: 100;
 }
-div.post_meta td {
+div.post_meta table.meta_detail td {
   text-align: left;
   padding-top: .5em;
Index: lang/python/every_resources/trunk/everes_theme_default/templates/static/styles/iphone.css
===================================================================
--- lang/python/every_resources/trunk/everes_theme_default/templates/static/styles/iphone.css (revision 32823)
+++ lang/python/every_resources/trunk/everes_theme_default/templates/static/styles/iphone.css (revision 32823)
@@ -0,0 +1,322 @@
+* { margin:  0; padding: 0; }
+
+
+* { margin:  0; padding: 0; }
+ul { list-style: none; }
+a img, frameset { border: 0; }
+
+h1 {
+  font-family: Constantia,Georgia,Times News Roman,Times,serif;
+  font-size: 4.4em;
+  font-weight: normal;
+  color: #3f1429;
+}   
+h3 {
+  font-family: Georgia,Times News Roman,Times,serif;
+  font-size: 2em;
+  margin-top: 15px;
+  font-weight: normal;
+  color: #291018;
+  letter-spacing: 3px;
+  text-transform: uppercase;}
+}
+h4, h5 {
+  margin-top: 15px;
+}
+
+a:link, a:visited { text-decoration: none; color:#C1CACA; }
+a:hover { text-decoration: underline; }
+a:active { text-decoration: none }
+p {
+  margin-bottom: 2em;
+}
+
+.clear {
+  height: 1px;
+  clear: both;
+  margin-top: -1px;
+  overflow: hidden;
+}
+small { font-size: .75em; }
+.row:after, .clearfix:after {
+  content: "."; 
+  display: block; 
+  height: 0; 
+  clear: both; 
+  visibility: hidden;
+}
+
+body {
+  background: #6B6B6B;
+  font-family:Verdana,"Helvetica Neue",Helvetica,Arial,sans-serif ;
+  color: #3d3e36;
+  line-height: 1.2em;
+  font-weight: 100;
+  letter-spacing: 2px;
+}
+div#header {
+  background: #2B2B2B;
+  padding: 20px;
+}
+div#header h2 {
+ font-size: 200%; text-transform: uppercase;
+ font-family: Garamond, Georgia, "Times New Roman"; 
+ letter-spacing: .5em;
+ font-weight: 100;
+ color: #FFFFFF;
+ border-top: #CCCCCC 1px solid;
+ border-bottom: #CCCCCC 1px solid;
+ width: 550px; text-align: center;
+}
+div#header li {
+  float: right;
+  margin-right: 2em;
+  text-transform: capitalize;
+}
+div#header h2 a:link, div#header h2 a:visited { text-decoration: none; color: #FFFFFF; }
+div#header h2 a:hover { text-decoration: none; color: #d3d4f0; }
+div#header h2 a:active { text-decoration: none; color: #d3d4f0; }
+div#header li a:link, div#header li a:visited { text-decoration: none; color: #C1CACA; }
+div#header li a:hover { text-decoration: underline; color: #d3d4f0; }
+div#header li a:active { text-decoration: none; color: #d3d4f0; }
+
+img:after {
+    clear: both;
+}
+
+div.content {
+  margin: 1em;
+}
+div.post {
+  background-color: #2B2B2B;
+  -moz-border-radius: 7px; 
+  -webkit-border-radius: 7px;
+  width: 100%;
+  padding-top: 20px;
+  padding-bottom: 15px;
+  margin-bottom: 20px;
+  line-height: 1.6em;
+  letter-spacing: 1px;
+  clear:both;
+}
+
+div.post img.photo {
+  max-width: 200px;
+  padding: 3px;
+  margin-left: 1em;
+  margin-right: 1em;
+  border: #303020 3px solid;
+  background-color: #404040;
+  float:left;
+}
+
+div.post .bookmarked {
+  float:right;
+  margin-right:3em;
+  margin-top:-1em;
+}
+
+.post_meta {
+  padding: 1em;
+  float:none;
+  clear: left;
+  letter-spacing: 0px;
+}
+
+div.post h1, div.post h2 {
+  display: block;
+  position: relative;
+  z-index: 20;
+  line-height: 20px;
+}
+div.post .article:after {
+    content: ".";  
+    display: block;  
+    visibility: hidden;  
+    height: 0.1px;  
+    font-size: 0.1em;  
+    line-height: 0;  
+    clear: both;
+}
+
+div.post .article {
+  background-color: #EEF2FF;
+  margin-top: 1em;
+  padding: 1em 1em 1em 2em;
+  font-size: 110%;
+  line-height: 1.9em;
+  zoom: 1;  
+}
+div.post .article pre {
+  overflow: auto;
+  padding: 1em;
+  margin-bottom: 1em;
+  font-size:88%;
+  line-height: 1.4em;
+  font-family:Verdana,"Helvetica Neue",Helvetica,Arial,sans-serif ;
+  background-color: rgb(250, 250, 240);
+  border: 1px solid rgb(190, 190, 190);
+}
+div.post .article table {
+  width:90%;
+  border-top:1px solid #e5eff8;
+  border-right:1px solid #e5eff8;
+  margin:1em auto;
+  border-collapse:collapse;
+}
+div.post .article td {
+  color:#678197;
+  border-bottom:1px solid #e5eff8;
+  border-left:1px solid #e5eff8;
+  padding:.3em 1em;
+  text-align:center;
+}
+div.post .article tr.odd td {
+  background:#f7fbff
+}
+div.post .article tr.odd .column1 {
+  background:#f4f9fe;
+}
+div.post .article .column1 {
+  background:#f9fcfe;
+}
+div.post .article a:link, div.post .article a:visited { text-decoration: none; color: #D28225; }
+div.post .listing img {
+    max-width: 600px;
+}
+div.post_meta {
+  margin: 0em 0em 1em 0em;
+  background-color: #0F0F0F;
+  border: #90a491 solid 1px;
+}
+div.post_meta th {
+  text-align: right;
+  padding-top: .5em;
+  font-size: 1.4em; color: #999999; text-transform: uppercase;
+  border-bottom: #CC0000 1px solid; font-weight: 100;
+}
+table.meta_detail {
+  display:none;
+}
+div.post_meta table.meta_simple td {
+  text-align: left;
+  border: 3px solid rgb(255,0,0);
+  padding-top: .5em;
+  padding-left: 1em;
+  padding-right: 2em;
+}
+div.more {
+  text-align: right;
+  padding-top: 1em;
+  padding-right: 1em;
+  text-decoration: underline;
+}
+
+div.feedback, div.reaction {
+    padding: 0em 2em;
+}
+div.feedback h3.feedback_heading {
+    font-size: 1.4em;
+    color: #ab3434;
+    border-bottom: 1px solid #FFFFFF;
+}
+div.feedback p.comment {
+    border-bottom: 1px solid #CC4444;
+    border-left: 1px solid #CC4444;
+}
+div.feedback span.opinion {
+    color: #AAAAAA;
+}
+div.reaction button {
+    width: 100%;
+}
+div.reaction label {
+    text-align: right;
+    color: #E79126;
+}
+div.reaction p {
+    padding: 1em;
+    background-color: #454545;
+}
+div.reaction input[button] {
+    width: 200px;
+}
+div.reaction input[type="text"] {
+  width: 600px;
+}
+div.feedback textarea {
+  width: 600px;
+  height: 300px;
+}
+.commentator {
+    color: #888888;
+}
+
+/* Typography */
+h1.cms_title { letter-spacing: .10em; font-size: 38px; font-weight: 100; border-bottom: groove 2px #CCCCCC; width: auto; line-height: 1em; font-variant: small-caps;}
+h2.cms_title { letter-spacing: .10em; font-size: 28px; font-weight: 100; border-bottom: groove 2px #CCCCCC; width: auto; line-height: 1em; font-variant: small-caps;}
+a { -webkit-transition-duration: 0.3s; -webkit-transition-timing-function: ease-in; }
+h1.cms_title a:link, .cms_title, h1 a:visited, h2.cms_title a:link, .cms_title h2 a:visited { text-decoration: none; color: #C1CACA; }
+h1.cms_title a:hover, h2.cms_title a:hover { text-decoration: none; color: #f0d4d3; }
+h1.cms_title a:active , h2.cms_title a:active { text-decoration: none; color: #3d3e36; }
+h3.cms_date { margin-left: 4em; font-family: Verdana, Arial, Helvetica, sans-serif; color: #BBBBBB; border-bottom: #CCCCCC 1px dotted; letter-spacing: 1em; font-weight: 100; line-height: .8em; font-size: 9px;}
+h3.newspaper2 { letter-spacing: .10em; font-size: 36px; font-weight: 100; border-bottom: groove 2px #CCCCCC; width: auto; line-height: 1em; font-variant: small-caps;}
+
+div.bookmark h1.cms_title:before, div.bookmark h2.cms_title:before { content: '[Bookmark]'; color: #AAAAFF; margin-left: 1em;}
+div.diigobookmark h1.cms_title:before, div.diigobookmark h2.cms_title:before { content: '[Bookmark]'; color: #AAAAFF; margin-left: 1em;}
+div.event h1.cms_title:before, div.event h2.cms_title:before { content: '[Event]'; color: #AAFFFF; margin-left: 1em;}
+div.release h1.cms_title:before , div.release h2.cms_title:before { content: '[Release]'; color: #FFFFAA; margin-left: 1em;}
+div.project h1.cms_title:before , div.project h2.cms_title:before { content: '[Project]'; color: #AAFFAA; margin-left: 1em;}
+div.bookmark h1.cms_title, div.bookmark h2.cms_title { font-size: 14px !important; }
+
+div.paginator {
+  filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#8B8B8B,EndColorStr=#4B4B4B);
+  background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAYAAADtlXTHAAAAH0lEQVQImWPo7u7+z/T3718Gpn///uEhiFBCrDrCSgAu3lkhfOTtLgAAAABJRU5ErkJggg==");
+  background-repeat:repeat-x;
+  background-color:#4B4B4B;
+  -moz-border-radius: 7px; 
+  -webkit-border-radius: 7px;
+  text-align: right;
+  margin: 1em;
+  padding-top: 1em;
+  padding-left: 5em;
+  padding-right: 2em;
+  min-height: 30px;
+  font-weight: bold;
+}
+span.pagination {
+    padding: 0px 16px;
+}
+.section h1, .section h2 {
+  margin-bottom: .5em;
+  border-bottom: dashed 1px #777;
+}
+.detail li{
+  padding-top: 1em;
+  list-style-type: square;
+}
+.ponybadge {
+  margin:-15px;
+}
+
+.near_navigation {
+  font-size: 1.4em;
+  margin-top:1.5em;
+  font-weight: bold;
+  background-color: #6EC6FF;
+  -moz-border-radius: 7px; 
+  -webkit-border-radius: 7px;
+  padding:.5em;
+}
+.near_navigation a:link, .near_navigation a:visited, .near_navigation a:link, .near_navigation a:visited { text-decoration: none; color: #5F1F20; }
+.near_navigation a:hover, .near_navigation a:hover { text-decoration: none; color: #FF424F; }
+.near_navigation .previous_content {
+  min-width: 50%;
+  max-width: 50%;
+  float:left;
+  text-align: center;
+}
+.near_navigation .next_content {
+  margin-left:50%;
+  text-align: center;
+}
Index: lang/python/every_resources/trunk/everes_theme_default/templates/index.html
===================================================================
--- lang/python/every_resources/trunk/everes_theme_default/templates/index.html (revision 32663)
+++ lang/python/every_resources/trunk/everes_theme_default/templates/index.html (revision 32823)
@@ -1,127 +1,1 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-{% load everes_core_filter %}
-<head>
-  <meta name="generator" content="Every Resources {{ VERSION }}" />
-  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
-  <meta name="keywords" content="{% block keyword %}{% endblock %}" />
-  <link rel="stylesheet" href="{{ MEDIA_URL }}styles/basic.css" type="text/css" media="screen" />
-  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://{{ current_site.domain }}{% url everes_feed "core" %}" />
-  {% block additional_link %}{% endblock %}
-  {% block additional_js %}{% endblock %}
-  {% block additional_css %}{% endblock %}
-  <style type="text/css">{% if google_search_key %}#google_search { position: absolute; top:0;right:20px;}{% endif %}
-  {% block custom_css %}{% endblock %}
-  </style>
-  <script type="text/javascript"><!-- 
-  {% block custom_js %}{% endblock %}
-  --></script>
-  <title>{% block title %}{{ current_site.name }}{% endblock %}</title>
-</head>
-<body>
-  <div id="header">
-    <h2><a href="/">{{ current_site.name }}</a></h2>
-    {% if google_search_key %}
-    <div id="google_search">
-        <form action="http://www.google.co.jp/cse" id="cse-search-box">
-          <div>
-            <input type="hidden" name="cx" value="{{ google_search_key }}" />
-            <input type="hidden" name="ie" value="UTF-8" />
-            <input type="text" name="q" size="10" />
-            <input type="submit" name="sa" value="&#x691c;&#x7d22;" />
-          </div>
-        </form>
-        <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=ja"></script>
-    </div>
-    {% endif %}
-    <ul>
-        <li><a href="{% url everes_about %}">about</a></li>
-        {% for ap in everes_apps %}
-        <li><a href="{% url everes_list_by_app ap %}">{{ ap }}</a></li>
-        {% endfor %}
-    </ul>
-  </div>
-  <div class="content">
-        {% block contents %}{% endblock contents %}
-  </div>
-  <div class="autopagerize_insert_before">&nbsp;</div>
-  <div class="sideboard">
-    <a href="http://djangopony.com/" class="ponybadge" title="Magic! Ponies! Django! Whee!"><img src="http://media.djangopony.com/img/small/badge.png" width="210" height="65" alt="ponybadge"></a>
-
-    {% if object %}
-    <div class="near_navigation">
-        <div class="previous_content">{% if object and object.get_previous_by_published_from %}<a href="{{ object.get_previous_by_published_from.get_absolute_url }}" title="{{ object.get_previous_by_published_from.title }}">Prev</a>{% else %}...{% endif %}
-        </div>
-        <div class="next_content">{% if object and object.get_next_by_published_from %}<a href="{{ object.get_next_by_published_from.get_absolute_url }}" title="{{ object.get_next_by_published_from.title }}">Next</a>{% else %}...{% endif %}
-        </div>
-    </div>
-    {% endif %}
-
-
-    <h3>Powered by</h3>
-    <ul>
-      <li><a href="http://coderepos.org/share/browser/lang/python/every_resources">Every Resources</a></li>
-    </ul>
-    <h3>Feedbacks</h3>
-    <ul>
-      <li><a href="{% url everes_comment_list %}">Comments</a></li>
-      <li><a href="{% url everes_trackback_list %}">Trackbacks</a></li>
-    </ul>
-    <h3>Tags</h3>
-    <ul>
-    {% for tag in everes_tags %}
-      <li><a href="{% url everes_list_by_tag tag.name %}">{{ tag.name }}</a></li>
-    {% endfor %}
-    </ul>
-    <h3>Calendar</h3>
-    <ul>
-    {% for day in everes_days %}
-      <li><a href="{% url everes_month_list day.year,day.month %}">{{ day|date:"Y年m月" }}</a></li>
-    {% endfor %}
-    </ul>
-  </div>
-  {% if object_list %}
-  <div class="paginator">
-      <span class="pagination">{% if page_obj.has_previous %}<a href="?page={{ page_obj.previous_page_number }}">←</a>{% else %}←{% endif %}</span>
-      {% for p in paginator.page_range|splitpage:page_obj.number %}
-        {% ifequal p "..." %}
-        <span class="pagination">{{ p }}</span>
-        {% else %}
-        <span class="pagination"><a href="?page={{ p }}">{{ p }}</a></span>
-        {% endifequal %}
-      {% endfor %}
-      <span class="pagination">{% if page_obj.has_next %}<a href="?page={{ page_obj.next_page_number }}" rel="next">→</a>{% else %}→{% endif %}</span>
-  </div>
-  {% endif %}
-  {% if google_analytics_key %}
-  {% if not user.is_staff %}
-  <script type="text/javascript">
-  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-  </script>
-  <script type="text/javascript">
-  try {
-  var pageTracker = _gat._getTracker("{{ google_analytics_key }}");
-  pageTracker._trackPageview();
-  } catch(err) {}</script>
-  {% endif %}
-  {% endif %}
-  <script type="text/javascript" src="http://s.hatena.ne.jp/js/HatenaStar.js"></script>
-  <script type="text/javascript">
-  Hatena.Star.SiteConfig = {
-    entryNodes: {
-      'div.post': {
-        uri: 'h2 a',
-        title: 'h2',
-        container: 'h2.cms_title'
-      },
-      'div.detail': {
-        uri: 'h1 a',
-        title: 'h1',
-        container: 'h1.cms_title'
-      },
-    }
-  };
-  </script>
- </body>
-</html>
+{% extends root_template %}
Index: lang/python/every_resources/trunk/everes_theme_default/templates/iphone_index.html
===================================================================
--- lang/python/every_resources/trunk/everes_theme_default/templates/iphone_index.html (revision 32823)
+++ lang/python/every_resources/trunk/everes_theme_default/templates/iphone_index.html (revision 32823)
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+{% load everes_core_filter %}
+<head>
+  <meta name="generator" content="Every Resources {{ VERSION }}" />
+  <meta http-equiv="content-type" content="text/html;charset=utf-8" />
+  <link rel="stylesheet" href="{{ MEDIA_URL }}styles/iphone.css" type="text/css" media="screen" />
+  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://{{ current_site.domain }}{% url everes_feed "core" %}" />
+  <title>{% block title %}{{ current_site.name }}{% endblock %}</title>
+</head>
+<body>
+  <div id="header">
+      <h2><a href="/">{{ current_site.name }}</a></h2>
+      <ul>
+          <li><a href="{% url everes_about %}">about</a></li>
+          {% for ap in everes_apps %}
+          <li><a href="{% url everes_list_by_app ap %}">{{ ap }}</a></li>
+          {% endfor %}
+      </ul>
+  </div>
+  <div class="content">
+    {% block contents %}{% endblock contents %}
+  </div>
+  {% if object_list %}
+  <div class="paginator">
+      <span class="pagination">{% if page_obj.has_previous %}<a href="?page={{ page_obj.previous_page_number }}">←</a>{% else %}←{% endif %}</span>
+      {% for p in paginator.page_range|splitpage:page_obj.number %}
+        {% ifequal p "..." %}
+        <span class="pagination">{{ p }}</span>
+        {% else %}
+        <span class="pagination"><a href="?page={{ p }}">{{ p }}</a></span>
+        {% endifequal %}
+      {% endfor %}
+      <span class="pagination">{% if page_obj.has_next %}<a href="?page={{ page_obj.next_page_number }}" rel="next">→</a>{% else %}→{% endif %}</span>
+  </div>
+  {% endif %}
+  {% if google_analytics_key %}
+  {% if not user.is_staff %}
+  <script type="text/javascript">
+  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+  </script>
+  <script type="text/javascript">
+  try {
+  var pageTracker = _gat._getTracker("{{ google_analytics_key }}");
+  pageTracker._trackPageview();
+  } catch(err) {}</script>
+  {% endif %}
+  {% endif %}
+  <div class="footer">
+  </div>
+</body>
+</html>
Index: lang/python/every_resources/trunk/settings.py
===================================================================
--- lang/python/every_resources/trunk/settings.py (revision 31795)
+++ lang/python/every_resources/trunk/settings.py (revision 32823)
@@ -113,4 +113,5 @@
     'everes_core.context_processors.everes_tags',
     'everes_core.context_processors.everes_days',
+    'everes_core.context_processors.everes_root_template',
 )
 
Index: lang/python/every_resources/trunk/everes_core/context_processors.py
===================================================================
--- lang/python/every_resources/trunk/everes_core/context_processors.py (revision 27788)
+++ lang/python/every_resources/trunk/everes_core/context_processors.py (revision 32823)
@@ -38,4 +38,7 @@
 from models import Tag, ContentsMeta
 from utils import get_app_list
+import re
+
+p = re.compile('iPhone|iPod', re.IGNORECASE)
 
 def site(request):
@@ -43,4 +46,9 @@
     """
     return {'current_site': Site.objects.get_current()}
+
+def everes_root_template(request):
+    if p.search(request.META['HTTP_USER_AGENT']):
+        return {'root_template': 'iphone_index.html'}
+    return {'root_template': 'desktop_index.html'}
 
 def everes_apps(request):
Index: lang/python/every_resources/trunk/everes_core/templates/everes_core/contentsmeta_detail.html
===================================================================
--- lang/python/every_resources/trunk/everes_core/templates/everes_core/contentsmeta_detail.html (revision 32662)
+++ lang/python/every_resources/trunk/everes_core/templates/everes_core/contentsmeta_detail.html (revision 32823)
@@ -96,5 +96,5 @@
   </div>
   <div class="post_meta">
-    <table>
+    <table class="meta_detail">
         <tr><th>Author</th><td><a href="#">{{ object.author.username }}</a></td><th>Permalink</th><td>http://{{ current_site.domain }}{{ object.get_absolute_url }}</td></tr>
         <tr><th>Published</th><td>{{ object.published_from|date:"Y年m月d日(D) H:i" }}</td><th>Tagged</th><td>
@@ -104,4 +104,20 @@
             </td></tr>
         <tr><th>Trackback</th><td>{{ object.trackback_cache }}</td><th>Comment</th><td>{{ object.comment_cache }}</td><tr>
+        {% if object.related_item.all %}
+        <tr><th>Related</th>
+          <td colspan="3">
+          {% for related in object.related_item.all %}
+            <p>{{ related.published_from|date:"Y年m月d日(D)" }}<a href="{{ related.cast.get_absolute_url }}">&nbsp;{{ related.title }}</a> [{{ related.entity_type }}]</p>
+          {% endfor %}
+          </td>
+        </tr>
+        {% endif %}
+    </table>
+    <table class="meta_simple">
+        <tr><th>Tagged</th><td>
+            {% for tag in object.tags.all %}
+            <a href="{% url everes_list_by_tag tag.name %}">{{ tag.name }}</a>[<a href="{% url everes_list_by_app_and_tag app=object.app_name,tag=tag.name %}">{{ object.app_name }}'s</a>]
+            {% endfor %}
+            </td></tr>
         {% if object.related_item.all %}
         <tr><th>Related</th>
