You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

6 years ago
<!--
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>