summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-01 03:58:08 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-01 03:58:08 +0000
commit146f34dc07c7c47505d8a6e4bdf9e535fcddfbb5 (patch)
tree211140a72bbda29f1984301e0be0e9892e259129
parent53ef67d00055e145e3d9b36c68c06543ba0617c9 (diff)
Improve the welcome page to be a bit more explanatory about the product.
-rw-r--r--core/controllers/welcome.php31
-rw-r--r--core/views/welcome.html.php77
2 files changed, 105 insertions, 3 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index d33fb295..a0b8d2c8 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -1,6 +1,31 @@
<?php
+/*
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2008 Bharat Mediratta
+ *
+ * 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
+ * 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+/**
+ * Enter Description Here
+ * @package
+ * @subpackage
+ * @author Tim
+ */
class Welcome_Controller extends Controller {
- public function index() {
- print "<img src=http://www.gallery2.org/gallery2.png>";
+ function Index() {
+ print new View('welcome.html');
}
-} \ No newline at end of file
+}
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
new file mode 100644
index 00000000..9757f6d5
--- /dev/null
+++ b/core/views/welcome.html.php
@@ -0,0 +1,77 @@
+<html>
+ <head>
+ <title>Gallery3 Scaffold</title>
+ <style>
+ body {
+ background: #999;
+ font-family: Trebuchet MS;
+ }
+
+ div.outer {
+ width: 600px;
+ background: white;
+ border: 1px solid black;
+ margin: 0 auto;
+ }
+
+ div.inner {
+ padding: 1em;
+ }
+
+ p {
+ padding-left: 1em;
+ }
+
+ ul {
+ margin-top: -1em;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="outer">
+ <center>
+ <img src="http://www.gallery2.org/gallery2.png"/>
+ </center>
+ <div class="inner">
+ <h1>Gallery3 Scaffold</h1>
+
+ <p>
+ This is
+ a <b><a href="http://www.google.com/images?q=scaffold">scaffold</a></b>:
+ a <i>temporary structure built to support the developers as
+ they create the real product</i>.
+ </p>
+
+ <p>
+ As we flesh out Gallery 3, we'll make it possible for you to
+ peer inside and see the application taking shape.
+ Eventually, this page will go away and you'll start in the
+ application itself. In the meantime, here are some useful
+ links to get you started.
+ </p>
+
+ <h2>Useful Links</h2>
+ <ul>
+ <li>
+ <a href="http://docs.google.com/Doc?id=dfjxt593_184ff9jhmd8&hl=en">Gallery3: Prioritized Feature List</a>
+ </li>
+ <li>
+ <a href="http://docs.google.com/Doc?id=dfjxt593_185czczpm4f&hl=en">Gallery3: Secondary Features</a>
+ </li>
+ <li>
+ <a href="http://gallery.svn.sourceforge.net/viewvc/gallery/trunk/eval/gx/ui/HTML/index.html">Mockups</a>
+ </li>
+ <li>
+ <a href="http://www.nabble.com/Rough-Gallery-3-time-line-td20240153.html">Rough Timeline</a> (as of Oct 29, 2008)
+ </li>
+ <li>
+ <a href="http://codex.gallery2.org/Gallery3:About">Gallery3: About Page</a>
+ </li>
+ <li>
+ <a href="http://codex.gallery2.org/Gallery3:Coding_Standards">Gallery3: Coding Standards</a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </body>
+</html>