-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #820 from IntegratedBreedingPlatform/IBP-3094-IBP-…
…3095-AddEnvironmentAndIterateDesign IBP-3094 IBP-3095 Add Environment and Iterate Design
- Loading branch information
Showing
23 changed files
with
403 additions
and
201 deletions.
There are no files selected for viewing
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
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
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
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
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
16 changes: 16 additions & 0 deletions
16
.../webapp/WEB-INF/static/angular-templates/generateDesign/generateDesignInstancesTable.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<table datatable="ng" dt-options="dtOptions" class="table table-curved table-condensed" width="100%"> | ||
<thead> | ||
<tr> | ||
<th><input type="checkbox" ng-model="ctrl.isSelectAll" ng-click="toggleSelect(ctrl.isSelectAll)"></th> | ||
<th>TRIAL_INSTANCE</th> | ||
<th>LOCATION_NAME</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr ng-repeat="instance in instances | filter: { canBeDeleted: true }"> | ||
<td><input type="checkbox" ng-click="select(instance[instanceNumber])" ng-model="selectedInstances[instance[instanceNumber]]"/></td> | ||
<td>{{::instance.instanceNumber}}</td> | ||
<td>{{::instance.locationName}} - ({{::instance.locationAbbreviation}})</td> | ||
</tr> | ||
</tbody> | ||
</table> |
39 changes: 39 additions & 0 deletions
39
src/main/webapp/WEB-INF/static/angular-templates/generateDesign/selectEnvironmentModal.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<div class="modal-body"> | ||
<div class="row form-group"> | ||
<div class="col-xs-11 col-md-11"> | ||
<label class="modal-title fbk-modal-title" id="heading-modal">Generate Design</label> | ||
</div> | ||
<div class="col-xs-1 col-md-1"> | ||
<button ng-click="cancel()" type="button" class="close pull-right glyphicon glyphicon-remove"></button> | ||
</div> | ||
</div> | ||
<div class="separator"></div> | ||
<br/> | ||
<div class="row form-group"> | ||
<div class="col-xs-12 col-md-12"> | ||
<label class=""><em> <span class="required">*</span> indicates a mandatory field</em></label> | ||
</div> | ||
</div> | ||
|
||
<div class="row form-group"> | ||
<div class="col-xs-12 col-md-12"> </div> | ||
<div class="col-xs-12 col-md-12"> | ||
<label class="control-label h4 label-bold">STUDY ENVIRONMENT</label> | ||
</div> | ||
<div class="col-xs-12 col-md-12"> </div> | ||
<div class="col-xs-12 col-md-12"> | ||
<label class="control-label label-bold">Choose the study environment you would like to generate the design: <span class="required">*</span></label> | ||
</div> | ||
<div class="col-xs-12 col-md-12"> </div> | ||
<div class="col-xs-12 col-md-12"> | ||
<generate-design-instances-table instances="instances" selected-instances="selectedInstances" has-experimental-design="hasExperimentalDesign" | ||
can-be-deleted="canBeDeleted" instance-number="instanceNumber" | ||
is-empty-selection="isEmptySelection" ></generate-design-instances-table> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button class="btn btn-default" ng-click="cancel()">Cancel</button> | ||
<button class="btn btn-primary" ng-disabled="isEmptySelection" ng-click="validateSelectedEnvironments()">Generate</button> | ||
</div> |
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
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
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
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
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
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
Oops, something went wrong.