diff options
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r-- | mod/groups/views/default/groups/css.php | 22 | ||||
-rw-r--r-- | mod/groups/views/default/groups/profileitems.php | 18 |
2 files changed, 37 insertions, 3 deletions
diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index d4fac1b22..3bb551035 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -98,6 +98,27 @@ border-bottom:1px solid #CCCCCC; padding-bottom:5px; } + +/* tool content boxes on group profile page */ +#group_tools_latest { + min-height: 300px; + margin-top:20px; +} +.group_tool_widget { + float:left; + margin-right:30px; + margin-bottom:20px; + min-height:200px; + width:350px; +} +.group_tool_widget.odd { + margin-right:0; +} +.group_tool_widget h3 { + border-bottom:1px solid #CCCCCC; + padding-bottom:5px; +} +/* .group_profile_column.right { float:right; width:350px; @@ -108,6 +129,7 @@ float:left; margin-top:20px; } +*/ /* edit group page */ .delete_group { float: right; diff --git a/mod/groups/views/default/groups/profileitems.php b/mod/groups/views/default/groups/profileitems.php index 2050ae941..f3805ed70 100644 --- a/mod/groups/views/default/groups/profileitems.php +++ b/mod/groups/views/default/groups/profileitems.php @@ -14,7 +14,7 @@ echo "<div class='group_profile forum_latest clearfloat'>"; echo elgg_view("groups/forum_latest",array('entity' => $vars['entity'])); echo "</div>"; - +/* //right column echo "<div class='group_profile_column right'>"; echo elgg_view("groups/right_column",array('entity' => $vars['entity'])); @@ -23,6 +23,18 @@ //left column echo "<div class='group_profile_column left'>"; echo elgg_view("groups/left_column",array('entity' => $vars['entity'])); - echo "</div>"; + echo "</div>"; +*/ -?>
\ No newline at end of file + // tools widget area + echo "<div id='group_tools_latest' class='clearfloat'>"; + echo "<div class='group_tool_widget'><h3>Dummy Placeholder Group Tool Widget</h3></div>"; //test + echo elgg_view("groups/tool_latest",array('entity' => $vars['entity'])); + echo "<div class='group_tool_widget'><h3>Another Placeholder for testing</h3></div>"; //test + echo "</div>"; +?> +<script type="text/javascript"> +$(document).ready(function () { // subclass every other group tool widget + $('#group_tools_latest').find('.group_tool_widget:odd').addClass('odd'); +}); +</script> |