[Isocial-svn] SF.net SVN: isocial: [121] public/stylesheets/groupapp
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <di...@us...> - 2008-04-14 16:59:35
|
Revision: 121 http://isocial.svn.sourceforge.net/isocial/?rev=121&view=rev Author: dim0s77 Date: 2008-04-14 09:59:39 -0700 (Mon, 14 Apr 2008) Log Message: ----------- now group is created and custom edited in three steps. refactoring Modified Paths: -------------- app/controllers/groupapp/group_controller.php app/controllers/profile_controller.php app/installers/groupapp/group_installer.php app/installers/groupapp/russian_installer.php app/models/groupapp_group.php app/views/groupapp/group/_bar.tpl app/views/groupapp/group/create.tpl app/views/groupapp/group/customize.tpl app/views/groupapp/group/members.tpl app/views/profile/show.tpl public/stylesheets/Application.css public/stylesheets/groupapp/Group.css Added Paths: ----------- app/models/groupapp_member.php app/models/groupapp_member_role.php app/views/groupapp/group/edit_members.tpl Removed Paths: ------------- app/controllers/group_controller.php Deleted: app/controllers/group_controller.php =================================================================== --- app/controllers/group_controller.php 2008-04-13 13:26:14 UTC (rev 120) +++ app/controllers/group_controller.php 2008-04-14 16:59:39 UTC (rev 121) @@ -1,13 +0,0 @@ -<?php - -class GroupController extends ApplicationController -{ - function index () { - $this->redirectTo(array('action' => 'show')); - } - - function show () { - } -} - -?> Modified: app/controllers/groupapp/group_controller.php =================================================================== --- app/controllers/groupapp/group_controller.php 2008-04-13 13:26:14 UTC (rev 120) +++ app/controllers/groupapp/group_controller.php 2008-04-14 16:59:39 UTC (rev 121) @@ -2,7 +2,7 @@ class Groupapp_GroupController extends ApplicationController { - var $models = array('GroupappGroup', 'GroupappGroupType'); + var $models = array('GroupappGroup', 'GroupappGroupType', 'GroupappMember', 'GroupappMemberRole'); function index () { $this->group_types = $this->GroupappGroupType->find('all', array('conditions' => array("parent_id = 0"))); @@ -13,8 +13,14 @@ if (!empty($this->params['group'])){ $this->GroupappGroup->setAttributes($this->params['group']); if ($this->Request->isPost() && $this->GroupappGroup->save()){ - $this->step = 'group_customize'; - $this->redirectToAction('customize'); + $owner = $this->GroupappMemberRole->find(1); + $group_member = $this->GroupappGroup->group_member->build(); + $group_member->user->assign($this->current_user); + $group_member->role->assign($owner); + if ($group_member->save()) { + $this->step = 'group_customize'; + $this->redirectTo(array('action' => 'customize', 'id' => $this->GroupappGroup->getId())); + } } else { $this->importErrors( $this->GroupappGroup->getErrors() ); } @@ -23,26 +29,33 @@ function customize () { $this->step = 'group_customize'; - if (!empty($this->params['group'])){ - $this->GroupappGroup->setAttributes($this->params['group']); - if ($this->Request->isPost() && $this->GroupappGroup->save()){ + if (!empty($this->params['group']) && !empty($this->params['id'])){ + $group = $this->GroupappGroup->findFirst(array( 'id' => $this->params['id'] )); + $group->setAttributes($this->params['group']); + if ($this->Request->isPost() && $group->save()) { $this->step = 'group_members'; - $this->redirectToAction('members'); - } else { - $this->importErrors( $this->GroupappGroup->getErrors() ); + $this->redirectTo(array('action' => 'edit_members', 'id' => $group->getId())); + return; } + } else if (!empty($this->params['id']) && $this->GroupappGroup->find($this->params['id'])) { + $this->group = $this->GroupappGroup->find($this->params['id']); } + $this->importErrors( $this->GroupappGroup->getErrors() ); } - function members () { + function edit_members () { $this->step = 'group_members'; if (!empty($this->params['member'])){ $this->GroupappGroup->setAttributes($this->params['member']); if ($this->Request->isPost() && $this->GroupappGroup->save()){ - } else { - $this->importErrors( $this->GroupappGroup->getErrors() ); + return; } + } else if (!empty($this->params['id']) && $this->GroupappGroup->find($this->params['id'])) { + $this->group = $this->GroupappGroup->find($this->params['id']); + $this->members = $this->GroupappMember->find('all', array('conditions' => array("group_id = ?", $this->group->getId()), + 'include' => 'user')); } + $this->importErrors( $this->GroupappGroup->getErrors() ); } function browse () { Modified: app/controllers/profile_controller.php =================================================================== --- app/controllers/profile_controller.php 2008-04-13 13:26:14 UTC (rev 120) +++ app/controllers/profile_controller.php 2008-04-14 16:59:39 UTC (rev 121) @@ -10,7 +10,9 @@ function show () { $id = !empty($this->params['id']) ? $this->params['id'] : $this->current_user->getId(); - $this->user = $this->User->find($id); + if ($id) { + $this->user = $this->User->find($id); + } } function basic () { Modified: app/installers/groupapp/group_installer.php =================================================================== --- app/installers/groupapp/group_installer.php 2008-04-13 13:26:14 UTC (rev 120) +++ app/installers/groupapp/group_installer.php 2008-04-14 16:59:39 UTC (rev 121) @@ -36,12 +36,14 @@ `street` char(100) NOT NULL DEFAULT '', `city` char(100) NOT NULL DEFAULT '', `website` char(100) NOT NULL DEFAULT '', - `show_related_group` tinyint(1) NOT NULL DEFAULT '1', + `show_related_groups` tinyint(1) NOT NULL DEFAULT '1', `show_discussion_board` tinyint(1) NOT NULL DEFAULT '1', `show_wall` tinyint(1) NOT NULL DEFAULT '1', `show_photos` tinyint(1) NOT NULL DEFAULT '1', + `photo_member` tinyint(1) NOT NULL DEFAULT '0', `show_videos` tinyint(1) NOT NULL DEFAULT '1', - `access` tinyint(1) NOT NULL DEFAULT '1', + `video_member` tinyint(1) NOT NULL DEFAULT '0', + `access` int(1) UNSIGNED NOT NULL DEFAULT '0', `show_in_search` tinyint(1) NOT NULL DEFAULT '1', FOREIGN KEY (type_id) REFERENCES groupapp_group_types(id), @@ -49,32 +51,31 @@ ) ENGINE=InnoDB"); $this->execute( - "CREATE TABLE `groupapp_group_user_roles` ( - `id` tinyint(1) NOT NULL PRIMARY KEY AUTO_INCREMENT, + "CREATE TABLE `groupapp_member_roles` ( + `id` int(1) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, `en_name` char(15) NOT NULL DEFAULT '' ) ENGINE=InnoDB"); - $this->execute("INSERT INTO `groupapp_group_user_roles` (id, en_name) VALUES (1, 'Administrator')"); - $this->execute("INSERT INTO `groupapp_group_user_roles` (id, en_name) VALUES (2, 'Moderator')"); - $this->execute("INSERT INTO `groupapp_group_user_roles` (id, en_name) VALUES (3, 'Member')"); + $this->execute("INSERT INTO `groupapp_member_roles` (id, en_name) VALUES (1, 'Owner')"); + $this->execute("INSERT INTO `groupapp_member_roles` (id, en_name) VALUES (2, 'Administrator')"); + $this->execute("INSERT INTO `groupapp_member_roles` (id, en_name) VALUES (3, 'Moderator')"); + $this->execute("INSERT INTO `groupapp_member_roles` (id, en_name) VALUES (4, 'Member')"); $this->execute( - "CREATE TABLE `groupapp_group_users` ( - `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, - `group_id` int(11) NOT NULL DEFAULT '0', - `user_id` int(11) NOT NULL DEFAULT '0', - `role_id` tinyint(1) NOT NULL DEFAULT '3', - `is_owner` tinyint(1) NOT NULL DEFAULT '0', + "CREATE TABLE `groupapp_members` ( + `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT, + `group_id` int(11) NOT NULL DEFAULT '0', + `user_id` int(11) NOT NULL DEFAULT '0', + `role_id` int(1) UNSIGNED NOT NULL DEFAULT '4', FOREIGN KEY (group_id) REFERENCES groupapp_groups(id), - FOREIGN KEY (role_id) REFERENCES groupapp_group_user_roles(id) + FOREIGN KEY (role_id) REFERENCES groupapp_member_roles(id) ) ENGINE=InnoDB"); - } function down_1() { - $this->dropTable('groupapp_group_users'); - $this->dropTable('groupapp_group_user_roles'); + $this->dropTable('groupapp_members'); + $this->dropTable('groupapp_member_roles'); $this->dropTable('groupapp_groups'); $this->dropTable('groupapp_group_types'); } Modified: app/installers/groupapp/russian_installer.php =================================================================== --- app/installers/groupapp/russian_installer.php 2008-04-13 13:26:14 UTC (rev 120) +++ app/installers/groupapp/russian_installer.php 2008-04-14 16:59:39 UTC (rev 121) @@ -18,10 +18,11 @@ $this->execute("UPDATE groupapp_group_types set {$locale}_name ='Отдых и Спорт' WHERE id = 10"); $this->execute("UPDATE groupapp_group_types set {$locale}_name ='Студенческие группы' WHERE id = 11"); - $this->execute("ALTER TABLE groupapp_group_user_roles ADD COLUMN {$locale}_name char(100) NOT NULL AFTER en_name"); - $this->execute("UPDATE groupapp_group_user_roles set {$locale}_name ='Администратор' WHERE id = 1"); - $this->execute("UPDATE groupapp_group_user_roles set {$locale}_name ='Модератор' WHERE id = 2"); - $this->execute("UPDATE groupapp_group_user_roles set {$locale}_name ='Участник' WHERE id = 3"); + $this->execute("ALTER TABLE groupapp_member_roles ADD COLUMN {$locale}_name char(100) NOT NULL AFTER en_name"); + $this->execute("UPDATE groupapp_member_roles set {$locale}_name ='Владелец' WHERE id = 1"); + $this->execute("UPDATE groupapp_member_roles set {$locale}_name ='Администратор' WHERE id = 2"); + $this->execute("UPDATE groupapp_member_roles set {$locale}_name ='Модератор' WHERE id = 3"); + $this->execute("UPDATE groupapp_member_roles set {$locale}_name ='Участник' WHERE id = 4"); } function down_1() Modified: app/models/groupapp_group.php =================================================================== --- app/models/groupapp_group.php 2008-04-13 13:26:14 UTC (rev 120) +++ app/models/groupapp_group.php 2008-04-14 16:59:39 UTC (rev 121) @@ -2,6 +2,10 @@ class GroupappGroup extends ActiveRecord { + var $has_one = array('group_member' => array('class_name' => 'GroupappMember', + 'foreign_key' => 'group_id'), + ); + function validateOnCreate () { $this->validatesPresenceOf('name', 'Name is missing|please enter the name'); Added: app/models/groupapp_member.php =================================================================== --- app/models/groupapp_member.php (rev 0) +++ app/models/groupapp_member.php 2008-04-14 16:59:39 UTC (rev 121) @@ -0,0 +1,10 @@ +<?php + +class GroupappMember extends ActiveRecord +{ + var $belongs_to = array('user' => array('class_name' => 'User', 'primary_key_name' => 'user_id'), + 'role' => array('class_name' => 'GroupMemberRole', 'primary_key_name' => 'role_id') + ); +} + +?> Added: app/models/groupapp_member_role.php =================================================================== --- app/models/groupapp_member_role.php (rev 0) +++ app/models/groupapp_member_role.php 2008-04-14 16:59:39 UTC (rev 121) @@ -0,0 +1,7 @@ +<?php + +class GroupappMemberRole extends ActiveRecord +{ +} + +?> Modified: app/views/groupapp/group/_bar.tpl =================================================================== --- app/views/groupapp/group/_bar.tpl 2008-04-13 13:26:14 UTC (rev 120) +++ app/views/groupapp/group/_bar.tpl 2008-04-14 16:59:39 UTC (rev 121) @@ -2,10 +2,10 @@ <div class="left"> <ul class="toggle_minitabs"> <li class="first"><a href="/groupapp/group/create" class="<?= $step == 'group_info' ? 'selected' : '' ?>">_{Step} 1: _{Group Info}</a></li><? - ?><li><a href="/groupapp/group/customize/{group_id?}" class="<? if ($step == 'group_customize') { echo 'selected'; } + ?><li><a href="/groupapp/group/customize/{group.id?}" class="<? if ($step == 'group_customize') { echo 'selected'; } else if ($step == 'group_members') { echo ''; } else echo 'disabled' ?>">_{Step} 2: _{Customize}</a></li><? - ?><li><a href="/groupapp/group/members/{group_id?}" class="<? if ($step == 'group_members') { echo 'selected'; } + ?><li><a href="/groupapp/group/edit_members/{group.id?}" class="<? if ($step == 'group_members') { echo 'selected'; } else echo 'disabled' ?>">_{Step} 3: _{Members}</a></li> </ul> </div> Modified: app/views/groupapp/group/create.tpl =================================================================== --- app/views/groupapp/group/create.tpl 2008-04-13 13:26:14 UTC (rev 120) +++ app/views/groupapp/group/create.tpl 2008-04-14 16:59:39 UTC (rev 121) @@ -11,7 +11,7 @@ <div class="form_editor"> <?= $controller->renderErrors() ?> - <form action="/groupapp/group/create" method="post"> + <form action="/groupapp/group/create/{id}" method="post"> <table class="editor"> <tbody> <tr> Modified: app/views/groupapp/group/customize.tpl =================================================================== --- app/views/groupapp/group/customize.tpl 2008-04-13 13:26:14 UTC (rev 120) +++ app/views/groupapp/group/customize.tpl 2008-04-14 16:59:39 UTC (rev 121) @@ -10,7 +10,7 @@ <?= $controller->renderPartial("bar") ?> <div class="editform"> - <form action="/groupapp/group/customize/{group_id?}" method="post"> + <form action="/groupapp/group/customize/{group.id?}" method="post"> <div class="picture"></div> <div class="formrow"> @@ -28,7 +28,7 @@ <div class="formrow"> <label>_{Options}:</label> <div class="formcol"> - <label class="checkbox"><?= $form_helper->check_box('group', 'show_related_groups', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Show related groups}.</label> + <label class="checkbox"><?= $form_helper->check_box('group', 'show_related_groups', array('class' => 'checkboxinput')) ?> _{Show related groups}.</label> </div> <div class="clearfix"></div> </div> @@ -36,7 +36,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <label class="checkbox"><?= $form_helper->check_box('group', 'enable_discussion_board', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Enable discussion board}.</label> + <label class="checkbox"><?= $form_helper->check_box('group', 'show_discussion_board', array('class' => 'checkboxinput')) ?> _{Enable discussion board}.</label> </div> <div class="clearfix"></div> </div> @@ -44,7 +44,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <label class="checkbox"><?= $form_helper->check_box('group', 'enable_the_wall', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Enable the Wall}.</label> + <label class="checkbox"><?= $form_helper->check_box('group', 'show_wall', array('class' => 'checkboxinput')) ?> _{Enable the Wall}.</label> </div> <div class="clearfix"></div> </div> @@ -52,7 +52,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <label class="checkbox"><?= $form_helper->check_box('group', 'enable_photos', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Enable photos}.</label> + <label class="checkbox"><?= $form_helper->check_box('group', 'show_photos', array('class' => 'checkboxinput')) ?> _{Enable photos}.</label> </div> <div class="clearfix"></div> </div> @@ -60,8 +60,8 @@ <label> </label> <div class="formcol"> <div class="formblock border"> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'photo_member', 'members', array('checked' => 'checked')) ?> _{Allow all members to upload photos}.</label> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'photo_member', 'admins') ?> _{Only allow admins to upload photos}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'photo_member', '0', array('checked' => 'checked')) ?> _{Allow all members to upload photos}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'photo_member', '1') ?> _{Only allow admins to upload photos}.</label> <div class="clearfix"></div> </div> </div> @@ -71,7 +71,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <label class="checkbox"><?= $form_helper->check_box('group', 'enable_videos', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Enable videos}.</label> + <label class="checkbox"><?= $form_helper->check_box('group', 'show_videos', array('class' => 'checkboxinput')) ?> _{Enable videos}.</label> </div> <div class="clearfix"></div> </div> @@ -79,8 +79,8 @@ <label> </label> <div class="formcol"> <div class="formblock border"> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'video_member', 'members', array('checked' => 'checked')) ?> _{Allow all members to upload videos}.</label> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'video_member', 'admins') ?> _{Only allow admins to upload videos}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'video_member', '0', array('checked' => 'checked')) ?> _{Allow all members to upload videos}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'video_member', '1') ?> _{Only allow admins to upload videos}.</label> <div class="clearfix"></div> </div> </div> @@ -90,7 +90,7 @@ <div class="formrow"> <label>_{Access}:</label> <div class="formcol"> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'access', 'open', array('checked' => 'checked')) ?> _{This group is open}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'access', '0', array('checked' => 'checked')) ?> _{This group is open}.</label> </div> <div class="clearfix"></div> </div> @@ -107,7 +107,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'access', 'closed') ?> _{This group is closed}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'access', '1') ?> _{This group is closed}.</label> </div> <div class="clearfix"></div> </div> @@ -124,7 +124,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <label class="radiobutton"><?= $form_helper->radio_button('group', 'access', 'secret') ?> _{This group is secret}.</label> + <label class="radiobutton"><?= $form_helper->radio_button('group', 'access', '2') ?> _{This group is secret}.</label> </div> <div class="clearfix"></div> </div> @@ -141,7 +141,7 @@ <div class="formrow"> <label>_{Publicize}:</label> <div class="formcol"> - <label class="checkbox"><?= $form_helper->check_box('group', 'is_show_in_search', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Show this group in search results}.</label> + <label class="checkbox"><?= $form_helper->check_box('group', 'show_in_search', array('class' => 'checkboxinput', 'checked' => 'checked')) ?> _{Show this group in search results}.</label> </div> <div class="clearfix"></div> </div> @@ -149,7 +149,7 @@ <div class="formrow"> <label> </label> <div class="formcol"> - <input class="submitinput" type="submit" value="_{Create Group}"> + <input class="submitinput" type="submit" value="_{Save Changes}"> <input class="cancelinput" type="button" value="_{Cancel}"> </div> <div class="clearfix"></div> Added: app/views/groupapp/group/edit_members.tpl =================================================================== --- app/views/groupapp/group/edit_members.tpl (rev 0) +++ app/views/groupapp/group/edit_members.tpl 2008-04-14 16:59:39 UTC (rev 121) @@ -0,0 +1,50 @@ +<?= $controller->renderPartial("menu") ?> + +<div class="title_bar"> + <div class="head"> + <div class="name groupapp">_{Invite people to} {group_name?}</div> + </div> +</div> +<div class="clearfix"></div> + +<?= $controller->renderPartial("bar") ?> + +<div class="formwrapper"> +<form action="/groupapp/group/edit_members/{group.id?}" method="post"> + <div class="invite_column"> + <div class="header_text">_{Invite Friends on PROJECT_NAME}:</div> + <div class="friends_list"></div> + <div class="submit"> + <input class="submitinput" type="submit" value="_{Invite Friends}"> + </div> + </div> + + <div class="members"> + <div class="submenushort"> + <div class="menu_block selector"> + <label for="action_select">_{Show}: + <select onchange="doselect(this)" id="action_select" name="action_select"> + <option selected="selected" value="members">_{Members}</option> + <option value="not_replied">_{Not Yet Replied}</option> + <option value="blocked">_{Blocked}</option> + </select> + </label> + </div> + </div> + <div class="list_header"> + _{Members}: <? if (isset($members)) { echo count($members); } else { echo '0'; } ?> _{out of} <? if (isset($members)) { echo count($members); } else { echo '0'; } ?> + </div> + <div class="members_list"> + {?members}{loop members} + <div class="row"> + <div class="member_name"><a href="/profile/show/{member.id}">{member.user.name}</a></div> + <div class="action"><a href="#" onclick="return false;">_{remove}</a></div> + </div> + {end}{end} + </div> + </div> + + <div class="clearfix"></div> + +</form> +</div> Modified: app/views/groupapp/group/members.tpl =================================================================== --- app/views/groupapp/group/members.tpl 2008-04-13 13:26:14 UTC (rev 120) +++ app/views/groupapp/group/members.tpl 2008-04-14 16:59:39 UTC (rev 121) @@ -1,46 +0,0 @@ -<?= $controller->renderPartial("menu") ?> - -<div class="title_bar"> - <div class="head"> - <div class="name groupapp">_{Invite people to} {group_name?}</div> - </div> -</div> -<div class="clearfix"></div> - -<?= $controller->renderPartial("bar") ?> - -<div class="formwrapper"> -<form action="/groupapp/group/edit_members/{group_id?}" method="post"> - <div class="invite_column"> - <div class="header_text">_{Invite Friends on PROJECT_NAME}:</div> - <div class="friends_list"></div> - <div class="submit"> - <input class="submitinput" type="submit" value="_{Invite Friends}"> - </div> - </div> - - <div class="members"> - <div class="submenushort"> - <div class="menu_block selector"> - <label for="action_select">_{Show}: - <select onchange="doselect(this)" id="action_select" name="action_select"> - <option selected="selected" value="members">_{Members}</option> - <option value="not_replied">_{Not Yet Replied}</option> - <option value="blocked">_{Blocked}</option> - </select> - </label> - </div> - </div> - <div class="list_header"> - _{Members}: 0 _{out of} 0 - </div> - <div class="members_list"> - </div> - </div> - - - <div class="clearfix"></div> - -</form> -</div> - Modified: app/views/profile/show.tpl =================================================================== --- app/views/profile/show.tpl 2008-04-13 13:26:14 UTC (rev 120) +++ app/views/profile/show.tpl 2008-04-14 16:59:39 UTC (rev 121) @@ -1 +1 @@ -<?= $user->email ?> \ No newline at end of file +{user.email?} \ No newline at end of file Modified: public/stylesheets/Application.css =================================================================== --- public/stylesheets/Application.css 2008-04-13 13:26:14 UTC (rev 120) +++ public/stylesheets/Application.css 2008-04-14 16:59:39 UTC (rev 121) @@ -555,7 +555,7 @@ color: #000000; text-align: left; padding: 3px 0px 3px 0px; - width: 300px; + width: 400px; } .formrow .formcol { Modified: public/stylesheets/groupapp/Group.css =================================================================== --- public/stylesheets/groupapp/Group.css 2008-04-13 13:26:14 UTC (rev 120) +++ public/stylesheets/groupapp/Group.css 2008-04-14 16:59:39 UTC (rev 121) @@ -175,4 +175,20 @@ .members .members_list { background: #ffffff; height: 240px; + overflow: auto; +} + +.members_list .row { + border-bottom: 1px solid #dddddd; + float: left; +} + +.members_list .row .member_name { + margin: 5px 0px 5px 15px; + float: left; +} + +.members_list .row .action { + float: right; + margin: 5px 12px 5px 0px; } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |