Changeset - b15a2d8ef1ab
[Not reviewed]
default
0 1 1
Drew Perttula - 10 years ago 2015-06-08 02:26:14
drewp@bigasterisk.com
add homepage
Ignore-this: 74a121dfce614bfd3a83eadc18e18efa
2 files changed with 53 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/web/index.html
Show inline comments
 
new file 100644
 
<!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>
light9/web/style.css
Show inline comments
 
@@ -158,7 +158,16 @@ a.resource {
 
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 */
0 comments (0 inline, 0 general)