Commit 0ddf58bc7b5db65046500fb7954472f84ebabb4a

Authored by Steve MARECHAL
1 parent 34dee64b

webmail

Showing 1 changed file with 39 additions and 0 deletions   Show diff stats
calexium_lib/web/CXM_dojo.anubis
@@ -122,3 +122,42 @@ public define HTML_Off_Form @@ -122,3 +122,42 @@ public define HTML_Off_Form
122 //actioner(same, same, push_button([id("dojo_tip_" + keyword), class("in"), event(onclick,"new_search(this)")], keyword), "", [], []). 122 //actioner(same, same, push_button([id("dojo_tip_" + keyword), class("in"), event(onclick,"new_search(this)")], keyword), "", [], []).
123 123
124 124
  125 +public define HTML_Off_Form
  126 + dojo_ContentPane
  127 + (
  128 + String id,
  129 + String region,
  130 + HTML_Off_Form content
  131 + ) =
  132 + sequence([
  133 + literal("<div id=\""+id+"\" dojoType=\"dijit.layout.ContentPane\" region=\""+region+"\" minSize=\"20\" splitter=\"true\">"),
  134 + content,
  135 + literal("</div>")
  136 + ]).
  137 +
  138 +public define HTML_Off_Form
  139 + dojo_TabContainer
  140 + (
  141 + String id,
  142 + String region,
  143 + HTML_Off_Form content
  144 + ) =
  145 + sequence([
  146 + literal("<div id=\""+id+"\" dojoType=\"dijit.layout.TabContainer\" region=\""+region+"\">"),
  147 + content,
  148 + literal("</div>")
  149 + ]).
  150 +
  151 +public define HTML_Off_Form
  152 + dojo_BorderContainer
  153 + (
  154 + String id,
  155 + HTML_Off_Form content
  156 + ) =
  157 + sequence([
  158 + literal("<div id=\""+id+"\" dojoType=\"dijit.layout.BorderContainer\" title=\"Inbox\" design=\"sidebar\">"),
  159 + content,
  160 + literal("</div>")
  161 + ]).
  162 +>
  163 +