-
Notifications
You must be signed in to change notification settings - Fork 0
/
vip.xml
30 lines (30 loc) · 1.37 KB
/
vip.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="ViP2" description="Visual Planner for Google Calendar" author="David Hyman">
<Require feature="google.calendar-0.5.read"/>
<Require feature="views"/>
<Require feature="settitle"/>
<Require feature="setprefs"/>
<Require feature="dynamic-height"/>
</ModulePrefs>
<UserPref name="show_single_col" datatype="bool" default_value="false"/>
<Content type="html">
<![CDATA[
<center>
<button type="button" title="Multi-column View" onclick="gadgets.views.requestNavigateTo('canvas', {content : 'multi_col'});"><b>||||</b></button>
<button type="button" title="Single-column View" onclick="toggle_single_col();"><b>|</b></button>
<button type="button" title="Settings" onclick="gadgets.views.requestNavigateTo('canvas', {content : 'settings'});"><b>*</b></button>
</center>
<div id="vip"></div>
<script type="application/javascript" src="https://rawgit.com/davidhyman/visual-planner/master/vip.js"></script>
<script type="text/javascript">gadgets.util.registerOnLoadHandler(init_view("panel"));</script>
]]>
</Content>
<Content type="html" view="canvas">
<![CDATA[
<div id="vip"></div>
<script type="application/javascript" src="https://rawgit.com/davidhyman/visual-planner/master/vip.js"></script>
<script type="text/javascript">gadgets.util.registerOnLoadHandler(init_view("canvas"));</script>
]]>
</Content>
</Module>