blob: 1076bcbfc1eef2b02b881ea888ab27c869ab16d0 [file] [log] [blame]
Copyright 2016 The LUCI Authors. All rights reserved.
Use of this source code is governed under the Apache License, Version 2.0
that can be found in the LICENSE file.
<!-- Chrome for Android theme color -->
<meta name="theme-color" content="#2E3AA1">
<!-- Used for routing. Must import before require.js. -->
<script src="inc/bower_components/page/page.js"></script>
<!-- Setup Polymer -->
<script src="inc/bower_components/webcomponentsjs/webcomponents-lite.min.js">
<!-- Because this project uses vulcanize this should be your only html import
in this file. All other imports should go in elements.html -->
<link rel="import" href="elements/elements.html">
<link rel="stylesheet" href="styles/main.css">
<!-- For shared styles, shared-styles.html import in elements.html -->
<style is="custom-style" include="shared-styles"></style>
<body unresolved>
<span id="browser-sync-binding"></span>
<!-- Main application script -->
console.log("Setting up app.");
// Grab a reference to our auto-binding template
// and give it some initial binding values
// Learn more about auto-binding templates at
var app = document.querySelector('#app');
// Sets app default base URL.
app.baseUrl = window.location.pathname;
// Set up our default LogDog host. = window.location.hostname;
if ( === "localhost") {
// Running locally. Bind to our development instance. = "";