Created
July 5, 2012 21:23
-
-
Save gabrielhurley/3056565 to your computer and use it in GitHub Desktop.
structure for project membership HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="combo-box"> | |
<div class="header"># Title, actions, filters</div> | |
<ul class="items"> | |
<li class="item" data-user-id="<user_id>"> | |
<span># Name</span> | |
<a href="#add/remove"># Add/Remove</a> | |
<ul class="role dropdown"> # For "included" box only | |
<li data-role-id="<role_id>"># Role name</li> | |
</ul> | |
</li> | |
</ul> | |
</div> | |
<div class="hide"> | |
<select name="role_<role_id>_users"> # One for each role | |
<option value="<user_id>"># User name</option> # Added for each user that's available | |
<option value="<user_id>" selected="selected"># User name</option> # Selected to mark as having that role | |
</select> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment