@@ -151,27 +151,28 @@ <h3>Projects</h3>
151
151
</ ul >
152
152
</ div >
153
153
</ div >
154
+
154
155
< div class ="tab-pane " id ="manual-setup ">
155
156
{% for item in manual %}
156
157
< div id ="manual-{{ loop.key }} " ng-controller ="ManualController ">
157
158
< form name ="create{{ loop.key }} ">
158
159
< h3 > {{ item.provider.title }}</ h3 >
159
160
< div class ="general ">
160
161
< p >
161
- < small > Public projects are visible to unauthenticated users.</ small >
162
- < div ng-model ="public " class ="btn public-btn " btn-checkbox > Public</ div >
162
+ < small > Public projects are visible to unauthenticated users.</ small >
163
+ < div ng-model ="public " class ="btn public-btn " btn-checkbox > Public</ div >
163
164
</ p >
164
165
165
166
< p >
166
- < small > Provides a link in the UI if you put a url there, so you can easily jump to viewing the repo on github or wherever </ small >
167
- < br / >
168
- < input type =" text " ng-model =" display_url " placeholder =" Display Url " >
167
+ < label for =" manual-display- url" class =" bold-label " > Link To Repository </ label >
168
+ < input id =" manual-display-url " type =" text " ng-model =" display_url " placeholder =" Display Url " >
169
+ < small > Provides a link in the UI so you can easily jump to viewing the project's repository wherever it's hosted. </ small >
169
170
</ p >
170
171
171
172
< p >
172
- < small > A github-style namespace/name combination for the project. e.g. Strider-CD/strider </ small >
173
- < br / >
174
- < input type =" text " required ng-pattern =" /[\w-]\/[\w-]/ " ng-model =" display_name " placeholder =" Name " >
173
+ < label for =" manual- namespace" class =" bold-label " > Project Namespace (required) </ label >
174
+ < input id =" manual-namespace " type =" text " required ng-pattern =" /[\w-]\/[\w-]/ " ng-model =" display_name " placeholder =" Name " >
175
+ < small > A Github-style namespace/name combination for the project. e.g. Strider-CD/strider </ small >
175
176
</ p >
176
177
</ div >
177
178
@@ -186,16 +187,50 @@ <h3>{{ item.provider.title }}</h3>
186
187
< a ng-show ="project.display_url " href ="[[ project.display_url ]] " target ="_blank " class ="hosted-url ">
187
188
< i class ="fa fa-globe "> </ i >
188
189
</ a >
190
+
189
191
< a class ="view-jobs " href ="/[[ project.name ]]/ "> [[ project.display_name ]]</ a >
190
- < div class ="pull-right ">
191
- < button ng-show ="project.really_remove " class ="btn btn-danger " ng-click ="remove(project) " ng-disabled ="project.really_remove === 'removing' ">
192
- < i class ="fa fa-refresh fa-spin " ng-show ="project.really_remove === 'removing' "> </ i >
193
- Really remove
194
- </ button >
195
- < a href ="/[[ project.name ]]/config " data-toggle ="tooltip " title ="Configure "> < i class ="fa fa-wrench "> </ i > </ a >
196
- < button class ="btn btn-danger " ng-click ="project.really_remove = true " ng-disabled ="project.really_remove "> Remove</ button >
197
- < button ng-disabled ="repo.adding " class ="btn btn-primary " ng-click ="repo.adding = 'pick-type' "> Add</ button >
192
+
193
+ < div class ="pull-right ">
194
+ < button ng-show ="project.really_remove " class ="btn btn-danger " ng-click ="remove(project) " ng-disabled ="project.really_remove === 'removing' ">
195
+ < i class ="fa fa-refresh fa-spin " ng-show ="project.really_remove === 'removing' "> </ i >
196
+ Really remove
197
+ </ button >
198
+ < a href ="/[[ project.name ]]/config " data-toggle ="tooltip " title ="Configure "> < i class ="fa fa-wrench "> </ i > </ a >
199
+ < button class ="btn btn-danger " ng-click ="project.really_remove = true " ng-disabled ="project.really_remove "> Remove</ button >
200
+ < button ng-disabled ="repo.adding " class ="btn btn-primary " ng-click ="repo.adding = 'pick-type' "> Add</ button >
201
+ </ div >
202
+ <!--
203
+ <div class="adding-repo pull-right" ng-show="repo.adding" ng-switch="repo.adding">
204
+ <div class="pick-type" ng-switch-when="pick-type">
205
+ <span class="text">What type of project?</span>
206
+ {% for type in project_types %}
207
+ <div data-toggle="tooltip"
208
+ data-placement="bottom"
209
+ title="{{ type.description }}"
210
+ class="project-type btn"
211
+ ng-click="repo.adding = 'loading'; setupProject(account, repo, '{{ loop.key }}', group)">
212
+ {{ loop.key }}
213
+ </div>
214
+ {% endfor %}
215
+ </div>
216
+ <div ng-switch-when="loading" class="setting-up">
217
+ <span class="text">
218
+ Setting up
219
+ <i class="fa fa-refresh fa-spin"></i>
220
+ </span>
221
+ </div>
222
+ <div ng-switch-when="done">
223
+ <button type="button" class="close" ng-click="repo.adding=false">×</button>
224
+ <span class="text">Complete!</span>
225
+ <div class="btn btn-success" ng-click="startTest(repo)">
226
+ Start the first test
227
+ </div>
228
+ <a class="btn" href="/[[ repo.project.name ]]/config">
229
+ Configure
230
+ </a>
231
+ </div>
198
232
</div>
233
+ -->
199
234
</ div >
200
235
</ li >
201
236
</ ul >
0 commit comments