From 39ea444c9dc03f923f7a06fd037084746ddbe518 Mon Sep 17 00:00:00 2001 From: Chris McCormick Date: Sat, 25 Oct 2014 17:43:30 +0800 Subject: [PATCH] Removed more tables where they aren't required. Improved table layout. --- web/ccan.css | 5 ++ web/staticall.php | 4 +- web/staticmoduleinfo.php | 99 ++++++++++++++++------------------------ web/staticupload.php | 8 +--- web/upload.php | 2 +- 5 files changed, 48 insertions(+), 70 deletions(-) diff --git a/web/ccan.css b/web/ccan.css index 80bd6d8f..280f0449 100644 --- a/web/ccan.css +++ b/web/ccan.css @@ -82,6 +82,11 @@ ul.menu { table { background: none; + max-width: 850px; + margin-left: auto; + margin-right: auto; + padding: 0px; + width: 100%; } table a { diff --git a/web/staticall.php b/web/staticall.php index 39b529ce..3e9d445a 100644 --- a/web/staticall.php +++ b/web/staticall.php @@ -19,7 +19,7 @@ download. Or you can just download the tarball of everything including CCAN tools (K).

- +
@@ -50,7 +50,7 @@ foreach ($modules as $module) { (This is contributed code which was dumped here: these gems may need some polishing.) -
Name Summary / Link to details Download
+
-
-
- - - -
-Browse Source - -Download -(without any required ccan dependencies) -
+
-

-

+

Browse Source Download (without any required ccan dependencies)

- - - - +

Module:

+

- - - +

Summary:

+

- - - +

Maintainer:

+

- - - +

Author:

+

- - - +?> + + - - - +?> + - - - + +

Description:

+

- - - - - - - + - - - +

Example:

+
- - - +

License:

+

-

Module:

Summary:

Maintainer:

Author:

Dependencies:

 Dependencies:
+
    +'.$dep.' '; + if ($dep) { + echo '
  • '.$dep.'
  • '; + } } -?>

External dependencies:

External dependencies: +
    +" . $fields[0].' '; if (count($fields) > 1) echo '(version '.$fields[1].') '; - echo '
    '; + echo ''; } -?>

Description:

See Also:

 See Also:
+

Example:

License:

License:

diff --git a/web/staticupload.php b/web/staticupload.php index d692bf53..19dbedec 100644 --- a/web/staticupload.php +++ b/web/staticupload.php @@ -8,9 +8,6 @@ include('static-configuration');

Upload Code

- - - - -

Got C code sitting around which might help someone? Put it to work by uploading here; .tar.gz, .zip or even single C files. @@ -20,11 +17,8 @@ by uploading here; .tar.gz, .zip or even single C files. main repository. Otherwise, it'll go into our "junkcode" area where people can browse and download it.

-
- +

diff --git a/web/upload.php b/web/upload.php index 2972180d..fbbaf14e 100644 --- a/web/upload.php +++ b/web/upload.php @@ -17,7 +17,7 @@ main repository. Otherwise, it'll go into our "junkcode" area where people can browse and download it.

-
+

-- 2.39.2