2014-08-23 07:05:22 +00:00
|
|
|
<link rel="import" href="../../../polymer/polymer.html">
|
2014-08-15 02:21:45 +00:00
|
|
|
|
2014-08-16 21:16:02 +00:00
|
|
|
<polymer-element name="gui-row" attributes="name comment">
|
2014-08-15 02:21:45 +00:00
|
|
|
|
|
|
|
<template>
|
|
|
|
|
2014-08-16 21:16:02 +00:00
|
|
|
<div>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="gui-row.css">
|
|
|
|
|
|
|
|
<div id="row" class="comment-{{ comment != null }}" layout horizontal center>
|
|
|
|
|
|
|
|
<div
|
|
|
|
id="name"
|
|
|
|
on-mouseover="{{ openComment }}"
|
|
|
|
on-mouseout="{{ closeComment }}"
|
|
|
|
>
|
|
|
|
<div id="nameInner">{{ name }}</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="controller" flex>
|
|
|
|
<content></content>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2014-08-21 17:20:06 +00:00
|
|
|
<div id="comment" class="open-{{ commentOpen }}" hidden?="{{ comment == null }}">
|
2014-08-16 21:16:02 +00:00
|
|
|
|
|
|
|
<div id="commentInner">{{ comment }}</div>
|
2014-08-15 02:21:45 +00:00
|
|
|
|
|
|
|
</div>
|
2014-08-16 21:16:02 +00:00
|
|
|
|
2014-08-15 02:21:45 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
2014-08-16 21:16:02 +00:00
|
|
|
|
2014-08-15 02:21:45 +00:00
|
|
|
</div>
|
|
|
|
|
2014-08-15 16:32:49 +00:00
|
|
|
<script src="gui-row.js"></script>
|
2014-08-15 02:21:45 +00:00
|
|
|
|
|
|
|
</polymer-element>
|