<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
        <meta name="apple-mobile-web-app-capable" content="yes" />

        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <link rel="apple-touch-icon" href="static/apple-touch-icon-114x114.png"/>

        <link rel="apple-touch-startup-image" href="startup.png" />

        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"> </script>

        <!--- Ratchet, HTML5/CSS/Javascript fob with iPhone-like widgets
              http://maker.github.io/ratchet/  -->
        <link rel="stylesheet" href="/static/ratchet.css">
        <script src="/static/ratchet.js"></script>

        <script src="/static/domotica.js"></script>

        <title>{{ title }}</title>
    </head>
    <body>
{% load staticfiles %}

<header class="bar-title">
{% if backbutton %}
<a class="button-prev" href="{% url 'index' %}">
    Terug
</a>
{% endif %}
<h1 class="title">{{ title }}</h1>
<a id="refresh" class="button">
    Refresh
</a>
</header>

<div class="content">


<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
        <meta name="apple-mobile-web-app-capable" content="yes" />

        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <link rel="apple-touch-icon" href="static/apple-touch-icon-114x114.png"/>

        <link rel="apple-touch-startup-image" href="startup.png" />

        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"> </script>

        <!--- Ratchet, HTML5/CSS/Javascript fob with iPhone-like widgets
              http://maker.github.io/ratchet/  -->
        <link rel="stylesheet" href="/static/ratchet.css">
        <script src="/static/ratchet.js"></script>

        <script src="/static/domotica.js"></script>

        <title>{{ title }}</title>
    </head>
    <body>
{% load staticfiles %}

<header class="bar-title">
{% if backbutton %}
<a class="button-prev" href="{% url 'index' %}">
    Terug
</a>
{% endif %}
<h1 class="title">{{ title }}</h1>
<a id="refresh" class="button">
    Refresh
</a>
</header>

<div class="content">


Fix jquery issues with Chrome mobile
Fix jquery issues with Chrome mobile

For reasons I won't pretend to understand Chrome Mobile won't load
JQuery if we specify 'http://...', but will if we use '//...'.

For extra fun this only happened in https, not in http.
Perhaps it's unhappy about loading 'unsecure' javascript when on an
encrypted session.
