summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-04 21:24:42 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-04 21:24:42 +0000
commit605d2de336eac8c8f80b916d30989b347d813e94 (patch)
tree1e33c92d4b3eedd9f4b3c31e21e11a9f36bcd8b2 /core/views
parentade1650846605d648da2565994e309414d908ac5 (diff)
Lots of new stuff!
Replace theme HTML with *almost* the latest stuff from the mockups. (it doesn't include r18467 yet). Our theme format is now modelled after WordPress / Habari's style where you have one entry point per type (eg: album.php) which can load up whatever parts it needs (eg: $theme->display("header")) Created album and photo helpers which have create() functions that form the base of our new API, along with tests for them. Created our own version of the ORM_MPTT since the existing versions were too buggy and unsupported to depend upon. Only has a minimal implementation so far, and the tests are not yet committed. Added path(), thumbnail_path() and resize_path() to Item_Model Extended the scaffolding to allow you to add lots of photos/albums into your hierarchy. Deleted modules/mptt -- we're not going to use this anymore.
Diffstat (limited to 'core/views')
-rw-r--r--core/views/welcome.html.php39
1 files changed, 26 insertions, 13 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index b7a290a0..3bc85dc4 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -26,7 +26,7 @@
}
p {
- margin: 0 0 1em 0;
+ margin: 0 0 0 0;
padding-left: 1em;
}
@@ -59,6 +59,18 @@
ul {
margin-top: -.25em;
}
+
+ ul.choices {
+ padding-top: 0;
+ padding-left: 1em;
+ margin: 0px;
+ }
+
+ ul.choices li {
+ display: inline;
+ list-stype-type: none;
+ padding: 0px;
+ }
</style>
</head>
<body>
@@ -72,24 +84,25 @@
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.
+ they create the real product</i>. 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>System Configuration</h2>
<?= $syscheck ?>
<h2>Activities</h2>
- <p>
- <?= html::anchor("album/1", "Browse Gallery") ?>
- </p>
+ <p> <?= html::anchor("album/1", "Browse Gallery") ?> </p>
+ <ul class="choices">
+ <li> add: [</li>
+ <? foreach (array(1, 10, 50, 100, 500, 1000) as $count): ?>
+ <li> <?= html::anchor("welcome/add/$count", "$count") ?> </li>
+ <? endforeach ?>
+ <li>] photos and albums </li>
+ </ul>
<h2>Documentation</h2>
<ul>