summaryrefslogtreecommitdiff
path: root/swat/esptest/registry.esp
blob: b65b5d1b24b2e29e89410cb78fd74cf56c1c0410 (plain)
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
31
32
33
34
35
36
37
38
39
<%
  page_header("columns", "ESP registry edit", "esptest"); 
%>

<script type="text/javascript" src="/scripting/client/encoder.js"></script>
<script type="text/javascript" src="/scripting/client/call.js"></script>
<script type="text/javascript" src="/scripting/client/regedit.js"></script>

<h1>Registry Editor</h1>

<script type="text/javascript">

/*** init the page for qooxdoo ***/
window.application.main = function()
{
    var doc = this.getClientWindow().getDocument();
    var inlineWidget = new QxInline;
    var qwidget = new QxWidget;
    qwidget.setHeight(800);
    qwidget.setWidth("100%");
    qwidget.setBorder(QxBorder.presets.groove);

    var btn1 = new QxButton("Registry Editor");
    btn1.set({ top: 20, left : 30 });
    btn1.addEventListener("click", function() {
	    var regedit = regedit_widget("ncalrpc:");
	    qwidget.add(regedit);
	    regedit.startup();
    });
    qwidget.add(btn1);
    inlineWidget.add(qwidget);
    doc.add(inlineWidget, "canvas");
}

</script>

<div id="canvas" style="overflow:hidden;position:static;margin-top:38px;margin-left:10px;margin-right:700px;width:700px"></div>

<% page_footer(); %>