[Isocial-svn] SF.net SVN: isocial: [287] public/stylesheets/groupapp
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <di...@us...> - 2008-07-14 18:35:30
|
Revision: 287 http://isocial.svn.sourceforge.net/isocial/?rev=287&view=rev Author: dim0s77 Date: 2008-07-14 11:35:39 -0700 (Mon, 14 Jul 2008) Log Message: ----------- created basis of friends selector Modified Paths: -------------- app/application_controller.php app/views/groupapp/group/edit_members.tpl app/views/layouts/application.tpl public/stylesheets/groupapp/Group.css Added Paths: ----------- public/stylesheets/friend_selector.css Modified: app/application_controller.php =================================================================== --- app/application_controller.php 2008-07-14 18:27:43 UTC (rev 286) +++ app/application_controller.php 2008-07-14 18:35:39 UTC (rev 287) @@ -21,7 +21,7 @@ var $_errors = array(); var $app_models = array('User', 'Message', 'BaseFile', 'StoredFile'); - var $app_helpers = array('AutoComplete', 'City', 'Dialog', 'AccessField', 'ArrayPagination'); + var $app_helpers = array('AutoComplete', 'City', 'Dialog', 'AccessField', 'ArrayPagination', 'FriendSelector'); var $uploaded_files = array(); var $current_user; Modified: app/views/groupapp/group/edit_members.tpl =================================================================== --- app/views/groupapp/group/edit_members.tpl 2008-07-14 18:27:43 UTC (rev 286) +++ app/views/groupapp/group/edit_members.tpl 2008-07-14 18:35:39 UTC (rev 287) @@ -10,15 +10,17 @@ <?= $controller->renderErrors() ?> <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 class="invite_column"> + <div class="header_text">_{Invite Friends on PROJECT_NAME}:</div> + <div class="friends_list"> + <?= $friend_selector_helper->row_selector('current_user', 'email_access', array('show_groups' => true)); ?> </div> + <div class="submit"> + <input class="submitinput" type="submit" value="_{Invite Friends}"> + </div> + </div> + <form action="/groupapp/group/edit_members/{group.id?}" method="post"> <div class="members"> <div class="submenushort"> @@ -130,7 +132,7 @@ </div> <div class="clearfix"></div> -</form> + </form> </div> <script> Modified: app/views/layouts/application.tpl =================================================================== --- app/views/layouts/application.tpl 2008-07-14 18:27:43 UTC (rev 286) +++ app/views/layouts/application.tpl 2008-07-14 18:35:39 UTC (rev 287) @@ -6,6 +6,7 @@ <link href="/stylesheets/autocomplete.css" rel="stylesheet" type="text/css"> <link href="/stylesheets/dialog.css" rel="stylesheet" type="text/css"> <link href="/stylesheets/Application.css" rel="stylesheet" type="text/css"> +<link href="/stylesheets/friend_selector.css" rel="stylesheet" type="text/css"> <? if ($controller->getModuleName()) : ?> <link href="/stylesheets/<?= $controller->getModuleName() . '/' . ucfirst($controller->getModuleName()) ?>.css" rel="stylesheet" type="text/css"> <? endif ?> Added: public/stylesheets/friend_selector.css =================================================================== --- public/stylesheets/friend_selector.css (rev 0) +++ public/stylesheets/friend_selector.css 2008-07-14 18:35:39 UTC (rev 287) @@ -0,0 +1,48 @@ +.friend_selector { + margin: 0px; + background: #ffffff; + border: 1px solid #cccccc; +} + +.friend_selector .content { + background: #ffffff; + border: 1px solid #6d84b4; + margin: 15px 2px 10px 2px; + padding: 10px 1px 2px 1px; +} + +.friend_selector .content .content_title { + margin: -19px 0px 0px 5px; + padding: 3px; + background: #ffffff; + border-left: 1px solid #6d84b4; + border-right: 1px solid #6d84b4; + float: left; + font-weight: bold; +} + +.friend_selector .content .friend_row { + background: #ffffff; + border-bottom: 1px solid #cccccc; + padding: 3px 2px 3px 2px; +} + +.friend_selector .content .friend_row.first { + border-top: 1px solid #cccccc; + +} + +.friend_selector .content .friend_row .friend_check { + padding: 6px 2px 0px 0px; + float: left; +} + +.friend_selector .content .friend_row .friend_photo { + float: left; +} + +.friend_selector .content .friend_row .friend_name { + padding: 9px 0px 0px 4px; + float: left; +} + Modified: public/stylesheets/groupapp/Group.css =================================================================== --- public/stylesheets/groupapp/Group.css 2008-07-14 18:27:43 UTC (rev 286) +++ public/stylesheets/groupapp/Group.css 2008-07-14 18:35:39 UTC (rev 287) @@ -73,10 +73,7 @@ } .invite_column .friends_list { - margin: 0px 10px 5px 10px; - background: #ffffff; - border: 1px solid #cccccc; - height: 230px; + padding: 0px 10px 5px 10px; } .invite_column .submit { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |