Rev 16634 | Rev 16654 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16634 | Rev 16650 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | !header |
29 | !header |
30 | !if $compute=yes |
30 | !if $compute=yes |
31 | !if $swout=$empty |
31 | !if $swout=$empty |
32 | <span class="wims_warning">$SW</span> $name_non_execute. |
32 | <span class="wims_warning">$SW</span> $name_non_execute. |
33 | !else |
33 | !else |
34 | < |
34 | <h2 class="center">$SW</h2> |
35 | !if $sw=draw |
35 | !if $sw=draw |
36 | <img src="$swout" alt="" /> |
36 | <img src="$swout" alt="" /> |
37 | !goto after |
37 | !goto after |
38 | !endif |
38 | !endif |
39 | !if $sw=povray |
39 | !if $sw=povray |
Line 49... | Line 49... | ||
49 | $swout |
49 | $swout |
50 | !goto after |
50 | !goto after |
51 | !endif |
51 | !endif |
52 | !if $sw=jsxgraph |
52 | !if $sw=jsxgraph |
53 | <div id="jsxbox" class="box" style="width:400px; height:400px;text-align:center;"></div> |
53 | <div id="jsxbox" class="box" style="width:400px; height:400px;text-align:center;"></div> |
54 | <script> |
- | |
55 | $swout |
- | |
56 | </script> |
54 | <script>$swout</script> |
57 | !goto after |
55 | !goto after |
58 | !endif |
56 | !endif |
59 | !if $sw=insmath |
57 | !if $sw=insmath |
60 | MathML: $swout |
58 | MathML: $swout |
61 | Image: |
59 | Image: |
62 | !instex $src1 |
60 | !instex $src1 |
63 | !goto after |
61 | !goto after |
64 | !endif |
62 | !endif |
65 | !if $sw=canvasdraw |
63 | !if $sw=canvasdraw |
66 | $swout |
64 | $swout |
67 | !read script_canvasdraw |
65 | !read script_canvasdraw |
68 | !goto after |
66 | !goto after |
69 | !endif |
67 | !endif |
70 | !if $sw=jmol |
68 | !if $sw=jmol |
71 | !set swout1=!lines2rows $swout |
69 | !set swout1=!lines2rows $swout |
72 | !readproc slib/chemistry/jmolshow $swout1,200,200,white,, |
70 | !readproc slib/chemistry/jmolshow $swout1,200,200,white,, |
73 | $slib_out |
71 | $slib_out |
74 | !goto after |
72 | !goto after |
Line 79... | Line 77... | ||
79 | $slib_out |
77 | $slib_out |
80 | !goto after |
78 | !goto after |
81 | !endif |
79 | !endif |
82 | !if $sw=reactiondraw |
80 | !if $sw=reactiondraw |
83 | !readproc slib/chemistry/reactiondraw $swout,html |
81 | !readproc slib/chemistry/reactiondraw $swout,html |
84 | $slib_out |
82 | <div style="overflow-x:auto">$slib_out</div> |
85 | !goto after |
83 | !goto after |
86 | !endif |
84 | !endif |
87 | !!! no space at the beginning of the line |
85 | !!! no space at the beginning of the line |
88 | <pre style="font-weight:bold;font-family:Courier New,Courier,mono;overflow:auto;color:blue;"> |
86 | <pre style="font-weight:bold;font-family:Courier New,Courier,mono;overflow:auto;color:blue;"> |
89 | $swout |
87 | $swout |
Line 99... | Line 97... | ||
99 | $name_msg <em>$SW</em> : |
97 | $name_msg <em>$SW</em> : |
100 | <pre style="color:red;font-size:80%"> |
98 | <pre style="color:red;font-size:80%"> |
101 | $msg |
99 | $msg |
102 | </pre> |
100 | </pre> |
103 | !endif |
101 | !endif |
- | 102 | ||
104 | !form reply |
103 | !form reply |
105 | <input type="submit" value="$name_execute" /> |
- | |
106 | - | ||
107 | !default sw=sh |
104 | !default sw=sh |
- | 105 | <div class="field"> |
|
108 | !set wims_formselect_switch=onchange='submit()' |
106 | !set wims_formselect_switch=onchange='submit()' |
- | 107 | <label for="sw">$name_execute_by</label> |
|
109 | !formselect sw list $swlist prompt $swname |
108 | !formselect sw list $swlist prompt $swname |
110 | !set wims_formselect_switch= |
109 | !set wims_formselect_switch= |
111 | $ : |
110 | $ : |
112 | $ $ |
111 | $ $ |
- | 112 | <input type="submit" value="$name_execute" /> |
|
- | 113 | ||
113 | !set |
114 | !set wims_ref_class=wims_secondary_button wims_button |
114 | !href cmd=renew $name_empty |
115 | !href cmd=renew $name_empty |
115 | $ $ |
116 | $ $ |
116 | !set wims_ref_class=wims_button_help |
117 | !set wims_ref_class=wims_button_help |
117 | !href cmd=help&special_parm=$sw_2 $wims_name_help |
118 | !href cmd=help&special_parm=$sw_2 $wims_name_help |
118 | $ $ |
119 | $ $ |
119 | !set src=!reinput $src |
120 | !set src=!reinput $src |
120 | !set src=!replace internal &#36; by $ in $src |
121 | !set src=!replace internal &#36; by $ in $src |
121 | !set src=!replace internal & by & in $src |
122 | !set src=!replace internal & by & in $src |
- | 123 | </div> |
|
122 | 124 | ||
123 | < |
125 | <div class="field"> |
- | 126 | <label for="wims_deposit">$name_code_to_execute</label><br/> |
|
124 | <textarea id="wims_deposit" wrap="off" name="src" cols=" |
127 | <textarea id="wims_deposit" wrap="off" name="src" cols="80" rows="15"> |
125 | $src |
128 | $src |
126 | </textarea> |
129 | </textarea> |
127 | $(name_remark_$sw) |
130 | $(name_remark_$sw) |
- | 131 | </div> |
|
128 | 132 | ||
129 | !formend |
133 | !formend |
130 | 134 | ||
131 | !tail |
135 | !tail |
132 | 136 |