├── .eslintignore
├── .dockerignore
├── .gitignore
├── server
├── views
│ ├── index.handlebars
│ ├── url-1.handlebars
│ ├── url-2.handlebars
│ ├── layouts
│ │ ├── default.handlebars
│ │ └── app-shell.handlebars
│ └── partials
│ │ ├── close-page.handlebars
│ │ ├── async-css.handlebars
│ │ └── open-page.handlebars
├── controllers
│ ├── static-page-controller.js
│ ├── api-controller.js
│ └── server-controller.js
└── models
│ └── path-config.js
├── src
├── favicon.ico
├── images
│ ├── icon-128x128.png
│ ├── side-nav-bg@2x.jpg
│ ├── apple-touch-icon.png
│ ├── chrome-touch-icon-192x192.png
│ ├── chrome-splashscreen-icon-384x384.png
│ ├── ms-touch-icon-144x144-precomposed.png
│ ├── ic_add_24px.svg
│ ├── ic_menu_24px.svg
│ └── ic_info_outline_24px.svg
├── scripts
│ ├── core.es6.js
│ ├── static-page.es6.js
│ ├── controller
│ │ ├── StaticPageController.js
│ │ ├── ApplicationController.js
│ │ ├── Controller.js
│ │ └── PageController.js
│ ├── libs
│ │ ├── ToasterSingleton.js
│ │ └── RouterSingleton.js
│ └── view
│ │ └── NavDrawerView.js
├── styles
│ ├── core
│ │ ├── _colors.scss
│ │ ├── _card.scss
│ │ ├── _toast.scss
│ │ ├── _z-index.scss
│ │ ├── _loader.scss
│ │ ├── _main.scss
│ │ ├── _dialog.scss
│ │ ├── _header.scss
│ │ ├── _side-nav.scss
│ │ └── _core.scss
│ └── core.scss
├── manifest.json
├── third_party
│ └── serviceworker-cache-polyfill.es5.js
└── old-sw.es6.js
├── gulp-tasks
├── nodemon.js
├── clean.js
├── bump.js
├── html.js
├── copy.js
├── images.js
├── watch.js
├── service-worker.js
├── styles.js
└── scripts.js
├── app.js
├── CONTRIBUTING.md
├── package.json
├── .eslintrc
├── app.yaml
├── gulpfile.js
├── Dockerfile
├── README.md
└── LICENSE
/.eslintignore:
--------------------------------------------------------------------------------
1 | src/third_party
2 |
--------------------------------------------------------------------------------
/.dockerignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .dockerignore
3 | Dockerfile
4 | .git
5 | .hg
6 | .svn
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 | *.pyc
4 | dist
5 | tests
6 | npm-debug.log
7 |
--------------------------------------------------------------------------------
/server/views/index.handlebars:
--------------------------------------------------------------------------------
1 |
2 |
Index
3 |
4 |
--------------------------------------------------------------------------------
/server/views/url-1.handlebars:
--------------------------------------------------------------------------------
1 |
2 |
URL 1
3 |
4 |
--------------------------------------------------------------------------------
/server/views/url-2.handlebars:
--------------------------------------------------------------------------------
1 |
2 |
URL 2
3 |
4 |
--------------------------------------------------------------------------------
/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/favicon.ico
--------------------------------------------------------------------------------
/src/images/icon-128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/images/icon-128x128.png
--------------------------------------------------------------------------------
/src/images/side-nav-bg@2x.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/images/side-nav-bg@2x.jpg
--------------------------------------------------------------------------------
/src/images/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/images/apple-touch-icon.png
--------------------------------------------------------------------------------
/src/images/chrome-touch-icon-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/images/chrome-touch-icon-192x192.png
--------------------------------------------------------------------------------
/src/images/chrome-splashscreen-icon-384x384.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/images/chrome-splashscreen-icon-384x384.png
--------------------------------------------------------------------------------
/src/images/ms-touch-icon-144x144-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/download/application-shell/master/src/images/ms-touch-icon-144x144-precomposed.png
--------------------------------------------------------------------------------
/server/views/layouts/default.handlebars:
--------------------------------------------------------------------------------
1 | {{> open-page}}
2 |
3 | {{{body}}}
4 |
5 | {{> close-page}}
6 |
--------------------------------------------------------------------------------
/src/images/ic_add_24px.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/images/ic_menu_24px.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/gulp-tasks/nodemon.js:
--------------------------------------------------------------------------------
1 | var gulp = require('gulp');
2 | var nodemon = require('gulp-nodemon');
3 | var env = require('gulp-env');
4 |
5 | gulp.task('nodemon', function() {
6 | env({
7 | vars: {
8 | PORT: GLOBAL.config.port
9 | }
10 | });
11 |
12 | return nodemon({
13 | script: 'app.js'
14 | });
15 | });
16 |
--------------------------------------------------------------------------------
/src/images/ic_info_outline_24px.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/server/views/layouts/app-shell.handlebars:
--------------------------------------------------------------------------------
1 | {{> open-page}}
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | {{> close-page}}
16 |
--------------------------------------------------------------------------------
/src/scripts/core.es6.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright 2015 Google Inc. All rights reserved.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | *
16 | */
17 |
18 | import ApplicationController from './controller/ApplicationController';
19 |
20 | new ApplicationController();
21 |
--------------------------------------------------------------------------------
/src/scripts/static-page.es6.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright 2015 Google Inc. All rights reserved.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | *
16 | */
17 |
18 | import StaticPageController from './controller/StaticPageController';
19 |
20 | new StaticPageController();
21 |
--------------------------------------------------------------------------------
/server/views/partials/close-page.handlebars:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
Index
9 |
URL 1
10 |
URL 2
11 |
12 |
13 |
Version @VERSION@
14 |
15 |
16 |
17 |
18 |
19 | {{> async-css }}
20 |
21 | {{#each data.remoteScripts}}
22 |
23 | {{~/each}}
24 |