Initial commit
This commit is contained in:
33
widgets/yr.html
Normal file
33
widgets/yr.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!--
|
||||
yunkong2.vis dwd Widget-Set
|
||||
|
||||
version: "2.0.0"
|
||||
|
||||
Copyright 2013-2018 bluefox<dogafox@gmail.com>
|
||||
-->
|
||||
<script type="text/javascript">
|
||||
vis.binds.yr = {
|
||||
version: "1.0.5",
|
||||
showVersion: function () {
|
||||
if (vis.binds.yr.version) {
|
||||
console.log('Version vis-canvas-gauges: ' + vis.binds.yr.version);
|
||||
vis.binds.yr.version = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
vis.binds.yr.showVersion();
|
||||
</script>
|
||||
|
||||
<script id="tplYrAdapter"
|
||||
type="text/ejs"
|
||||
class="vis-tpl"
|
||||
data-vis-set="yr"
|
||||
data-vis-name="yr.no Weather"
|
||||
data-vis-prev='<img src="widgets/yr/img/Prev_YrAdapter.png"></img>'
|
||||
data-vis-attrs="oid[yr.0.forecast.html]">
|
||||
<div class="vis-widget <%== this.data.attr('class') %>" style="padding: 3px; background-color:#ccc; font-family: Arial; width: 310px; height: 80px" id="<%= this.data.attr('wid') %>">
|
||||
<div class="vis-widget-body">
|
||||
<%== vis.states.attr(this.data.oid + '.val') %>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
BIN
widgets/yr/img/Prev_YrAdapter.png
Normal file
BIN
widgets/yr/img/Prev_YrAdapter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
Reference in New Issue
Block a user