From 71db2ca32a5393efcedcd3a5e4a541174de71c40 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 16 Jan 2009 23:58:48 +0000 Subject: Add a scaffolding tab that allows packaging up the installation for installation. At the moment, it just creates an *.sql table for each defined table. I still need to zip this and put some install code around it so it is self installing. The ajax call will build the tables, but it doesn't return the resilt correctly. What it does is return my json response(expected) and the entire welcome.html page as well (unexpected) and i'm havinf trouble figuring out why. Something stupid i bet --- core/views/welcome.html.php | 7 +++++- core/views/welcome_package.html.php | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 core/views/welcome_package.html.php (limited to 'core/views') diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 4b9e8fa8..73deedb9 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -9,7 +9,7 @@ } div.outer { - width: 600px; + width: 650px; background: white; border: 1px solid black; margin: 0 auto; @@ -206,6 +206,7 @@
  • Info
  • Benchmarks
  • Docs
  • +
  • Packaging
  • @@ -484,6 +485,10 @@ + +
    + +
    diff --git a/core/views/welcome_package.html.php b/core/views/welcome_package.html.php new file mode 100644 index 00000000..913e7820 --- /dev/null +++ b/core/views/welcome_package.html.php @@ -0,0 +1,50 @@ + + +

    Press the button to package this the modules as an installation package.

    +
    " method="POST"> + + + + + + $required): ?> + + + + + + + + +
    IncludeModule
    + disabled="disabled" + /> +
    + +
    +
    +
    +
    -- cgit v1.2.3