github.com/marinho/drone@v0.2.1-0.20140504195434-d3ba962e89a7/pkg/template/pages/team_members.html (about)

     1  {{ define "title" }}{{.Team.Name}} ยท Profile{{ end }}
     2  
     3  {{ define "content" }}
     4  
     5  	<div class="subhead">
     6  		<div class="container">
     7  			<ul class="nav nav-tabs pull-right">
     8  				<li>
     9  					<a href="/dashboard/team/{{.Team.Slug}}">Dashboard</a>
    10  				</li>
    11  				<li class="active">
    12  					<a href="/account/team/{{.Team.Slug}}/profile">Team Settings</a>
    13  				</li>
    14  			</ul> <!-- ./nav -->
    15  			<h1 class="user">
    16  				<img src="{{.Team.Image}}">
    17  				<span>{{.Team.Name}}</span>
    18  			</h1>
    19  		</div><!-- ./container -->
    20  	</div><!-- ./subhead -->
    21  
    22  
    23  	<div class="container">
    24  		<div class="row">
    25  
    26  			<div class="col-xs-3">
    27  				<ul class="nav nav-pills nav-stacked">
    28  					<li><a href="/account/team/{{.Team.Slug}}/profile">Profile</a></li>
    29  					<li class="active"><a href="/account/team/{{.Team.Slug}}/members">Members</a></li>
    30  					<li><a href="/account/team/{{.Team.Slug}}/delete">Delete</a></li>
    31  				</ul>
    32  			</div><!-- ./col-xs-3 -->
    33  
    34  			<div class="col-xs-9" role="main" style="padding-left:20px;">
    35  				<div class="alert">Members share access to all Repositories owned by this Team account.</div>
    36  				<div class="row gravatar-list">
    37  					<span class="col-xs-3">
    38  						<a class="thumbnail team-add" href="/account/team/{{.Team.Slug}}/members/add">
    39  							<span>
    40  								<i class="fa fa-group"></i>
    41  							</span>
    42  							<div class="caption">
    43  								<h3>add members</h3>
    44  							</div>
    45  						</a>
    46  					</span>
    47  					{{ $teamSlug := .Team.Slug }}
    48  					{{ range .Members }}
    49  					<span class="col-xs-3">
    50  						<a class="thumbnail" href="/account/team/{{$teamSlug}}/members/edit?id={{.ID}}">
    51  							<img src="{{.ImageLarge}}">
    52  							<div class="caption">
    53  								<h3>{{.Name}}</h3>
    54  							</div>
    55  						</a>
    56  					</span>
    57  					{{ end }}
    58  				</div>
    59  			</div><!-- ./col-xs-9 -->
    60  		</div><!-- ./row -->
    61  	</div><!-- ./container -->
    62  {{ end }}
    63  
    64  {{ define "script" }}
    65  {{ end }}