Move config handling into a provider class to make testing much easier
This commit is contained in:
parent
c0c27648ea
commit
6d604a656a
8 changed files with 207 additions and 121 deletions
|
@ -4923,6 +4923,7 @@ i.slack-icon {
|
|||
border: 1px solid #eee;
|
||||
vertical-align: middle;
|
||||
padding: 4px;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
.modal-footer.alert {
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
<span ng-show="uploadProgress == null">
|
||||
<span ng-if="hasFile"><code>{{ filename }}</code></span>
|
||||
<span class="nofile" ng-if="!hasFile"><code>{{ filename }}</code> not found in mounted config directory: </span>
|
||||
<span ng-if="!hasFile">
|
||||
<input type="file" ng-file-select="onFileSelect($files)">
|
||||
</span>
|
||||
<input type="file" ng-file-select="onFileSelect($files)">
|
||||
</span>
|
||||
<span ng-show="uploadProgress != null">
|
||||
Uploading file as <strong>{{ filename }}</strong>... {{ uploadProgress }}%
|
||||
|
|
Reference in a new issue