# page_mediumprofile.uim - The layout for the medium profile settings page # # (c) Copyright 2010 Michael Towers (larch42 at googlemail dot com) # # This file is part of the larch project. # # larch is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # larch is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with larch; if not, write to the Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # #---------------------------------------------------------------------------- # 2010.07.08 [ ['Page', ':page_image', { 'layout': ['VBOX', ':bootlines', ':grubtemplate', ':syslinuxtemplate', ':cdroot', '*', ['HBOX', ':nosessionsave', '*', # ':plabell', ':plabele', ':plabelb' ] ] } ], ['Button', ':bootlines', { 'text': _("Edit boot entries"), 'tt': _("Edit the file determining the boot entries") }, 'clicked' ], ['Button', ':grubtemplate', { 'text': _("Edit grub template"), 'tt': _("Edit grub's configuration file," " but not the larch boot entries") }, 'clicked' ], ['Button', ':syslinuxtemplate', { 'text': _("Edit syslinux/isolinux template"), 'tt': _("Edit the syslinux/isolinux configuration file," " but not the larch boot entries") }, 'clicked' ], ['Button', ':cdroot', { 'text': _("Edit cd-root (open in file browser)"), 'tt': _("Open a file browser on the profile's 'cd-root'" " folder") }, 'clicked' ], # ['Label', ':plabell', # { 'text': _("Volume Label:") # } # ], # ['LineEdit', ':plabele', # { 'ro': True, # 'tt': _("The length may not exceed 16 bytes," # " 11 for vfat(syslinux)") # } # ], # ['Button', ':plabelb', # { 'text': _("Change"), # 'tt': _("Enter a new label for the volume") # }, # 'clicked' # ], ['CheckBox', ':nosessionsave', { 'text': _("Disable session saving"), 'tt': _("If checked, the medium will have the file" " 'larch/nosave',\n" "which only has an effect on writable media.") }, 'toggled' ], #? # ['DATA', 'mediumprofile_page_data', # { 'messages': # { 'blah': _("Blah blah"), # } # }, # ], ]