Browse Source

commit to https for cdn.knightlab.com

pull/811/head
Joe Germuska 10 years ago
parent
commit
4bc96c9635
  1. 2
      source/embed/index.html
  2. 2
      website/templates/_demo.html
  3. 2
      website/templates/_make.html
  4. 8
      website/templates/base.html
  5. 2
      website/templates/examples/houston/index.html
  6. 2
      website/templates/examples/republican/index.html
  7. 2
      website/templates/examples/shit-people-say/index.html
  8. 2
      website/templates/examples/user-interface/index.html

2
source/embed/index.html

@ -42,7 +42,7 @@
if (trim_point > 0) { if (trim_point > 0) {
var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html
} else { } else {
var embed_path = "//cdn.knightlab.com/libs/timeline/latest/"; var embed_path = "https://cdn.knightlab.com/libs/timeline/latest/";
} }
</script> </script>
<!-- build:js ../js/storyjs-embed-cdn.js?v214 --> <!-- build:js ../js/storyjs-embed-cdn.js?v214 -->

2
website/templates/_demo.html

@ -14,7 +14,7 @@
font: 'NewsCycle-Merriweather', font: 'NewsCycle-Merriweather',
}; };
</script> </script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js --> <!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/_make.html

@ -233,7 +233,7 @@
<div class="span11"> <div class="span11">
<h4>Embed the code into your website</h4> <h4>Embed the code into your website</h4>
<p>Grab the embed code and paste it on your site where you want your TimelineJS to appear (just like a YouTube video).</p> <p>Grab the embed code and paste it on your site where you want your TimelineJS to appear (just like a YouTube video).</p>
<textarea readonly="readonly" style="width: 100%; height: 160px; min-height: 110px; max-height: 300px; resize: none; font-family: Menlo,Monaco,'Courier New',monospace; font-size: 12px;" id="embed_code"><iframe src='//cdn.knightlab.com/libs/timeline/latest/embed/?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&width=600&height=600' width='600' height='600' frameborder='0'></iframe></textarea><br><br> <textarea readonly="readonly" style="width: 100%; height: 160px; min-height: 110px; max-height: 300px; resize: none; font-family: Menlo,Monaco,'Courier New',monospace; font-size: 12px;" id="embed_code"><iframe src='https://cdn.knightlab.com/libs/timeline/latest/embed/?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&width=600&height=600' width='600' height='600' frameborder='0'></iframe></textarea><br><br>
<p><a href="#preview-embed" data-scroll="true" id="iframe-preview-button" class="btn btn-primary">Preview</a> <p><a href="#preview-embed" data-scroll="true" id="iframe-preview-button" class="btn btn-primary">Preview</a>
<a href="#preview-embed" data-scroll="true" id="preview-embed-link" target="_blank" class="btn">Link to Preview</a></p> <a href="#preview-embed" data-scroll="true" id="preview-embed-link" target="_blank" class="btn">Link to Preview</a></p>
</div> </div>

8
website/templates/base.html

@ -26,9 +26,9 @@
meta name="viewport" content="initial-scale=1,width=device-width" meta name="viewport" content="initial-scale=1,width=device-width"
someone needs to go through Blueline and fix the small viewport CSS details before we can turn this on. someone needs to go through Blueline and fix the small viewport CSS details before we can turn this on.
--> -->
<link rel="shortcut icon" href="//cdn.knightlab.com/libs/blueline/latest/assets/logos/favicon.ico"> <link rel="shortcut icon" href="https://cdn.knightlab.com/libs/blueline/latest/assets/logos/favicon.ico">
<link href="//cloud.webtype.com/css/d4767ecb-457a-4677-8761-72f890add836.css" rel="stylesheet" type="text/css"> <link href="//cloud.webtype.com/css/d4767ecb-457a-4677-8761-72f890add836.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="//cdn.knightlab.com/libs/blueline/latest/css/blueline.min.css"> <link rel="stylesheet" href="https://cdn.knightlab.com/libs/blueline/latest/css/blueline.min.css">
<link rel="stylesheet" type="text/css" href="{{ static_url }}/css/site.css"> <link rel="stylesheet" type="text/css" href="{{ static_url }}/css/site.css">
<!-- Google Analytics: don't mess with this stuff --> <!-- Google Analytics: don't mess with this stuff -->
<!-- named tracker notes from https://developers.google.com/analytics/devguides/collection/gajs/ --> <!-- named tracker notes from https://developers.google.com/analytics/devguides/collection/gajs/ -->
@ -138,13 +138,13 @@
{% block scripts %} {% block scripts %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdn.knightlab.com/libs/blueline/latest/js/blueline.min.js"></script> <script src="https://cdn.knightlab.com/libs/blueline/latest/js/blueline.min.js"></script>
<!-- Override --> <!-- Override -->
<script type="text/javascript"> <script type="text/javascript">
var generator_embed_path = "{{ generator_embed_path }}"; var generator_embed_path = "{{ generator_embed_path }}";
</script> </script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed-generator.js --> <!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed-generator.js -->
<script type="text/javascript"> <script type="text/javascript">
var generator_embed_path = "/source/embed/index.html"; var generator_embed_path = "/source/embed/index.html";
</script> </script>

2
website/templates/examples/houston/index.html

@ -41,7 +41,7 @@
font: 'Bevan-PotanoSans' font: 'Bevan-PotanoSans'
} }
</script> </script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js --> <!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/examples/republican/index.html

@ -41,7 +41,7 @@
font: 'PT' font: 'PT'
} }
</script> </script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js --> <!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/examples/shit-people-say/index.html

@ -41,7 +41,7 @@
font: 'Pacifico-Arimo' font: 'Pacifico-Arimo'
} }
</script> </script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js --> <!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

2
website/templates/examples/user-interface/index.html

@ -41,7 +41,7 @@
font: 'SansitaOne-Kameron' font: 'SansitaOne-Kameron'
} }
</script> </script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js --> <!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript"> <script type="application/javascript">
var embed_path = "/build/" var embed_path = "/build/"
</script> </script>

Loading…
Cancel
Save