tiny-slitaz diff step1.php @ rev 7

Add suggested support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 05 17:39:36 2016 +0100 (2016-01-05)
parents 577e6e91216d
children af73cc7ea672
line diff
     1.1 --- a/step1.php	Wed Oct 07 23:37:02 2015 +0200
     1.2 +++ b/step1.php	Tue Jan 05 17:39:36 2016 +0100
     1.3 @@ -59,17 +59,18 @@
     1.4  	if (!file_exists($_POST["tmp_dir"]."uploadconf")) {
     1.5  ?>
     1.6  
     1.7 -<p>
     1.8 -The file <u>/etc/packages.conf</u> in the initramfs holds all information
     1.9 -to rebuild your Tiny SliTaz system. You should upload your 
    1.10 -<u>/etc/packages.conf</u> first if you want to upgrade your system only.
    1.11 -</p>
    1.12 +<div class="box">
    1.13 +<h3>[Step 1/5] Packages and Kernel</h3>
    1.14 +
    1.15 +<p>The file <tt>/etc/packages.conf</tt> in the initramfs holds all information
    1.16 +to rebuild your Tiny SliTaz system. You should upload your
    1.17 +<tt>/etc/packages.conf</tt> first if you want to upgrade your system only.</p>
    1.18  
    1.19  <form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
    1.20 -Packages configuration:
    1.21 -<input type="file" name="uploadconf" />
    1.22 -<input name="config" value="Get config" type="submit" />
    1.23 -<?php post_hidden(); ?>
    1.24 +	Packages configuration:
    1.25 +	<input type="file" name="uploadconf" />
    1.26 +	<input name="config" value="Get config" type="submit" />
    1.27 +	<?php post_hidden(); ?>
    1.28  </form>
    1.29  <?php
    1.30  	}
    1.31 @@ -80,55 +81,53 @@
    1.32  	if (!file_exists($_POST["tmp_dir"]."uploadpkgs")) {
    1.33  ?>
    1.34  
    1.35 -<p>
    1.36 -You can upload a tazpkg file (.tazpkg) or a tarball of tazpkg files (.tar).
    1.37 +<hr>
    1.38 +
    1.39 +<p>You can upload a tazpkg file (.tazpkg) or a tarball of tazpkg files (.tar).
    1.40  These packages will extend the official packages list and will be chosen when
    1.41  the package names are found to be matching. You can find some examples in the
    1.42 -<a href="http://hg.slitaz.org/wok-tiny/file/">Tiny SliTaz repository</a>.
    1.43 -</p>
    1.44 +<a href="http://hg.slitaz.org/wok-tiny/file/">Tiny SliTaz repository</a>.</p>
    1.45 +
    1.46  <div>
    1.47 -<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
    1.48 -Additional packages:
    1.49 -<input type="file" name="uploadpkgs" />
    1.50 -<input name="mypackages" value="Get packages" type="submit" />
    1.51 -<?php post_hidden(); ?>
    1.52 -</form>
    1.53 +	<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
    1.54 +		Additional packages:
    1.55 +		<input type="file" name="uploadpkgs" />
    1.56 +		<input name="mypackages" value="Get packages" type="submit" />
    1.57 +		<?php post_hidden(); ?>
    1.58 +	</form>
    1.59  </div>
    1.60 -<p>
    1.61 +
    1.62 +<hr>
    1.63  <?php
    1.64  	}
    1.65  ?>
    1.66 -</p>
    1.67  
    1.68 -<a name="kernel"></a>
    1.69 -<h2>Linux kernel</h2>
    1.70 -
    1.71 -<p>
    1.72 -You can upload a custom kernel or use an official one.
    1.73 -Your kernel should have an embedded initramfs with busybox like 
    1.74 -<a href="dist/rootfs.cpio" title="See CONFIG_INITRAMFS_SOURCE">this one</a>.
    1.75 -</p>
    1.76 +<p id="kernel">You can upload a custom Kernel or use an official one. Your
    1.77 +Kernel should have an embedded initramfs with busybox like <a
    1.78 +href="dist/rootfs.cpio" title="See CONFIG_INITRAMFS_SOURCE">this one</a>.</p>
    1.79  
    1.80  <div>
    1.81 -<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
    1.82 -Custom kernel (bzImage file):
    1.83 -<input type="file" name="uploadkernel" />
    1.84 -<input name="mykernel" value="Get kernel" type="submit" />
    1.85 -<?php post_hidden(); ?>
    1.86 -</form>
    1.87 +	<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
    1.88 +		Custom kernel (bzImage file):
    1.89 +		<input type="file" name="uploadkernel" />
    1.90 +		<input name="mykernel" value="Get kernel" type="submit" />
    1.91 +		<?php post_hidden(); ?>
    1.92 +	</form>
    1.93  </div>
    1.94  
    1.95 +<hr>
    1.96 +
    1.97  <div>
    1.98 -<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="kernels">
    1.99 -<input type="hidden" name="kernel" value="linux" />
   1.100 -<p>
   1.101 -</p>
   1.102 +	<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="kernels">
   1.103 +		<input type="hidden" name="kernel" value="linux" />
   1.104  
   1.105 -<div align="center">
   1.106 -<input name="continue" value="Continue" type="submit" />
   1.107 +		<div align="center">
   1.108 +			<input name="continue" value="Continue" type="submit" />
   1.109 +		</div>
   1.110 +	</form>
   1.111  </div>
   1.112 -</form>
   1.113  </div>
   1.114 +
   1.115  <?php
   1.116  }
   1.117  ?>