Done on Linux (Ubuntu tested)
cd $HOME
virtualenv --python=/usr/bin/python2.7 pgadmin4
source pgadmin4/bin/activate
| /** | |
| * Playing with background-attachment | |
| */ | |
| pre { | |
| max-height: 150px; | |
| border: 1px solid silver; | |
| overflow: auto; | |
| background: url('http://placekitten.com/200/200'); | |
| color: white; |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| <style> | |
| * { | |
| outline-color: inherit; | |
| } |
| <template> | |
| <require from="./registration-form"></require> | |
| <registration-form></registration-form> | |
| </template> |
| <template> | |
| <require from="./outer"></require> | |
| <require from="./inner"></require> | |
| <h1>${message}</h1> | |
| <outer><inner></inner></outer> | |
| </template> |
| <template> | |
| <form submit.delegate="submit()"> | |
| <div class="form-group"> | |
| <label class="control-label" for="email">Email</label> | |
| <input type="text" class="form-control" id="email" placeholder="Email" | |
| value.bind="model[field] & validate:rules"> | |
| </div> | |
| <button type="submit" class="btn btn-primary">Submit</button> | |
| </form> |
| <template> | |
| <require from="./registration-form"></require> | |
| <registration-form></registration-form> | |
| </template> |
| <template> | |
| <style> | |
| .active { | |
| font-weight: bold; | |
| } | |
| </style> | |
| <ul> | |
| <li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}"> | |
| <a href.bind="row.href">${row.title}</a> | |
| </li> |
| <template> | |
| <require from="tbind.js"></require> | |
| <h1>${message}</h1> | |
| <h2>${prop}</h2> | |
| <div>${'val1' & t}</div> | |
| <div>${'val1' & t}</div> | |
| <div>${'val1' & t}</div> | |
| <hr/> | |
| <div> | |
| <compose containerless view.bind="'custom-view.html'"></compose> |
| <template> | |
| <div if.bind="showApp" ref="theelement"> | |
| This is the element. | |
| </div> | |
| <button click.delegate="showApp = !showApp">Toggle</button> | |
| ${theelement} | |
| </template> |