Browse Source

made the islandora menu a menu normal item so it gets added to the navigation menu

pull/111/merge
Paul Pound 13 years ago
parent
commit
0c7463b669
  1. 4
      islandora.module
  2. 31
      islandora_basic_collection/css/islandora_basic_collection.theme.css
  3. 2
      islandora_basic_image/islandora_basic_image.module

4
islandora.module

@ -96,10 +96,10 @@ function islandora_menu() {
$items['islandora'] = array( $items['islandora'] = array(
'title' => 'Islandora Repository', 'title' => 'Islandora Repository',
'page callback' => 'islandora_view_default_object', 'page callback' => 'islandora_view_default_object',
'type' => MENU_CALLBACK, 'type' => MENU_NORMAL_ITEM,
'access arguments' => array(FEDORA_VIEW), 'access arguments' => array(FEDORA_VIEW),
); );
$items['islandora/object/%'] = array( $items['islandora/object/%'] = array(
'title' => 'Repository', 'title' => 'Repository',
'page callback' => 'islandora_view_object', 'page callback' => 'islandora_view_object',

31
islandora_basic_collection/css/islandora_basic_collection.theme.css

@ -8,30 +8,29 @@
/* islandora-basic-collection STYLES*/ /* islandora-basic-collection STYLES*/
.islandora-basic-collection { .islandora-basic-collection {
width: 100%; margin: 2% auto;
margin: 0 auto; overflow: hidden;
overflow: hidden; width: 96%;
} }
dl.islandora-basic-collection-object dl.islandora-basic-collection-object
{ {
width: 20%; float: left;
min-width: 100px; margin: 2% 2% 50px;
text-align: center; width: 20%;
float: left; height: 180px;
margin: 2% 2% 50px 2%;
} }
.islandora-basic-collection-object dt img { .islandora-basic-collection-object dt img {
max-width: 100%; max-width: 100%;
*width: 100%; *width: 100%;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
-moz-border-radius: 5px; -moz-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
} }
.islandora-basic-collection-object dd .islandora-basic-collection-object dd
{ {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }

2
islandora_basic_image/islandora_basic_image.module

@ -38,7 +38,7 @@ function islandora_basic_image_menu() {
'page arguments' => array('islandora_basic_image_admin'), 'page arguments' => array('islandora_basic_image_admin'),
'file' => 'admin/islandora_basic_image.admin.inc', 'file' => 'admin/islandora_basic_image.admin.inc',
'type' => MENU_NORMAL_ITEM, 'type' => MENU_NORMAL_ITEM,
); );
/* example menu paths /* example menu paths
$items['islandora/object/%/manage/image'] = array( $items['islandora/object/%/manage/image'] = array(
'title' => 'Manage Image Types', 'title' => 'Manage Image Types',

Loading…
Cancel
Save