146 lines
5.0 KiB
HTML
146 lines
5.0 KiB
HTML
<!doctype html>
|
|
<!--
|
|
@license
|
|
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
Code distributed by Google as part of the polymer project is also
|
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
-->
|
|
|
|
<html lang="">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="generator" content="Polymer Starter Kit" />
|
|
<title>Bitmessage Broadcasts</title>
|
|
<!-- Place favicon.ico in the `app/` directory -->
|
|
|
|
<!-- Chrome for Android theme color -->
|
|
<meta name="theme-color" content="#2E3AA1">
|
|
|
|
<!-- Web Application Manifest -->
|
|
<link rel="manifest" href="manifest.json">
|
|
|
|
<!-- Tile color for Win8 -->
|
|
<meta name="msapplication-TileColor" content="#3372DF">
|
|
|
|
<!-- Add to homescreen for Chrome on Android -->
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="application-name" content="PSK">
|
|
<link rel="icon" sizes="192x192" href="images/touch/chrome-touch-icon-192x192.png">
|
|
|
|
<!-- Add to homescreen for Safari on iOS -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="Polymer Starter Kit">
|
|
<link rel="apple-touch-icon" href="images/touch/apple-touch-icon.png">
|
|
|
|
<!-- Tile icon for Win8 (144x144) -->
|
|
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
|
|
|
|
<!-- build:css styles/main.css -->
|
|
<link rel="stylesheet" href="styles/main.css">
|
|
<!-- endbuild-->
|
|
|
|
<!-- build:js bower_components/webcomponentsjs/webcomponents-lite.min.js -->
|
|
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
|
|
<!-- endbuild -->
|
|
|
|
<!-- will be replaced with elements/elements.vulcanized.html -->
|
|
<link rel="import" href="elements/elements.html">
|
|
<!-- endreplace-->
|
|
|
|
<!-- For shared styles, shared-styles.html import in elements.html -->
|
|
<style is="custom-style" include="shared-styles"></style>
|
|
|
|
</head>
|
|
|
|
<body unresolved class="fullbleed layout vertical">
|
|
<span id="browser-sync-binding"></span>
|
|
<template is="dom-bind" id="app">
|
|
|
|
<paper-drawer-panel id="paperDrawerPanel">
|
|
<!-- Drawer Scroll Header Panel -->
|
|
<paper-scroll-header-panel drawer fixed>
|
|
|
|
<!-- Drawer Toolbar -->
|
|
<paper-toolbar id="drawerToolbar">
|
|
<span class="paper-font-title">Menu</span>
|
|
</paper-toolbar>
|
|
|
|
<!-- Drawer Content -->
|
|
<paper-menu class="list" attr-for-selected="data-route" selected="[[route]]">
|
|
<a data-route="home" href="/" on-click="onDataRouteClick">
|
|
<iron-icon icon="home"></iron-icon>
|
|
<span>Home</span>
|
|
</a>
|
|
|
|
<iron-localstorage name="my-broadcasts"
|
|
value="{{broadcasts}}"
|
|
on-iron-localstorage-load-empty="initializeExamples"></iron-localstorage>
|
|
<template is="dom-repeat" items="{{broadcasts}}">
|
|
<a data-route="{{join('message-list/',index)}}" href="{{join('/read/',item.address)}}" on-click="onDataRouteClick">
|
|
<iron-icon icon="mail"></iron-icon>
|
|
<span>{{item.alias}}</span>
|
|
</a>
|
|
</template>
|
|
|
|
</paper-menu>
|
|
</paper-scroll-header-panel>
|
|
|
|
<!-- Main Area -->
|
|
<paper-scroll-header-panel main condenses keep-condensed-header>
|
|
|
|
<!-- Main Toolbar -->
|
|
<paper-toolbar id="mainToolbar" class="tall">
|
|
<paper-icon-button id="paperToggle" icon="menu" paper-drawer-toggle></paper-icon-button>
|
|
<span class="flex"></span>
|
|
|
|
<!-- Toolbar icons -->
|
|
<paper-icon-button icon="refresh"></paper-icon-button>
|
|
<paper-icon-button icon="search"></paper-icon-button>
|
|
|
|
<!-- Application name -->
|
|
<div class="middle middle-container center horizontal layout">
|
|
<div class="app-name">Bitmessage Broadcasts</div>
|
|
</div>
|
|
|
|
<!-- Application sub title -->
|
|
<div class="bottom bottom-container center horizontal layout">
|
|
<div class="bottom-title paper-font-subhead">Please don't abuse.</div>
|
|
</div>
|
|
|
|
</paper-toolbar>
|
|
|
|
<!-- Main Content -->
|
|
<div class="content">
|
|
<iron-pages attr-for-selected="data-route" selected="{{route}}">
|
|
|
|
<section data-route="home">
|
|
<paper-material elevation="1">
|
|
<h1>Welcome.</h1>
|
|
</paper-material>
|
|
</section>
|
|
|
|
<section data-route="message-list">
|
|
<message-list address="{{params.address}}"></message-list>
|
|
</section>
|
|
|
|
</iron-pages>
|
|
</div>
|
|
</paper-scroll-header-panel>
|
|
</paper-drawer-panel>
|
|
|
|
</template>
|
|
|
|
<!-- build:js scripts/app.js -->
|
|
<script src="scripts/app.js"></script>
|
|
<!-- endbuild-->
|
|
</body>
|
|
|
|
</html>
|