Browse Source

commit to https for cdn.knightlab.com

pull/811/head
Joe Germuska 9 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) {
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 {
var embed_path = "//cdn.knightlab.com/libs/timeline/latest/";
var embed_path = "https://cdn.knightlab.com/libs/timeline/latest/";
}
</script>
<!-- build:js ../js/storyjs-embed-cdn.js?v214 -->

2
website/templates/_demo.html

@ -14,7 +14,7 @@
font: 'NewsCycle-Merriweather',
};
</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">
var embed_path = "/build/"
</script>

2
website/templates/_make.html

@ -233,7 +233,7 @@
<div class="span11">
<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>
<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>
<a href="#preview-embed" data-scroll="true" id="preview-embed-link" target="_blank" class="btn">Link to Preview</a></p>
</div>

8
website/templates/base.html

@ -26,9 +26,9 @@
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.
-->
<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 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">
<!-- Google Analytics: don't mess with this stuff -->
<!-- named tracker notes from https://developers.google.com/analytics/devguides/collection/gajs/ -->
@ -138,13 +138,13 @@
{% block scripts %}
<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 -->
<script type="text/javascript">
var generator_embed_path = "{{ generator_embed_path }}";
</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">
var generator_embed_path = "/source/embed/index.html";
</script>

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

@ -41,7 +41,7 @@
font: 'Bevan-PotanoSans'
}
</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">
var embed_path = "/build/"
</script>

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

@ -41,7 +41,7 @@
font: 'PT'
}
</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">
var embed_path = "/build/"
</script>

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

@ -41,7 +41,7 @@
font: 'Pacifico-Arimo'
}
</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">
var embed_path = "/build/"
</script>

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

@ -41,7 +41,7 @@
font: 'SansitaOne-Kameron'
}
</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">
var embed_path = "/build/"
</script>

Loading…
Cancel
Save