summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2006-07-31 18:49:26 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2006-07-31 18:49:26 +0000
commita5bb9ca7009fb9d16a476342759beb40d58a9a85 (patch)
tree8cfe967d94a1da98c74fe5980b8e24591f514d5e /src/installer
parentAdd Mike 'glide' Bonar as our new AT. Congrats to him. (diff)
downloadgentoo-a5bb9ca7009fb9d16a476342759beb40d58a9a85.tar.gz
gentoo-a5bb9ca7009fb9d16a476342759beb40d58a9a85.tar.bz2
gentoo-a5bb9ca7009fb9d16a476342759beb40d58a9a85.zip
kill src/fe/web
Diffstat (limited to 'src/installer')
-rw-r--r--src/installer/src/fe/web/Changelog10
-rw-r--r--src/installer/src/fe/web/ClientConfig.py99
-rw-r--r--src/installer/src/fe/web/PortageTree.py23
-rw-r--r--src/installer/src/fe/web/banner-800x64.pngbin17673 -> 0 bytes
-rw-r--r--src/installer/src/fe/web/webgli.py99
5 files changed, 0 insertions, 231 deletions
diff --git a/src/installer/src/fe/web/Changelog b/src/installer/src/fe/web/Changelog
deleted file mode 100644
index 0af92d8f3f..0000000000
--- a/src/installer/src/fe/web/Changelog
+++ /dev/null
@@ -1,10 +0,0 @@
-# ChangeLog for Gentoo Linux Installer
-# Copyright 2005 Gentoo Technologies, Inc.
-
-wegbli (23 Aug 2005)
-
- 24 Aug 2005; Preston Cody <codeman@gentoo.org>
- checked="checked"
-
- 23 Aug 2005; Preston Cody <codeman@gentoo.org>
- Adding webgli to CVS for help from others
diff --git a/src/installer/src/fe/web/ClientConfig.py b/src/installer/src/fe/web/ClientConfig.py
deleted file mode 100644
index 187969dbe2..0000000000
--- a/src/installer/src/fe/web/ClientConfig.py
+++ /dev/null
@@ -1,99 +0,0 @@
-#<?
-def show_client_config():
-
- import GLIUtility
- import platform
- data = ""
- data += "<h2>Client Config</h2>\n"
- data += '<form name="CConfig" action="webgli.php?page=Partitioning" method="post">\n'
-
- data += '<table border="2"><tr><td>\n'
- #Choose the architecture for the Install.
- subarches = { 'i386': 'x86', 'i486': 'x86', 'i586': 'x86', 'i686': 'x86', 'x86_64': 'amd64', 'parisc': 'hppa' }
- arch = platform.machine()
- if arch in subarches:
- arch = subarches[arch]
-
- data += "Arch selection string here.<br>\n"
- #checked=\"checked\" if arch=found_arch
- data += '<input type="radio" '
- if arch == "x86":
- data += 'checked="checked" '
- data += 'name="ArchType" value="x86">x86 (Pentium and Athlon Series)<br>\n'
- data += '<input type="radio" '
- if arch == "amd64":
- data += 'checked="checked" '
- data += 'name="ArchType" value="amd64">AMD Athlon 64 and Opteron<br>\n'
- data += '<input type="radio" '
- if arch == "ppc":
- data += 'checked="checked" '
- data += 'name="ArchType" value="ppc">PPC (New World) Macs<br>\n'
- data += '<input type="radio" '
- if arch == "sparc":
- data += 'checked="checked" '
- data += 'name="ArchType" value="sparc">Sparc<br>\n'
- data += '<input type="radio" '
- if arch == "alpha":
- data += 'checked="checked" '
- data += 'name="ArchType" value="alpha">Alpha<br>\n'
- data += '<input type="radio" '
- if arch == "hppa":
- data += 'checked="checked" '
- data += 'name="ArchType" value="hppa">HPPA<br>\n'
- data += '</td><td width="15"></td><td>'
- #Choose the logfile location
- data += "Logfile selection string here. <br>\n"
- data += '<input name="Logfile" type="text" length="80" maxlength="80" value="/var/log/installer.log">\n'
-
- #Choose the root mountpoint location
- data += "<hr>Root mountpoint selection string here. <br>\n"
- data += '<input name="RootMountPoint" type="text" length="80" maxlength="80" value="/mnt/gentoo">'
- data += " </td></tr></table>\n"
-
- if 1:#not GLIUtility.ping("www.gentoo.org"): # and local_install:
- data += '<hr><table><tr><td>'
- data += "LiveCD Network Configuration string here. <br>"
- #device_list = GLIUtility.get_eth_devices()
- data += "DEVICE SELECTION OR DETECTION HERE!! <br>"
- data += '<select name="Network Type" size="3">'
- data += '<option value="dhcp">DHCP</option>'
- data += '<option value="static">Manual Config</option>'
- data += '<option value="None">None (Networkless)</option>'
- data += '</td><td>'
- data += 'Networking Info for Manual Configurations:<br>'
- data += 'Enter your IP address: <input name="ip" type="text" length="50" maxlength="15" value="192.168."><br>'
- data += 'Enter your Broadcast address: <input name="broadcast" type="text" length="50" maxlength="15" value=".255"><br>'
- data += 'Enter your Netmask: <input name="netmask" type="text" length="50" maxlength="15" value="255.255.255.0"><br>'
- data += 'Enter your default gateway: <input name="gateway" type="text" length="50" maxlength="15" value=".1"><br>'
- data += 'Enter a DNS server: <input name="dnsserver" type="text" length="50" maxlength="15" value="128.118.25.3"></td></tr></table>'
-
- #Enable SSH?
- data += "<hr>Enable SSH string here. <br>"
- data += 'Enable SSH?: <input name="EnableSSH" type="radio" value="True">Yes'
- data += '<input name="EnableSSH" type="radio" value="False" checked="checked">No'
-
- #Set root password THIS MAY NOT BE NECESSARY - SEE REMOTE SCRIPT
- data += "<hr>Root password selection string here. <br>"
- data += 'Enter Password:<input name="RootPass1" type="password" length="80" maxlength="80" value=""><br>'
- data += 'Re-enter Password to verify:<input name="RootPass2" type="password" length="80" maxlength="80" value=""><br>'
-
- #Modules to load now.
- #status, output = GLIUtility.spawn("lsmod", return_output=True)
- data += "<hr>Loaded modules list here. <br>"
- data += 'Additional Modules to Load (space-separated list): <input type="text" length="80" maxlength="80" value=""><br>'
-
- #Save Client Configuration File. THIS SHOULD BE A POPUP
- data += "<hr><br>Save Client Configuration File string here. <br>";
- data += 'Filename: <input name="SaveCCFile" type="text" value="clientconfig.xml">';
- data += '<input name="SaveCC" type="submit" value="Save Client Configuration">'; #Javascript for on_click
-
- #Print buttons for Next/Previous/Help/Save
- data += "<hr><table><tr>"
- data += '<td><input name="LoadCC" type="button" value="Load"></td>'
- data += '<td><input name="SaveCC" type="button" value="Save"></td>'
- data += '<td><input name="Help" type="button" value="Help"></td>'
- data += '<td><input name="Previous" type="button" value="Previous"></td>'
- data += '<td><input name="Next" type="button" value="Next"></td></tr></table>'
- data += '</form>'
- return data
-#?>
diff --git a/src/installer/src/fe/web/PortageTree.py b/src/installer/src/fe/web/PortageTree.py
deleted file mode 100644
index 19dd5a8f31..0000000000
--- a/src/installer/src/fe/web/PortageTree.py
+++ /dev/null
@@ -1,23 +0,0 @@
-<?
-
-def show_portage_tree(self):
- #import some stuff
- print '<form name="PortageTree" method="post" action="webgli.php?page=ConfigFiles">'
- print 'Portage selection string here: <br>'
- print 'Portage Tree Sync Type: <br><input type="radio" name="SyncType" value="sync">Normal. Use emerge sync RECOMMENDED!<br>'
- print '<input type="radio" name="SyncType" value="webrsync">HTTP daily snapshot. Use when rsync is firewalled.<br>'
- print '<input type="radio" name="SyncType" value="snapshot">Use a portage snapshot, either a local file or a URL<br>'
- print '<input type="radio" name="SyncType" value="none">Extra cases such as if /usr/portage is an NFS mount<br>'
- #if not snapshot then grey out box.
- print '<hr>If using a snapshot, enter the snapshot URI: <input type="text" name="SnapshotURI" value="" length="80"><br>'
-
- #Print buttons for Next/Previous/Help/Save
- print "<hr><table><tr>"
- print '<td><input name="Load" type="button" value="Load"></td>'
- print '<td><input name="Save" type="button" value="Save"></td>'
- print '<td><input name="Help" type="button" value="Help"></td>'
- print '<td><input name="Previous" type="button" value="Previous"></td>'
- print '<td><input name="Next" type="button" value="Next"></td></tr></table>'
- print "</form>"
-
-?>
diff --git a/src/installer/src/fe/web/banner-800x64.png b/src/installer/src/fe/web/banner-800x64.png
deleted file mode 100644
index 6fe33693a6..0000000000
--- a/src/installer/src/fe/web/banner-800x64.png
+++ /dev/null
Binary files differ
diff --git a/src/installer/src/fe/web/webgli.py b/src/installer/src/fe/web/webgli.py
deleted file mode 100644
index fcdf003ea5..0000000000
--- a/src/installer/src/fe/web/webgli.py
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/usr/bin/python
-# This program 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.
-#
-# This program 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 Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-
-
-def index():
- import sys
- sys.path.append("/home/codeman/installer/src")
- import ClientConfig
-#import Partitioning
-#import NetworkMounts
-#import Stage
-#import PortageTree
-#import ConfigFiles
-#import Kernel
-#import GLIGenDialog somehow.
- data = "<html><body><table><tr><td width=200>" #Outer Table + top row + top left box
- data += "Picture here. Gentoo Logo</td>"
- data += "<td><img src=\"banner-800x64.png\"></td></tr>\n"
- #Lefthand column of steps.
- data += "<tr><td valign=\"top\">"
- data += "<p><a href=\"webgli.py\">Welcome</a></p>\n"
- data += "<p><a href=\"webgli.py?page=ClientConfig\">Client Config</a></p>\n"
- data += "<p><a href=\"webgli.py?page=Partitioning\">Partitioning</a></p>\n"
- data += "<p><a href=\"webgli.py?page=NetworkMounts\">Network Mounts</a></p>\n"
- data += "<p><a href=\"webgli.py?page=Stage\">Stage Selection</a></p>\n"
- data += "<p><a href=\"webgli.py?page=PortageTree\">Portage Tree</a></p>"
- data += "<p><a href=\"webgli.py?page=ConfigFiles\">Config Files</a></p>"
- data += "<p><a href=\"webgli.py?page=Kernel\">Kernel</a></p>"
- data += "<p><a href=\"webgli.py?page=Bootloader\">Bootloader</a></p>"
- data += "<p><a href=\"webgli.py?page=Timezone\">Timezone</a></p>"
- data += "<p><a href=\"webgli.py?page=Networking\">Networking</a></p>"
- data += "<p><a href=\"webgli.py?page=Daemons\">Daemons</a></p>"
- data += "<p><a href=\"webgli.py?page=ExtraPackages\">Extra Packages</a></p>"
- data += "<p><a href=\"webgli.py?page=Users\">Users</a></p>"
- data += "<p><a href=\"webgli.py?page=Review\">Review</a></p>\n"
- data += "</td>"
- #Now for the main content
- data += "<td>\n"
- data += show_main_content()
- data += "</td></tr></table></body></html>"
- return data
-
-def show_welcome():
- print "Welcoming string here.<BR>"
- print "LOCAL INSTALL ASSUMED FOR THIS FRONT END<br>"
-
-
-def show_main_content():
-
- page = ""
-# if 'page' in self.post_params and self.post_params['page']:
-# page = self.post_params['page']
- if page == "ClientConfig":
- data = ClientConfig.show_client_config(data)
- elif page == "Partitioning":
- data = Partitioning.show_partitioning()
- elif page == "NetworkMounts":
- data = NetworkMounts.show_networkmounts()
- elif page == "Stage":
- data = Stage.show_stage()
- elif page == "PortageTree":
- data = PortageTree.show_portage_tree()
- elif page == "ConfigFiles":
- data = ConfigFiles.show_config_files()
- elif page == "Kernel":
- data = Kernel.show_kernel()
- elif page == "Bootloader":
- data = Bootloader.show_bootloader()
- elif page == "Timezone":
- data = Timezone.show_timezone()
- elif page == "Networking":
- data = Networking.show_networking()
- elif page == "Daemons":
- data = Daemons.show_daemons()
- elif page == "ExtraPackages":
- data = ExtraPackages.show_extra_packages()
- elif page == "Users":
- data = Users.show_users()
- elif page == "Review":
- data = Review.show_review()
- else:
- data = show_welcome()
-
- import ClientConfig
- data = ClientConfig.show_client_config()
- return data