Permalink
Browse files

cleanup to use local js and css files

  • Loading branch information...
1 parent 36b6f6f commit 9de69f05a279366dbf2df9fc72a0c8fa93c1f01d @trey0 trey0 committed Apr 5, 2012

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,9 @@
+.ui-icon-geoCam-map
+{
+ background: url("../map.png") 50% 50% no-repeat;
+}
+
+.ui-icon-geoCam-edit
+{
+ background: url("../edit_item.png") 50% 50% no-repeat;
+}
@@ -1,57 +1,57 @@
<!DOCTYPE html>
<html>
- <head>
- <meta charset="utf-8">
- <title>
- {% block title %}
- GeoCam Memo
- {% endblock %}
- </title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
- <link rel="stylesheet" href="{{ MEDIA_URL }}external/css/jquery.mobile.css" />
- <script src="http://code.jquery.com/jquery-1.5.min.js"></script>
- <script type="text/javascript">
- $(document).bind("mobileinit", function () {
- $.mobile.ajaxEnabled = true;
- $.extend($.mobile, {
- ajaxFormsEnabled: false
- });
- });
- </script>
- <script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
- <script src="http://maps.google.com/maps/api/js?sensor=false"></script>
- {% block css %}{% endblock %}
- </head>
- <body>
- <div id="bodydiv" data-role="page" data-theme="c">
- <header>
- <div data-role="header">
- <h1>{% block pagetitle %}GeoCam Memo{% endblock %}</h1>
- <a href="/" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
- <div data-role="navbar">
- <ul>
- <li><a href="{% url memo_message_list_all %}">Memo List</a></li>
- <li><a href="{% url memo_message_map %}">Memo Map</a></li>
- </ul>
- </div>
- </div>
- </header>
- <content>
- <div data-role="content">
- {% block content %}
- {% endblock %}
- </div>
- </content>
- <footer>
- <div data-role="footer" class="ui-bar">
- {% if user.is_authenticated %}
- <a href="/accounts/logout/" class="ui-btn-right">Logout {% firstof user.first_name user.username %}</a>
- {% else %}
- <a href="/accounts/login/">Login</a>
- {% endif %}
- </div>
- </footer>
- {% block js %} {% endblock %}
+ <head>
+ <meta charset="utf-8">
+ <title>
+ {% block title %}
+ GeoCam Memo
+ {% endblock %}
+ </title>
+ <link rel="stylesheet" href="{{ MEDIA_URL }}external/css/jquery.mobile.css" />
+ <link rel="stylesheet" href="{{ MEDIA_URL }}geocamMemo/css/geocamMemoStyle.css" />
+ <script src="{{ MEDIA_URL }}external/js/jquery.min.js"></script>
+ <script type="text/javascript">
+ $(document).bind("mobileinit", function () {
+ $.mobile.ajaxEnabled = true;
+ $.extend($.mobile, {
+ ajaxFormsEnabled: false
+ });
+ });
+ </script>
+ <script src="{{ MEDIA_URL }}external/js/jquery.mobile.min.js"></script>
+ <script src="http://maps.google.com/maps/api/js?sensor=false"></script>
+ {% block css %}{% endblock %}
+ </head>
+ <body>
+ <div id="bodydiv" data-role="page" data-theme="c">
+ <header>
+ <div data-role="header">
+ <h1>{% block pagetitle %}GeoCam Memo{% endblock %}</h1>
+ <a href="/" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
+ <div data-role="navbar">
+ <ul>
+ <li><a href="{% url memo_message_list_all %}">Memo List</a></li>
+ <li><a href="{% url memo_message_map %}">Memo Map</a></li>
+ </ul>
+ </div>
</div>
- </body>
+ </header>
+ <content>
+ <div data-role="content">
+ {% block content %}
+ {% endblock %}
+ </div>
+ </content>
+ <footer>
+ <div data-role="footer" class="ui-bar">
+ {% if user.is_authenticated %}
+ <a href="/accounts/logout/" class="ui-btn-right">Logout {% firstof user.first_name user.username %}</a>
+ {% else %}
+ <a href="/accounts/login/">Login</a>
+ {% endif %}
+ </div>
+ </footer>
+ {% block js %} {% endblock %}
+ </div>
+ </body>
</html>
@@ -7,9 +7,8 @@
GeoCam Talk
{% endblock %}
</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css" />
+ <script src="{{ MEDIA_URL }}external/js/jquery-1.5.2.min.js"></script>
<link rel="stylesheet" href="{{ MEDIA_URL }}external/css/jquery.mobile.css" />
- <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
$(document).bind("mobileinit", function () {

0 comments on commit 9de69f0

Please sign in to comment.