[geany/www.geany.org] f327eb: Drop mobile site code and templates

Enrico Tröger git-noreply at xxxxx
Tue Oct 29 22:46:53 UTC 2013


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Tue, 29 Oct 2013 22:46:53 UTC
Commit:      f327eb39a4a9e81124dc1b3e026d0f1c438d9989
             https://github.com/geany/www.geany.org/commit/f327eb39a4a9e81124dc1b3e026d0f1c438d9989

Log Message:
-----------
Drop mobile site code and templates

Instead of using a seperate mobile page, let's make the site design responsive.


Modified Paths:
--------------
    geany/static/css/geany-mobile.css
    geany/templates/mobile/404.html
    geany/templates/mobile/500.html
    geany/templates/mobile/base.html
    geany/templates/mobile/blog/blog_post_detail.html
    geany/templates/mobile/blog/blog_post_list.html
    geany/templates/mobile/includes/footer_scripts.html
    geany/templates/mobile/includes/search.html

Modified: geany/static/css/geany-mobile.css
29 files changed, 0 insertions(+), 29 deletions(-)
===================================================================
@@ -1,29 +0,0 @@
-
-.since, .help {
-    font-size: 10px;
-}
-
-.valign-middle {
-  vertical-align: middle;
-}
-
-.input_id_honeypot {
-  display:none !important;
-}
-
-.ui-icon-search {
-    background-image: none;
-}
-
-.ui-icon-loading {
-    background-image: none;
-}
-
-.ui-icon { background-image: none; }
-.ui-icon-black { background-image: none; }
-
- at media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
-	.ui-icon { background-image: none }
-	.ui-icon-black { background-image: none }
-}
-


Modified: geany/templates/mobile/404.html
11 files changed, 0 insertions(+), 11 deletions(-)
===================================================================
@@ -1,11 +0,0 @@
-{% extends "mobile/base.html" %}
-
-{% load i18n %}
-
-{% block title %}
-{% trans "Page not found" %}
-{% endblock %}
-
-{% block main %}
-{% trans "The page you requested does not exist." %}
-{% endblock %}


Modified: geany/templates/mobile/500.html
11 files changed, 0 insertions(+), 11 deletions(-)
===================================================================
@@ -1,11 +0,0 @@
-{% extends "mobile/base.html" %}
-
-{% load i18n %}
-
-{% block title %}
-{% trans "Error" %}
-{% endblock %}
-
-{% block main %}
-{% trans "Sorry, an error occurred." %}
-{% endblock %}


Modified: geany/templates/mobile/base.html
56 files changed, 0 insertions(+), 56 deletions(-)
===================================================================
@@ -1,56 +0,0 @@
-{% load pages_tags mezzanine_tags i18n future %}
-<!doctype html>
-<html>
-<head>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-    <meta name="keywords" content="{% block meta_keywords %}{% endblock %}" />
-    <meta name="description" content="{% block meta_description %}{% endblock %}" />
-
-    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
-
-    <title>{% block meta_title %}{% endblock %}</title>
-
-    {% ifinstalled mezzanine.blog %}
-    <link rel="alternate" type="application/rss+xml" title="RSS" href="{% url "blog_post_feed" "rss" %}" />
-    <link rel="alternate" type="application/atom+xml" title="Atom" href="{% url "blog_post_feed" "atom" %}" />
-    {% endifinstalled %}
-    <link rel="apple-touch-icon" href="" />
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/global-mobile.css" type="text/css" />
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/jquery.mobile-1.0a2.css" />
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/geany-mobile.css" type="text/css" />
-    <script src="{{ STATIC_URL }}mezzanine/js/{{ settings.JQUERY_FILENAME }}"></script>
-    <script src="{{ STATIC_URL }}js/jquery.mobile-1.0a2.js"></script>
-
-    {% block extra_head %}{% endblock %}
-
-</head>
-<body id="{% block body_id %}{% endblock %}">
-<div data-role="page" data-theme="d">
-    <div data-role="header">
-        <h1>{% block title %}{% endblock %}</h1>
-    </div>
-
-    {% page_menu "pages/menus/mobile.html" %}
-
-    <div data-role="content">
-        {% block main %}{% endblock %}
-    </div>
-
-    <div data-role="footer">
-        <div data-role="content" align="center">
-            {% include "mobile/includes/search.html" %}
-            <p>
-                Contents Copyright 2006-2013 Enrico Tröger, Matthew Brush,
-                Colomban Wendling, Frank Lanitz, Nick Treleaven and Dominic Hopf
-            </p>
-            <p>
-                <a href="{% url "set_device" "default" %}?next={{ request.path }}" rel="external">{% trans "View Full Site" %}</a>
-            </p>
-        </div>
-    </div>
-</div>
-
-{% include "mobile/includes/footer_scripts.html" %}
-
-</body>
-</html>


Modified: geany/templates/mobile/blog/blog_post_detail.html
52 files changed, 0 insertions(+), 52 deletions(-)
===================================================================
@@ -1,52 +0,0 @@
-{% extends "mobile/blog/blog_post_list.html" %}
-{% load mezzanine_tags comment_tags keyword_tags i18n future %}
-
-{% block meta_title %}{{ blog_post.title }}{% endblock %}
-
-{% block meta_keywords %}{% metablock %}
-{% keywords_for blog_post as tags %}
-{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
-{% endmetablock %}{% endblock %}
-
-{% block meta_description %}{% metablock %}
-{{ blog_post.description }}
-{% endmetablock %}{% endblock %}
-
-{% block title %}
-{% editable blog_post.title %}{{ blog_post.title }}{% endeditable %}
-{% endblock %}
-
-{% block main %}
-
-<p>
-    <em>
-        {% trans "Posted " %}
-        {{ blog_post.publish_date|timesince }} {% trans "ago" %}
-    </em>
-</p>
-
-{% editable blog_post.content %}
-{{ blog_post.content|richtext_filter|safe }}
-{% endeditable %}
-
-{% keywords_for blog_post as tags %}
-{% if tags %}
-<div class="tags">
-    {% trans "Tags" %}:
-    <ul>
-        {% for tag in tags %}
-        <li><a href="{% url "blog_post_list_tag" tag.slug %}">{{ tag }}</a></li>
-        {% endfor %}
-    </ul>
-</div>
-{% endif %}
-
-{% set_short_url_for blog_post %}
-<div data-inline="true" class="share-links">
-	{% trans "Share this on:" %}
-    <a target=_"blank" href="http://twitter.com/home?status={{ blog_post.short_url|urlencode }}%20{{ blog_post.title|urlencode }}">Twitter</a>
-    {% trans "or" %}
-    <a target=_"blank" href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri }}&t={{ blog_post.title|urlencode }}">Facebook</a>
-</div>
-
-{% endblock %}


Modified: geany/templates/mobile/blog/blog_post_list.html
34 files changed, 0 insertions(+), 34 deletions(-)
===================================================================
@@ -1,34 +0,0 @@
-{% extends "mobile/base.html" %}
-{% load i18n future mezzanine_tags blog_tags keyword_tags %}
-
-{% block meta_title %}{% if page %}{{ page.richtextpage.title }}{% else %}{% trans "Blog" %}{% endif %}{% endblock %}
-
-{% block meta_keywords %}{% metablock %}
-{% keywords_for page as keywords %}
-{% for keyword in keywords %}
-    {% if not forloop.first %}, {% endif %}
-    {{ keyword }}
-{% endfor %}
-{% endmetablock %}{% endblock %}
-
-{% block meta_description %}{% metablock %}
-{{ page.description }}
-{% endmetablock %}{% endblock %}
-
-{% block title %}
-{% if page %}{{ page.title }}{% else %}{% trans "Blog" %}{% endif %}
-{% endblock %}
-
-{% block main %}
-<ul data-role="listview" data-inset="true" data-splittheme="a">
-    {% for blog_post in blog_posts.object_list %}
-		<li>
-        {% editable blog_post.title blog_post.publish_date %}
-        <h2 class="blog-post-title"><a href="{% url "blog_post_detail" blog_post.slug %}">{{ blog_post.title }}</a></h2>
-        <em class="since">{{ blog_post.publish_date|timesince }} {% trans "ago" %}</em>
-        {% endeditable %}
-        </li>
-    {% endfor %}
-</ul>
-{% pagination_for blog_posts %}
-{% endblock %}


Modified: geany/templates/mobile/includes/footer_scripts.html
0 files changed, 0 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online


Modified: geany/templates/mobile/includes/search.html
9 files changed, 0 insertions(+), 9 deletions(-)
===================================================================
@@ -1,9 +0,0 @@
-{% load i18n %}
-
-<form method="get" action="{% url "search" %}" id="search">
-    <input type="search" name="q" placeholder="{% trans "Search"%}..." value="{{ request.REQUEST.q }}">
-    <input type="submit" name="submit" value="Search" alt="Search" class="search-submit-button">
-    <p class="help">{% trans "Use "%} "{% trans "quotes" %}" {% trans " for exact phrases, + to make a word or phrase required, and - to exclude a word or phrase." %}"</p>
-</form>
-
-



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list