Add a namespace selector for choosing the namespace in the new repo view

This commit is contained in:
Joseph Schorr 2013-11-01 17:35:26 -04:00
parent d7148b1711
commit 1f0b142535
6 changed files with 75 additions and 6 deletions

View file

@ -28,8 +28,12 @@
<div class="col-md-8">
<div class="section">
<div class="new-header">
<span class="repo-circle no-background" repo="repo"></span>
<span style="color: #444;"> {{user.username}}</span> <span style="color: #ccc">/</span> <span class="name-container"><input id="repoName" name="repoName" type="text" class="form-control" placeholder="Repository Name" ng-model="repo.name" required autofocus></span>
<span style="color: #444;">
<span class="namespace-selector" user="user" namespace="repo.namespace"></span>
<span style="color: #ccc">/</span>
<span class="name-container">
<input id="repoName" name="repoName" type="text" class="form-control" placeholder="Repository Name" ng-model="repo.name" required autofocus>
</span>
</div>
</div>