otsdaq_utilities  v2_02_00
widgetLibrary.js
1 //=====================================================================================
2 //
3 // Created Aug, 2016
4 // by Daniel Parilla ((parilla at fnal.gov))
5 //
6 // OtsConfigurationWizard.js
7 //
8 //
9 //
10 //
11 //
12 //
13 //=====================================================================================
14 var widgetLibrary = widgetLibrary || {};
15 widgetLibrary.typeToSrc = {"0" :"widgets/widget_text.html",
16  "1" :"widgets/widget_basicDisplay.html",
17  "2" :"widgets/widget_testHJones.html",
18  "3" :"widgets",
19  "4" :"widgets",
20  "5" :"widgets/thermometer.html",
21  "6" :"widgets",
22  "7" :"widgets",
23  "8" :"widgets",
24  "9" :"widgets",
25  "10":"widgets",
26  "11":"widgets",
27  "12":"widgets"
28  }
29 widgetLibrary.typeToImgSrc = {
30  "2" :"switch-icon.png",
31  "3" :"Alarm-clock-icon.png",
32  "4" :"digital-clock-icon.png",
33  "5" :"thermometer-icon.png"
34  }
35 widgetLibrary.typeToPurpose = {
36  "0" : "Plain Text",
37  "1" : "Basic Display",
38  "2" : "Hakeem's Widet",
39  "3" : "Clock",
40  "4" : "Clock",
41  "5" : "Temperature"
42  }
43 widgetLibrary.init = function()
44 {
45 
46 }