Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spock-ui: update look and feel for servers tab
Change-Id: Ic35ac1dbd1601abfb8b9bb6fdcb4c1cd4e7364d0 Reviewed-on: http://review.couchbase.org/65125 Tested-by: Pavel Blagodov <stochmail@gmail.com> Reviewed-by: Dave Finlay <dave.finlay@couchbase.com>
- Loading branch information
1 parent
6a56a1f
commit 22dd0b8
Showing
15 changed files
with
794 additions
and
640 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
44 changes: 33 additions & 11 deletions
44
priv/public/ui/app/components/directives/mn_services/mn_services.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
47 changes: 22 additions & 25 deletions
47
priv/public/ui/app/components/directives/mn_storage_mode/mn_storage_mode.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 |
---|---|---|
@@ -1,27 +1,24 @@ | ||
<div class="storage-mode row"> | ||
<div class="error-container err-indexMemoryQuota" ng-show="errors.storageMode"> | ||
{{errors.storageMode | mnFormatStorageModeError}} | ||
<label for="index_ram_quota" ng-hide="noLabel">Index Storage Setting:</label> | ||
<div class="checkbox-list storage-mode"> | ||
<div class="indent-1"> | ||
<input | ||
type="radio" | ||
value="forestdb" | ||
id="storage_mode_forestdb" | ||
ng-model="config.storageMode" | ||
ng-disabled="isDisabled"> | ||
<label for="storage_mode_forestdb" class="checkbox">Standard Global Secondary Indexes</label> | ||
</div> | ||
<div class="indent-1"> | ||
<input | ||
type="radio" | ||
value="memory_optimized" | ||
id="storage_memory_optimized" | ||
ng-model="config.storageMode" | ||
ng-disabled="isDisabled"> | ||
<label for="storage_memory_optimized" class="checkbox">Memory-Optimized Global Secondary Indexes</label> | ||
</div> | ||
<label for="index_ram_quota" ng-hide="noLabel" style="display: inline-block; vertical-align: top;">Index Storage Setting:</label> | ||
<div style="display: inline-block;"> | ||
<div> | ||
<input | ||
type="radio" | ||
value="forestdb" | ||
id="storage_mode_forestdb" | ||
ng-model="config.storageMode" | ||
ng-disabled="isDisabled" | ||
> | ||
<label for="storage_mode_forestdb" style="width:auto;margin-right:5px;">Standard Global Secondary Indexes</label> | ||
</div> | ||
<div> | ||
<input | ||
type="radio" | ||
value="memory_optimized" | ||
id="storage_memory_optimized" | ||
ng-model="config.storageMode" | ||
ng-disabled="isDisabled"> | ||
<label for="storage_memory_optimized" style="width:auto;">Memory-Optimized Global Secondary Indexes</label> | ||
</div> | ||
<div class="error error-field" ng-show="errors.storageMode"> | ||
{{errors.storageMode | mnFormatStorageModeError}} | ||
</div> | ||
</div> | ||
</div> |
4 changes: 2 additions & 2 deletions
4
priv/public/ui/app/components/directives/mn_vertical_bar/mn_vertical_bar.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="vertical_bar" ng-if="conf.exist"> | ||
<div class="used" ng-style="{height: conf.height + '%', top: conf.top + '%'}"></div> | ||
</div> | ||
<div class="wrap" ng-if="conf.exist">{{conf.value | mnTruncateTo3Digits}}%</div> | ||
<div class="not_active" ng-if="!conf.exist">N/A</div> | ||
<span ng-show="conf.exist">{{conf.value | mnTruncateTo3Digits}}%</span> | ||
<span ng-show="!conf.exist">N/A</span> |
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.