2014-08-23 07:05:22 +00:00
|
|
|
<link rel="import" href="../../../polymer/polymer.html">
|
2014-08-21 17:20:06 +00:00
|
|
|
<link rel="import" href="../gui-row/gui-row.html">
|
2014-08-15 02:21:45 +00:00
|
|
|
|
2014-08-15 16:32:49 +00:00
|
|
|
<polymer-element
|
|
|
|
name="gui-panel"
|
2014-08-23 07:05:22 +00:00
|
|
|
attributes="docked autoplace open">
|
2014-08-15 02:21:45 +00:00
|
|
|
|
|
|
|
<template>
|
|
|
|
|
2014-08-15 16:32:49 +00:00
|
|
|
<link rel="stylesheet" href="gui-panel.css">
|
2014-08-15 02:21:45 +00:00
|
|
|
|
2014-08-23 07:05:22 +00:00
|
|
|
<div id="container" class="docked-{{ docked }} autoplace-{{ autoPlace }} open-{{ open }}">
|
2014-08-24 06:03:17 +00:00
|
|
|
|
2014-08-23 07:05:22 +00:00
|
|
|
<div id="controllers">
|
|
|
|
<content></content>
|
|
|
|
</div>
|
2014-08-24 06:03:17 +00:00
|
|
|
|
2014-08-23 07:05:22 +00:00
|
|
|
<div id="closeButton" on-tap="{{ tapClose }}" hidden?="{{ docked }}">{{ open ? 'Close' : 'Open' }} Controls</div>
|
2014-08-24 06:03:17 +00:00
|
|
|
|
2014-08-24 07:11:26 +00:00
|
|
|
<div id="closeButtonDocked" on-tap="{{ tapClose }}" hidden?="{{ !docked }}">
|
|
|
|
<div id="closeButtonDockedInner"></div>
|
|
|
|
</div>
|
2014-08-24 06:03:17 +00:00
|
|
|
|
2014-08-15 02:21:45 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
2014-08-15 16:32:49 +00:00
|
|
|
<script src="gui-panel.js"></script>
|
2014-08-15 02:21:45 +00:00
|
|
|
|
|
|
|
</polymer-element>
|