Attachment 'default.txt'
Download
Toggle line numbers
1 screen {
2
3 panel {
4 extend = 1
5 valign = center
6 halign = center
7
8 panel {
9 class = frame
10 id = __menu__
11 }
12 }
13
14 progressbar {
15 attach_bottom = 1
16 width = 60%
17 halign = center
18 height = 1
19 color = "red:brown"
20 }
21 }
22
23 onkey {
24 e = "*menu_edit dialog_edit text=command"
25 t = "if menu_edit dialog_line text=title; then menu_refresh; fi"
26 c = "*menu_popup term_window"
27 2 = "*menu_popup two_term"
28 f6 = ui_next_anchor
29 f8 = menu_toggle_mode
30 f9 = halt
31 f10 = reboot
32 }
33
34 mapkey {
35 f5 = ctrl-x
36 }
37
38 template_submenu {
39 panel {
40 class = frame
41 }
42 }
43
44 template_menuitem {
45 panel {
46 parameters = "class=image.class:title=text.text"
47 class = select
48 direction = left_to_right
49 image {}
50 text { valign = center }
51 }
52 }
53
54 dialog_line {
55 panel {
56 parameters = "text=edit.text"
57 class = frame
58 width = 80%
59 attach_hcenter = 0
60 attach_vcenter = 0
61
62 edit {
63 lines = 1
64 max_lines = 1
65 }
66 }
67 }
68
69 dialog_edit {
70 panel {
71 parameters = "text=edit.text"
72 class = frame
73 width = 80%
74 attach_hcenter = 0
75 attach_vcenter = 0
76
77 edit {
78 lines = 10
79 }
80 }
81 }
82
83 dialog_message {
84 panel {
85 parameters = "text=text.text"
86 class = frame
87 margin_size = 1
88 margin_bottom = 0
89 space = 1
90 attach_hcenter = 0
91 attach_vcenter = 0
92 text {}
93 panel {
94 class = frame
95 command = true
96 halign = center
97 margin_left = 1
98 margin_right = 1
99 text { text = OK }
100 }
101 }
102 }
103
104 dialog_password {
105 panel {
106 parameters = "username=__user__.text:password=__pass__.text"
107 class = frame
108 margin_size = 1
109 margin_bottom = 0
110 attach_hcenter = 0
111 attach_vcenter = 0
112
113 panel {
114 direction = left_to_right
115 space = 1
116 text {
117 extend = 1
118 valign = center
119 text = Username
120 }
121 panel {
122 class = frame
123 margin_left = 1
124 margin_right = 1
125 edit {
126 id = __user__
127 max_lines = 1
128 }
129 }
130 }
131
132 panel {
133 direction = left_to_right
134 space = 1
135 text {
136 extend = 1
137 valign = center
138 text = Password
139 }
140 panel {
141 class = frame
142 margin_left = 1
143 margin_right = 1
144 password {
145 id = __pass__
146 }
147 }
148 }
149
150 panel {
151 class = frame
152 command = true
153 halign = center
154 margin_left = 1
155 margin_right = 1
156 text {
157 text = OK
158 }
159 }
160 }
161 }
162
163 term_window {
164 panel {
165 class = frame
166 width = 100%
167 height = 100%
168 term {
169 width=100%
170 height=100%
171 }
172 }
173 }
174
175 two_term {
176 panel {
177 width = 100%
178 height = 100%
179 direction = left_to_right
180
181 panel {
182 class = frame
183 extend = 1
184
185 term {
186 width=100%
187 height=100%
188 }
189 }
190
191 panel {
192 class = frame
193 extend = 1
194
195 term {
196 width=100%
197 height=100%
198 }
199 }
200 }
201 }
202
203 class {
204 screen {
205 background = ",,blue"
206 }
207
208 text {
209 color = "light-gray/blue:light-gray/green"
210 }
211
212 frame {
213 top_left = ",,cyan/blue,#0x250F:,,light-gray/blue,#0x2554"
214 top = ",tiling,cyan/blue,#0x2501:,,light-gray/blue,#0x2550"
215 top_right = ",,cyan/blue,#0x2513:,,light-gray/blue,#0x2557"
216 left = ",tiling,cyan/blue,#0x2503:,,light-gray/blue,#0x2551"
217 right = ",tiling,cyan/blue,#0x2503:,,light-gray/blue,#0x2551"
218 bottom_left = ",,cyan/blue,#0x2517:,,light-gray/blue,#0x255A"
219 bottom = ",tiling,cyan/blue,#0x2501:,,light-gray/blue,#0x2550"
220 bottom_right = ",tiling,cyan/blue,#0x251B:,,light-gray/blue,#0x255D"
221 }
222
223 select {
224 background = ":,,green,#0"
225 }
226
227 term {
228 color = "cyan/blue:light-gray/blue"
229 }
230
231 edit {
232 color = "cyan/blue:light-gray/blue"
233 }
234
235 password {
236 color = "cyan/blue:light-gray/blue"
237 }
238 }
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.