Fix Bug 8989 - Samba 3.5.x (and probably all other versions of Samba) does not send...
[Samba.git] / swat2 / esptest / registry.esp
blobefdfefc37ebd65465d9d0419222220c7fcf3d261
1 <%
2   page_header("columns", "ESP registry edit", "esptest"); 
3 %>
5 <script type="text/javascript" src="/scripting/client/encoder.js"></script>
6 <script type="text/javascript" src="/scripting/client/call.js"></script>
7 <script type="text/javascript" src="/scripting/client/regedit.js"></script>
9 <h1>Registry Editor</h1>
11 <script type="text/javascript">
13 /*** init the page for qooxdoo ***/
14 window.application.main = function()
16     var doc = this.getClientWindow().getDocument();
17     var inlineWidget = new QxInline;
18     var qwidget = new QxWidget;
19     qwidget.setHeight(800);
20     qwidget.setWidth("100%");
21     qwidget.setBorder(QxBorder.presets.groove);
23     var btn1 = new QxButton("Registry Editor");
24     btn1.set({ top: 20, left : 30 });
25     btn1.addEventListener("click", function() {
26             var regWindow = new QxWindow("Registry Editor");
27             with(regWindow) {
28                 setTop(50);
29                 setLeft(50);
30                 setMinWidth(600);
31                 setMinHeight(600);
32                 setResizeMethod("frame");
33             }
35             var regedit = regedit_widget("ncalrpc:");
36             regWindow.add(regedit);
37             qwidget.add(regWindow);
38             regWindow.setVisible(true);
40     });
41     qwidget.add(btn1);
42     inlineWidget.add(qwidget);
43     doc.add(inlineWidget, "canvas");
46 </script>
48 <div id="canvas" style="overflow:hidden;position:static;margin-top:38px;margin-left:10px;margin-right:700px;width:700px"></div>
50 <% page_footer(); %>