source: client/shared/lib/burg/themes/OpenGnsys/theme @ b7bed1c

918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since b7bed1c was 754534e, checked in by adv <adv@…>, 8 years ago

#796 tema gráfico de OpenGnsys para burg

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5380 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 3.6 KB
Line 
1include "menus"
2include "../icons/hover"
3include "icons/icons"
4include "style"
5
6screen {
7  background = "$$/background.png"
8
9  panel {
10    halign = center
11    attach_vcenter = 0
12    height = 19
13    # Flip so the cursor defaults to the main menu
14    direction = bottom_to_top
15
16    ### Main Menu ###
17    panel {
18      min_width = 36
19      class = container-body
20      height = 14
21#      margin_top = 0
22      max_width = 128
23
24      panel {
25        halign = center
26
27        space = 0
28        direction = left_to_right
29        anchor = 1
30        id = __menu__
31        popup = bottom
32      }
33    }
34
35    panel {
36      halign = center
37      height = 4
38      min_width = 36
39      class = container-title
40
41      space = 0
42      direction = left_to_right
43      anchor = 1
44
45      image {
46         halign=center
47        image = "$$/images/txt-select.png"
48        attach_top = 2
49        attach_left = 2
50      }
51
52      ### Tools Menu ###
53#      image {
54#        attach_right = 2
55#        image = "$$/images/button-tools.png:$$/images/button-tools-hover.png"
56#        command = "menu_popup tools_menu"
57#      }
58    }
59  }
60
61  ### Progress Bar ###
62  panel {
63    halign = center
64    attach_bottom = 4
65    width = 60
66    class = progressbar-background
67    id = __timeout__
68
69    progressbar { }
70  }
71}
72
73template_menuitem {
74  panel {
75    width = 20
76    height = 10
77
78    parameters = "class=image.class:title=panel.text.text"
79
80    ### Icon ###
81    image {
82      attach_vcenter = 0
83      attach_hcenter = 0
84    }
85
86    ### Text ###
87#    panel {
88#      attach_vcenter = 0
89#      attach_hcenter = 0
90#      margin_left = 1
91#      margin_right = 1
92#      class = text-line
93#      text {}
94#    }
95  }
96}
97
98template_submenu {
99  panel {
100    class = dialog
101  }
102}
103
104template_subitem {
105  panel {
106    parameters = "title=text.text"
107    text {}
108  }
109}
110
111template_popup {
112  panel {
113    attach_hcenter = 0
114    attach_vcenter = 0
115    class = dialog
116  }
117}
118
119dialog_line {
120  panel {
121    parameters = "text=edit.text"
122    class = dialog
123    width = 60
124    attach_hcenter = 0
125    attach_vcenter = 0
126
127    edit {
128      lines = 1
129      max_lines = 1
130    }
131  }
132}
133
134dialog_edit {
135  panel {
136    parameters = "text=edit.text"
137    class = dialog
138    width = 90
139    attach_hcenter = 0
140    attach_vcenter = 0
141
142    edit {
143      lines = 10
144    }
145  }
146}
147
148dialog_message {
149  panel {
150    parameters = "text=text.text"
151    class = dialog
152    margin_size = 1
153    margin_bottom = 0
154    space = 1
155    attach_hcenter = 0
156    attach_vcenter = 0
157    text {}
158    panel {
159      class = button
160      command = true
161      halign = center
162      text { text = OK class = button-text }
163    }
164  }
165}
166
167dialog_password {
168  panel {
169    parameters = "username=__user__.text:password=__pass__.text"
170    class = dialog
171    margin_size = 1
172    margin_bottom = 0
173    attach_hcenter = 0
174    attach_vcenter = 0
175
176    panel {
177      direction = left_to_right
178      space = 1
179      text {
180        extend = 1
181        valign = center
182        text = Username
183      }
184
185      panel {
186        margin_left = 1
187        margin_right = 1
188        edit {
189          id = __user__
190          max_lines = 1
191        }
192      }
193    }
194
195    panel {
196      direction = left_to_right
197      space = 1
198      text {
199        extend = 1
200        valign = center
201        text = Password
202      }
203      panel {
204        margin_left = 1
205        margin_right = 1
206        password {
207          id = __pass__
208        }
209      }
210    }
211
212    panel {
213      class = button
214      command = true
215      halign = center
216      margin_left = 1
217      margin_right = 1
218      text {
219        text = OK
220        class = button-text
221      }
222    }
223  }
224}
225menu {
226
227#  Shutdown {
228#    command = "halt"
229#    class = "shutdown"
230#  }
231}
Note: See TracBrowser for help on using the repository browser.