-
Notifications
You must be signed in to change notification settings - Fork 231
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 #1068 from spadgett/paste-certs
Merged by openshift-bot
- Loading branch information
Showing
11 changed files
with
218 additions
and
157 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,40 @@ | ||
<div ng-attr-id="{{dropMessageID}}" class="drag-and-drop-zone"> | ||
<p>Drop file here</p> | ||
</div> | ||
<div class="input-group"> | ||
<input | ||
type="text" | ||
class="form-control" | ||
ng-model="fileName" | ||
readonly | ||
ng-show="supportsFileUpload" | ||
<div class="osc-file-input"> | ||
<div ng-attr-id="{{dropMessageID}}" class="drag-and-drop-zone"> | ||
<p>Drop file here</p> | ||
</div> | ||
<div class="input-group"> | ||
<input | ||
type="text" | ||
class="form-control" | ||
ng-model="fileName" | ||
readonly | ||
ng-show="supportsFileUpload" | ||
ng-disabled="disabled" | ||
ng-attr-aria-describedby="{{helpText ? helpID : undefined}}"> | ||
<span class="input-group-btn"> | ||
<span class="btn btn-default btn-file" ng-show="supportsFileUpload" ng-attr-disabled="{{ disabled || undefined }}"> | ||
Browse… | ||
<input type="file" ng-disabled="disabled" class="form-control"> | ||
</span> | ||
</span> | ||
</div> | ||
<div ng-if="helpText"> | ||
<span ng-attr-id="{{helpID}}" class="help-block">{{::helpText}}</span> | ||
</div> | ||
<div class="has-error" ng-show="uploadError"> | ||
<span class="help-block">There was an error reading the file. Please copy the file content into the text area.</span> | ||
</div> | ||
<textarea class="form-control" | ||
rows="5" | ||
ng-show="showTextArea || !supportsFileUpload" | ||
ng-model="model" | ||
ng-required="required" | ||
ng-disabled="disabled" | ||
autocorrect="off" | ||
autocapitalize="off" | ||
spellcheck="false" | ||
ng-attr-aria-describedby="{{helpText ? helpID : undefined}}"> | ||
<span class="input-group-btn"> | ||
<span class="btn btn-default btn-file" ng-show="supportsFileUpload" ng-attr-disabled="{{ disabled || undefined }}"> | ||
Browse… | ||
<input type="file" ng-disabled="disabled" class="form-control"> | ||
</span> | ||
</span> | ||
</div> | ||
<textarea class="form-control" | ||
rows="8" | ||
ng-hide="supportsFileUpload" | ||
ng-model="model" | ||
ng-required="required" | ||
ng-disabled="disabled" | ||
ng-attr-aria-describedby="{{helpText ? helpID : undefined}}"> | ||
</textarea> | ||
<div ng-if="helpText"> | ||
<span ng-attr-id="{{helpID}}" class="help-block">{{::helpText}}</span> | ||
</div> | ||
<div class="has-error" ng-show="uploadError"> | ||
<span class="help-block">There was an error reading the file. Please copy the file content into the text area.</span> | ||
</div> | ||
</textarea> | ||
|
||
<div ng-if="model && showValues && supportsFileUpload"> | ||
<pre ng-if="model && showValues && supportsFileUpload" class="clipped scroll">{{model}}</pre> | ||
<a href="" ng-show="(model || fileName) && !disabled" ng-click="cleanInputValues()">Clear Value</a> | ||
</div> | ||
<a href="" ng-show="model || fileName" class="clear-btn" ng-click="cleanInputValues()">Clear Value</a> |
Oops, something went wrong.