Mercurial > code > home > repos > light9
changeset 1219:b15a2d8ef1ab
add homepage
Ignore-this: 74a121dfce614bfd3a83eadc18e18efa
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Mon, 08 Jun 2015 02:26:14 +0000 |
parents | ab72450ef4b1 |
children | d5e99fee786d |
files | light9/web/index.html light9/web/style.css |
diffstat | 2 files changed, 53 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/light9/web/index.html Mon Jun 08 02:26:14 2015 +0000 @@ -0,0 +1,43 @@ +<!doctype html> +<html> + <head> + <title></title> + <meta charset="utf-8" /> + <link rel="stylesheet" href="/style.css"> + <link rel="import" href="/lib/polymer/polymer.html"> + </head> + <body> + <dom-module id="service-button"> + <template> + <a class="big" href="{{withSlash}}">{{name}}</a> + <button on-click="click">window</button> + </template> + </dom-module> + <script> + Polymer({ + is: "service-button", + properties: { + name: String, + withSlash: { type: String, computed: 'computeWithSlash(name)' }, + }, + computeWithSlash: function (name) { + return name + '/'; + }, + click: function() { + window.open(this.withSlash, '_blank', + 'scrollbars=1,resizable=1,titlebar=0,location=0'); + } + }); + </script> + + <h1>light9 home page</h1> + + <p><service-button name="rdfdb"></service-button></p> + <p><service-button name="effectEval"></service-button></p> + <p><service-button name="ascoltami"></service-button></p> + <p><service-button name="subComposer"></service-button></p> + <p><service-button name="subServer"></service-button></p> + <p><service-button name="picamserve"></service-button></p> + <p><service-button name="vidref"></service-button></p> + </body> +</html>
--- a/light9/web/style.css Mon Jun 08 02:09:39 2015 +0000 +++ b/light9/web/style.css Mon Jun 08 02:26:14 2015 +0000 @@ -158,7 +158,16 @@ a button { font-size: 60%; } - +a.big { + background-color: #384052; + padding: 9px; + text-shadow: rgba(0, 0, 0, 0.48) -1px -1px 0px; + color: rgb(172, 172, 255); + font-size: 160%; + margin: 0px; + display: inline-block; + border-radius: 5px; +} /* rdfdb */ #patches { /* wants flex box */