285 lines
9.9 KiB
XML
285 lines
9.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<interface base_widget='main' sequence='main'>
|
|
<!--
|
|
column 0 column 1 column 2
|
|
____________________________________________________________
|
|
row 0 | logo version |
|
|
row 1 |____________________________________________________________|
|
|
row 2 | |
|
|
row 3 | copyright information |
|
|
row 4 | quit previous next |
|
|
|____________________________________________________________|
|
|
-->
|
|
<widget type='Frame' name='main'>
|
|
<grid_management rows='5' columns='3'>
|
|
<configure row='2' weight='1'/>
|
|
<configure column='0' weight='1'/>
|
|
<configure column='1' weight='3'/>
|
|
<configure column='2' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='0' column='0' sticky='NSWE'/>
|
|
|
|
<widget type='Label'>
|
|
<widget_attribute image='/home/zhi/git/install/graphicalinstall/images/linxlogo.gif'/>
|
|
<grid_location row='0' column='0' sticky='W' padx='5' pady='5'/>
|
|
</widget>
|
|
<widget type='Label'>
|
|
<widget_attribute text='#os-name'/>
|
|
<grid_location row='0' column='2' sticky='E'/>
|
|
</widget>
|
|
<widget type='Frame'>
|
|
<widget_attribute height='3' background='black'/>
|
|
<grid_location row='1' column='0' columnspan='3' sticky='WE'/>
|
|
</widget>
|
|
|
|
<widget type='Label'>
|
|
<widget_attribute text='Copyright'/>
|
|
<grid_location row='3' column='0' columnspan='3' pady='20'/>
|
|
</widget>
|
|
|
|
<widget type='Button'>
|
|
<widget_attribute text='quit' command='quit'/>
|
|
<grid_location row='4' column='0'/>
|
|
</widget>
|
|
<widget type='Button'>
|
|
<widget_attribute text='previous' command='previous'/>
|
|
<grid_location row='4' column='1'/>
|
|
</widget>
|
|
<widget type='Button'>
|
|
<widget_attribute text='next' command='next'/>
|
|
<grid_location row='4' column='2' pady='20'/>
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<!--
|
|
column 0 column 1 column 2
|
|
____________________________________________________________
|
|
row 0 | |
|
|
row 1 | |
|
|
row 2 | Welcome to Rocky OS |
|
|
row 3 | |
|
|
row 4 | |
|
|
|____________________________________________________________|
|
|
-->
|
|
<widget type='Label' name='welcome'>
|
|
<widget_attribute text='Welcome'/>
|
|
<grid_location row='2' column='0' columnspan='3'/>
|
|
</widget>
|
|
|
|
<!--
|
|
column 0 column 1 column 2
|
|
____________________________________________________________
|
|
row 0 | |
|
|
row 1 | |
|
|
row 2 | _________ _________________ |
|
|
| | text | | serial number | |
|
|
| | | | ______________ | |
|
|
| | | || | | |
|
|
| |_________| ||______________| | |
|
|
| |_________________| |
|
|
row 3 | |
|
|
row 4 | |
|
|
|____________________________________________________________|
|
|
-->
|
|
|
|
<widget type='Frame' name='serial_no'>
|
|
<grid_management rows='1' columns='3'>
|
|
<configure row='0' weight='1'/>
|
|
<configure column='0' weight='1'/>
|
|
<configure column='1' weight='1'/>
|
|
<configure column='2' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
|
|
<variable name='number' type='StringVar'/>
|
|
<widget type='Text'>
|
|
<widget_attribute width='40' height='15' state='disabled'/>
|
|
<grid_location row='0' column='0'/>
|
|
</widget>
|
|
|
|
<widget type='Frame'>
|
|
<grid_location row='0' column='1'/>
|
|
<widget type='Label'>
|
|
<widget_attribute text='serial number'/>
|
|
<grid_location row='0' column='0' sticky='W'/>
|
|
</widget>
|
|
<widget type='Entry'>
|
|
<widget_attribute width='12' textvariable='serial_no.number'/>
|
|
<grid_location row='1' column='0'/>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<!--
|
|
column 0 column 1 column 2
|
|
____________________________________________________________
|
|
row 0 | |
|
|
row 1 | |
|
|
row 2 | |
|
|
| _________ _________ |
|
|
| | | device: |_________| |
|
|
| | | __________________________ |
|
|
| | text | | | |
|
|
| | | | | |
|
|
| | | | | |
|
|
| |_________| | | |
|
|
| |__________________________| |
|
|
| |
|
|
| new edit delete reset |
|
|
| |
|
|
row 3 | |
|
|
row 4 | |
|
|
|____________________________________________________________|
|
|
-->
|
|
<widget type='Frame' name='partition'>
|
|
<grid_management rows='3' columns='2'>
|
|
<configure row='0' weight='1'/>
|
|
<configure row='1' weight='1'/>
|
|
<configure column='0' weight='1'/>
|
|
<configure column='1' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
|
|
|
|
<widget type='Text'>
|
|
<widget_attribute width='40' height='15' state='disabled'/>
|
|
<grid_location row='0' column='0' rowspan='4'/>
|
|
</widget>
|
|
|
|
<widget type='Frame'>
|
|
<grid_location row='0' column='1' sticky='WS' pady='10'/>
|
|
<widget type='Label'>
|
|
<widget_attribute text='device:'/>
|
|
<grid_location row='0' column='0' />
|
|
</widget>
|
|
<widget type='Entry'>
|
|
<widget_attribute width='10'/>
|
|
<grid_location row='0' column='1' padx='10'/>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget type='Frame'>
|
|
<grid_management rows='2' columns='4'>
|
|
<configure column='3' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='1' column='1' sticky='NW'/>
|
|
|
|
<widget type='Listbox'>
|
|
<widget_attribute width='60' height='15'/>
|
|
<grid_location row='0' column='0' columnspan='4' sticky='W' pady='10'/>
|
|
</widget>
|
|
|
|
<widget type='Button'>
|
|
<widget_attribute text='new'/>
|
|
<grid_location row='1' column='0' sticky='W'/>
|
|
</widget>
|
|
|
|
<widget type='Button'>
|
|
<widget_attribute text='edit'/>
|
|
<grid_location row='1' column='1' padx='10'/>
|
|
</widget>
|
|
|
|
<widget type='Button'>
|
|
<widget_attribute text='delete'/>
|
|
<grid_location row='1' column='2' padx='10'/>
|
|
</widget>
|
|
|
|
<widget type='Button'>
|
|
<widget_attribute text='reset'/>
|
|
<grid_location row='1' column='3' sticky='E'/>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget type='Frame' name='mount'>
|
|
<grid_management rows='1' columns='3'>
|
|
<configure row='0' weight='1'/>
|
|
<configure column='0' weight='1'/>
|
|
<configure column='1' weight='1'/>
|
|
<configure column='2' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
|
|
|
|
<widget type='Text'>
|
|
<widget_attribute width='40' height='15' state='disabled'/>
|
|
<grid_location row='0' column='0'/>
|
|
</widget>
|
|
|
|
<widget type='Listbox'>
|
|
<widget_attribute width='40' height='15'/>
|
|
<grid_location row='0' column='1' columnspan='2'/>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget type='Frame' name='network'>
|
|
<grid_management rows='1' columns='3'>
|
|
<configure row='0' weight='1'/>
|
|
<configure column='0' weight='1'/>
|
|
<configure column='1' weight='1'/>
|
|
<configure column='2' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='2' column='0' columnspan='3' sticky='NSWE'/>
|
|
|
|
<widget type='Text'>
|
|
<widget_attribute width='40' height='15' state='disabled'/>
|
|
<grid_location row='0' column='0'/>
|
|
</widget>
|
|
|
|
<widget type='Frame'>
|
|
<grid_management rows='3' columns='2'>
|
|
<configure row='0' weight='1'/>
|
|
<configure row='1' weight='1'/>
|
|
<configure row='2' weight='1'/>
|
|
</grid_management>
|
|
<grid_location row='0' column='1' columnspan='2'/>
|
|
|
|
<widget type='Label'>
|
|
<widget_attribute text='host name'/>
|
|
<grid_location row='0' column='0' sticky='W'/>
|
|
</widget>
|
|
|
|
<widget type='Entry'>
|
|
<widget_attribute width='12'/>
|
|
<grid_location row='0' column='1' sticky='W'/>
|
|
</widget>
|
|
|
|
<widget type='Label'>
|
|
<widget_attribute text='#NCM'/>
|
|
<grid_location row='1' column='0'/>
|
|
</widget>
|
|
|
|
</widget>
|
|
</widget>
|
|
|
|
<message_box name='previous' type='info' title='#install-sequence' message='#first-step'/>
|
|
<message_box name='next' type='info' title='#install-sequence' message='#last-step'/>
|
|
|
|
<message key='#os-name'>
|
|
<English>Rocky 4.2</English>
|
|
<Chinese>磐石 4.2</Chinese>
|
|
</message>
|
|
|
|
<message>
|
|
<English>Copyright</English>
|
|
<Chinese>版权</Chinese>
|
|
</message>
|
|
|
|
<message key='host name'>
|
|
<English>host name</English>
|
|
<Chinese>主机名</Chinese>
|
|
</message>
|
|
|
|
<message key='#NCM'>
|
|
<English>Network Configuration Management:</English>
|
|
<Chinese>网络配置方式</Chinese>
|
|
</message>
|
|
|
|
<sequence name='main'>
|
|
<widget name='welcome'/>
|
|
<widget name='serial_no'/>
|
|
<widget name='partition'/>
|
|
<widget name='mount'/>
|
|
<widget name='network'/>
|
|
</sequence>
|
|
</interface>
|