From ed101d29e590d2babf965e9ba7599a1269c05369 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 30 Jun 2008 18:10:10 +0000 Subject: Gallery vs list view, first commit git-svn-id: https://code.elgg.org/elgg/trunk@1212 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css.php | 26 +++++++++++++++++++ views/default/navigation/gallery.php | 49 +++++++++++++++++++++++++++++++++++ views/default/navigation/viewtype.php | 34 ++++++++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 views/default/navigation/gallery.php create mode 100644 views/default/navigation/viewtype.php (limited to 'views') diff --git a/views/default/css.php b/views/default/css.php index 802a38e51..82fcc2597 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -959,6 +959,32 @@ p.user_menu_friends_of { .search_listing_info p { margin:0 0 3px 0; line-height:1.2em; +} + +.search_gallery_item { + border:1px dotted silver; + background-color: white; + width: 210px; + height: 200px; +} + +.search_gallery_item .search_listing { + background: none; + text-align: center; +} + +.search_gallery_item .search_listing_icon { + position: absolute; + margin-bottom: 20px; +} + +.search_gallery_item .search_listing_info { + margin: 5px; +} + +.search_gallery_item .search_listing_info p { + margin: 5px; + margin-bottom: 10px; } diff --git a/views/default/navigation/gallery.php b/views/default/navigation/gallery.php new file mode 100644 index 000000000..4c099e603 --- /dev/null +++ b/views/default/navigation/gallery.php @@ -0,0 +1,49 @@ + 0) { + +?> + + + +"; + + } + echo ""; + $col++; + if ($col > 4) { + echo ""; + $col = 0; + } + } + if ($col > 0) echo ""; + +?> + + + + \ No newline at end of file diff --git a/views/default/navigation/viewtype.php b/views/default/navigation/viewtype.php new file mode 100644 index 000000000..103e9c450 --- /dev/null +++ b/views/default/navigation/viewtype.php @@ -0,0 +1,34 @@ + + +

+ : + +

\ No newline at end of file -- cgit v1.2.3