├── images ├── .gitignore └── splash.svg ├── .bowerrc ├── .gitignore ├── favicon.ico ├── icons ├── Icon-72.png ├── Ipad@2x.png ├── icon-196.png ├── quizapp.png └── iPhone@2x.png ├── deploy.sh ├── polyfills └── fonts │ ├── RobotoDraft-Black.woff │ ├── RobotoDraft-Bold.woff │ ├── RobotoDraft-Bold.woff2 │ ├── RobotoDraft-Light.woff │ ├── RobotoDraft-Thin.woff │ ├── RobotoDraft-Thin.woff2 │ ├── RobotoDraft-Black.woff2 │ ├── RobotoDraft-Italic.woff │ ├── RobotoDraft-Italic.woff2 │ ├── RobotoDraft-Light.woff2 │ ├── RobotoDraft-Medium.woff │ ├── RobotoDraft-Medium.woff2 │ ├── RobotoDraft-Regular.woff │ ├── RobotoDraft-Regular.woff2 │ ├── RobotoDraft-BoldItalic.woff │ ├── RobotoDraft-BoldItalic.woff2 │ ├── roboto.html │ └── fonts.css ├── bower.json ├── package.json ├── README.md ├── app.yaml ├── theme.css ├── leaderboard.html ├── index.html └── sw.js /images/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "components" 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .d8_history 3 | components/* 4 | node_modules 5 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/favicon.ico -------------------------------------------------------------------------------- /icons/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/icons/Icon-72.png -------------------------------------------------------------------------------- /icons/Ipad@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/icons/Ipad@2x.png -------------------------------------------------------------------------------- /icons/icon-196.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/icons/icon-196.png -------------------------------------------------------------------------------- /icons/quizapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/icons/quizapp.png -------------------------------------------------------------------------------- /icons/iPhone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/icons/iPhone@2x.png -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- 1 | ./node_modules/vulcanize/bin/vulcanize -o build.html index.html --strip --inline --csp 2 | appcfg.py update . --oauth2 3 | -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Black.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Black.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Bold.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Bold.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Light.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Thin.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Thin.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Black.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Black.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Italic.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Italic.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Light.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Medium.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Medium.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Regular.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-Regular.woff2 -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-BoldItalic.woff -------------------------------------------------------------------------------- /polyfills/fonts/RobotoDraft-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlearchive/topeka/HEAD/polyfills/fonts/RobotoDraft-BoldItalic.woff2 -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topeka", 3 | "version": "0.0.0", 4 | "homepage": "https://github.com/Polymer/topeka", 5 | "authors": [], 6 | "description": "", 7 | "license": "BSD", 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "components", 13 | "test", 14 | "tests" 15 | ], 16 | "dependencies": { 17 | "topeka-elements": "Polymer/topeka-elements#^0.5.0" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topeka", 3 | "version": "0.5.0", 4 | "description": "Topeka Quiz app", 5 | "homepage": "https://polymer-topeka.appspot.com/", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://github.com/Polymer/topeka" 9 | }, 10 | "author": "The Polymer Project Authors", 11 | "license": "https://polymer.github.io/LICENSE.txt", 12 | "bugs": { 13 | "url": "https://github.com/Polymer/topeka/issues" 14 | }, 15 | "devDependencies": { 16 | "crisper": "^1.0.4", 17 | "vulcanize": "^0.7.10" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /polyfills/fonts/roboto.html: -------------------------------------------------------------------------------- 1 | 9 | 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Topeka 2 | ------ 3 | 4 | There are 2 ways to get your dependencies up-and-running: 5 | 6 | ### Direct Git: 7 | 8 | This is the best way to not be broken. The Polymer team doesn't use bower in day-to-day development and so Topeka might be broken more frequently if you use the Bower-based workflow. 9 | 10 | 1. Checkout topeka 11 | 2. Do the following: 12 | 13 | mkdir components 14 | cd components 15 | git clone https://github.com/Polymer/tools.git 16 | cd .. 17 | ./components/tools/bin/pull-all.sh #get a copy of all of Polymer 18 | 19 | ### Bower 20 | 21 | 1. Checkout topeka 22 | 1. Make sure you have `npm` and `bower` [installed](http://bower.io/) installed. 23 | 1. `cd topeka` and `bower install` 24 | 25 | ### Deploying the project 26 | 27 | - `./deploy.sh` 28 | - profit! 29 | -------------------------------------------------------------------------------- /app.yaml: -------------------------------------------------------------------------------- 1 | application: polymer-topeka 2 | version: 1 3 | runtime: python27 4 | api_version: 1 5 | threadsafe: yes 6 | 7 | handlers: 8 | - url: / 9 | static_files: build.html 10 | upload: build.html 11 | 12 | - url: /build.js 13 | static_files: build.js 14 | upload: build.js 15 | 16 | - url: /leaderboard.html 17 | static_files: leaderboard.html 18 | upload: leaderboard.html 19 | 20 | - url: /sw.js 21 | static_files: sw.js 22 | upload: sw.js 23 | 24 | - url: /theme.css 25 | static_files: theme.css 26 | upload: theme.css 27 | 28 | - url: /favicon.ico 29 | static_files: theme.css 30 | upload: theme.css 31 | 32 | - url: /components/(.*) 33 | static_files: components/\1 34 | upload: components/.* 35 | 36 | - url: /images/(.*) 37 | static_files: images/\1 38 | upload: images/.* 39 | 40 | - url: /icons/(.*) 41 | static_files: icons/\1 42 | upload: icons/.* 43 | 44 | - url: /polyfills/(.*) 45 | static_files: polyfills/\1 46 | upload: polyfills/.* 47 | 48 | skip_files: 49 | - ^(.*/)?node_modules/.* 50 | -------------------------------------------------------------------------------- /theme.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 6 | Code distributed by Google as part of the polymer project is also 7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 8 | */ 9 | 10 | html, body { 11 | height: 100%; 12 | -webkit-tap-highlight-color: rgba(0,0,0,0); 13 | } 14 | 15 | body { 16 | margin: 0; 17 | background-color: #eee; 18 | background-repeat: no-repeat; 19 | background-position: 50%; 20 | background-image: url(images/splash.svg); 21 | font-family: "RobotoDraft", sans-serif; 22 | color: #444; 23 | fill: #444; 24 | font-weight: 400; 25 | } 26 | 27 | @media screen and (min-width: 900px) { 28 | body { 29 | background-size: 512px; 30 | } 31 | } 32 | 33 | topeka-app { 34 | min-height: 450px; 35 | overflow: hidden; 36 | } 37 | -------------------------------------------------------------------------------- /leaderboard.html: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 |
12 |