source: oceandb/webapproot/pages/Main/Main.widgets.js @ 48

Last change on this file since 48 was 48, checked in by jazz, 15 years ago
  • Basic Layout of OID
File size: 2.7 KB
Line 
1Main.widgets = {
2  layoutBox1: ["wm.Layout", {box: "v", height: "1flex"}, {}, {
3    template1: ["wm.Template", {height: "96px"}, {}, {
4      header: ["wm.Panel", {_classes: {domNode: ["wm_Padding_8px", "wm_SilverBlueTheme_LightBlueInsetPanel"]}, box: "h", height: "78px", boxPosition: "topLeft"}, {}, {
5        panel4: ["wm.Panel", {box: "v", width: "1flex"}, {}, {
6          chineseheader: ["wm.Label", {_classes: {domNode: ["wm_FontFamily_Verdana", "wm_FontSize_300percent"]}, caption: "台灣海洋資訊資料庫聯盟網", link: "http://oceandb.info", height: "48px"}, {}, {
7            format: ["wm.DataFormatter", {}, {}]
8          }],
9          englishheader: ["wm.Label", {_classes: {domNode: ["wm_FontFamily_Verdana", "wm_FontSize_150percent", "wm_TextDecoration_Bold", "wm_TextDecoration_Underline", "wm_FontColor_LightGray"]}, caption: "Taiwan Ocean Informatioan Database", height: "16px"}, {}, {
10            format: ["wm.DataFormatter", {}, {}]
11          }]
12        }],
13        logo: ["wm.Picture", {source: "http://www.tori.narl.org.tw/images/tori_logo.png", aspect: "v", link: "http://www.tori.narl.org.tw", autoSize: true}, {}]
14      }]
15    }],
16    template2: ["wm.Template", {height: "1flex"}, {}, {
17      toolbar: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_ToolBar"]}, box: "h", height: "26px"}, {}, {
18        home: ["wm.Button", {_classes: {domNode: ["wm_TextDecoration_Bold", "wm_FontSize_120percent", "wm_FontFamily_Verdana", "wm_TextAlign_Center"]}, width: "63px", caption: "HOME"}, {}],
19        spacer1: ["wm.Spacer", {width: "10px"}, {}],
20        news: ["wm.Button", {_classes: {domNode: ["wm_FontFamily_Verdana", "wm_FontSize_120percent", "wm_TextDecoration_Bold", "wm_TextAlign_Center"]}, width: "62px", caption: "NEWS"}, {}],
21        spacer2: ["wm.Spacer", {width: "10px"}, {}],
22        about: ["wm.Button", {_classes: {domNode: ["wm_TextAlign_Center", "wm_TextDecoration_Bold", "wm_FontSize_120percent", "wm_FontFamily_Verdana"]}, width: "69px", caption: "ABOUT"}, {}]
23      }],
24      main: ["wm.Panel", {box: "h", height: "1flex"}, {}, {
25        menu: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_LightBlueInsetPanel"]}, box: "v", width: "246px"}, {}],
26        splitter1: ["wm.Splitter", {width: "6px"}, {}],
27        map: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_MainInsetPanel"]}, box: "v", width: "1flex"}, {}]
28      }]
29    }],
30    template3: ["wm.Template", {height: "29px"}, {}, {
31      footer: ["wm.Panel", {_classes: {domNode: ["wm_SilverBlueTheme_LightBlueInsetPanel"]}, box: "h", height: "20px", boxPosition: "center"}, {}, {
32        footerLabel: ["wm.Label", {_classes: {domNode: ["wm_FontColor_Blue", "wm_TextDecoration_Bold", "wm_FontSize_120percent", "wm_FontFamily_Verdana"]}, caption: "Copyright 2008 TORI & NCHC, NARL, Taiwan", width: "315px", height: "", autoSize: true}, {}, {
33          format: ["wm.DataFormatter", {}, {}]
34        }]
35      }]
36    }]
37  }]
38}
Note: See TracBrowser for help on using the repository browser.