1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
+ < html >
3
+ < head >
4
+ < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 "/>
5
+ < title > WireIt - XProc Editor</ title >
6
+ < link rel ="icon " href ="../favicon.ico " type ="image/png " />
7
+ < link rel ="SHORTCUT ICON " href ="../favicon.ico " type ="image/png " />
8
+
9
+ <!-- YUI -->
10
+ < link rel ="stylesheet " type ="text/css " href ="../../lib/yui/reset-fonts-grids/reset-fonts-grids.css " />
11
+ < link rel ="stylesheet " type ="text/css " href ="../../lib/yui/assets/skins/sam/skin.css " />
12
+
13
+ <!-- InputEx CSS -->
14
+ < link type ='text/css ' rel ='stylesheet ' href ='../../lib/inputex/css/inputEx.css ' />
15
+
16
+ <!-- WireIt CSS -->
17
+ < link rel ="stylesheet " type ="text/css " href ="../../css/WireIt.css " />
18
+ < link rel ="stylesheet " type ="text/css " href ="../../css/WireItEditor.css " />
19
+
20
+ < style >
21
+ div .WireIt-Container {
22
+ width : 270px ; /* Prevent the modules from scratching on the right */
23
+ }
24
+ div .WireIt-InputExTerminal {
25
+ float : left;
26
+ width : 21px ;
27
+ height : 21px ;
28
+ position : relative;
29
+ }
30
+ div .WireIt-InputExTerminal div .WireIt-Terminal {
31
+ top : -3px ;
32
+ left : -7px ;
33
+ }
34
+ div .inputEx-Group div .inputEx-label {
35
+ width : 100px ;
36
+ }
37
+
38
+ div .WireIt-ImageContainer {
39
+ width : auto;
40
+ }
41
+
42
+ .WiringEditor-module span {
43
+ position : relative;
44
+ top : -3px ;
45
+ }
46
+
47
+ div .WiringEditor-module-escape-markup {
48
+ width : 340px ;
49
+ }
50
+
51
+ </ style >
52
+
53
+
54
+ <!-- YUI -->
55
+ < script type ="text/javascript " src ="../../lib/yui/utilities/utilities.js "> </ script >
56
+ < script type ="text/javascript " src ="../../lib/yui/resize/resize-min.js "> </ script >
57
+ < script type ="text/javascript " src ="../../lib/yui/layout/layout-min.js "> </ script >
58
+ < script type ="text/javascript " src ="../../lib/yui/container/container-min.js "> </ script >
59
+ < script type ="text/javascript " src ="../../lib/yui/json/json-min.js "> </ script >
60
+ < script type ="text/javascript " src ="../../lib/yui/button/button-min.js "> </ script >
61
+
62
+ <!-- YUI-RPC -->
63
+ < script type ="text/javascript " src ="../../lib/yui-rpc.js "> </ script >
64
+
65
+ <!-- InputEx with wirable options (WirableField-beta) -->
66
+ < script src ="../../lib/inputex/js/inputex.js " type ='text/javascript '> </ script >
67
+ < script src ="../../lib/inputex/js/Field.js " type ='text/javascript '> </ script >
68
+ < script type ="text/javascript " src ="../../js/util/inputex/WirableField-beta.js "> </ script >
69
+ < script src ="../../lib/inputex/js/Group.js " type ='text/javascript '> </ script >
70
+ < script src ="../../lib/inputex/js/Visus.js " type ='text/javascript '> </ script >
71
+ < script src ="../../lib/inputex/js/fields/StringField.js " type ='text/javascript '> </ script >
72
+ < script src ="../../lib/inputex/js/fields/IntegerField.js " type ='text/javascript '> </ script >
73
+ < script src ="../../lib/inputex/js/fields/Textarea.js " type ='text/javascript '> </ script >
74
+ < script src ="../../lib/inputex/js/fields/SelectField.js " type ='text/javascript '> </ script >
75
+ < script src ="../../lib/inputex/js/fields/EmailField.js " type ='text/javascript '> </ script >
76
+ < script src ="../../lib/inputex/js/fields/UrlField.js " type ='text/javascript '> </ script >
77
+ < script src ="../../lib/inputex/js/fields/ListField.js " type ='text/javascript '> </ script >
78
+ < script src ="../../lib/inputex/js/fields/CheckBox.js " type ='text/javascript '> </ script >
79
+ < script src ="../../lib/inputex/js/fields/InPlaceEdit.js " type ='text/javascript '> </ script >
80
+
81
+
82
+ <!-- WireIt -->
83
+ <!--[if IE]><script type="text/javascript" src="../../lib/excanvas.js"></script><![endif]-->
84
+ < script type ="text/javascript " src ="../../js/WireIt.js "> </ script >
85
+ < script type ="text/javascript " src ="../../js/CanvasElement.js "> </ script >
86
+ < script type ="text/javascript " src ="../../js/Wire.js "> </ script >
87
+ < script type ="text/javascript " src ="../../js/Terminal.js "> </ script >
88
+ < script type ="text/javascript " src ="../../js/util/DD.js "> </ script >
89
+ < script type ="text/javascript " src ="../../js/util/DDResize.js "> </ script >
90
+ < script type ="text/javascript " src ="../../js/Container.js "> </ script >
91
+ < script type ="text/javascript " src ="../../js/Layer.js "> </ script >
92
+ < script type ="text/javascript " src ="../../js/util/inputex/FormContainer-beta.js "> </ script >
93
+ < script type ="text/javascript " src ="../../js/LayerMap.js "> </ script >
94
+ < script type ="text/javascript " src ="../../js/WiringEditor.js "> </ script >
95
+ < script type ="text/javascript " src ="../../js/ImageContainer.js "> </ script >
96
+
97
+ < script type ="text/javascript " src ="xproc-language.js "> </ script >
98
+
99
+ < script >
100
+
101
+ // InputEx needs a correct path to this image
102
+ inputEx . spacerUrl = "/inputex/trunk/images/space.gif" ;
103
+
104
+ YAHOO . util . Event . onDOMReady ( function ( ) {
105
+ var editor = new WireIt . WiringEditor ( xprocLanguage ) ;
106
+ } ) ;
107
+ </ script >
108
+
109
+ </ head >
110
+
111
+ < body class ="yui-skin-sam ">
112
+
113
+ < div id ="top ">
114
+ < div class ="logo "> XProc</ a > </ div >
115
+ < div id ="toolbar "> </ div >
116
+ < div class ="topright ">
117
+ < span > Hello there !</ span > |
118
+ < a href ="../.. "> back to WireIt</ a >
119
+ </ div >
120
+ </ div >
121
+
122
+
123
+ < div id ="left ">
124
+ </ div >
125
+
126
+ < div id ="right ">
127
+ < h2 > Properties</ h2 >
128
+ < div id ="propertiesForm "> </ div >
129
+ < h2 > Minimap</ h2 >
130
+ < div id ="layerMap "> </ div >
131
+ </ div >
132
+
133
+ < div id ="center ">
134
+ </ div >
135
+
136
+
137
+ < div id ="helpPanel ">
138
+ < div class ="hd "> Welcome to the XProc Editor</ div >
139
+ < div class ="bd " style ="text-align: left; ">
140
+
141
+ < p > This example shows how to use the < i > ImageContainer</ i > and < i > FormContainer</ i > in a language definition.</ p >
142
+ < br />
143
+ < p > < b > Drag and drop modules from the Module list</ b > on the left to the working layer in the middle.</ p >
144
+ < br />
145
+ < p > < a href ="demo.js " target ="_new "> Click here to view the language definition for this editor.</ a > </ p >
146
+
147
+ </ div >
148
+ </ div >
149
+
150
+ </ body >
151
+ </ html >
0 commit comments