mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
Move drive selector warning labels below the drive (#483)
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
8aa7bcd952
commit
a5fbe40b2d
@ -6448,8 +6448,8 @@ button.btn:focus, button.progress-button:focus {
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
.component-drive-selector-body .list-group-item-header {
|
||||
margin-bottom: 8px; }
|
||||
.component-drive-selector-body .list-group-item-footer {
|
||||
margin-top: 8px; }
|
||||
|
||||
.component-drive-selector-body .list-group-item[disabled] .list-group-item-heading {
|
||||
color: #aaaaaa; }
|
||||
|
@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
.component-drive-selector-body .list-group-item-header {
|
||||
margin-bottom: 8px;
|
||||
.component-drive-selector-body .list-group-item-footer {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.component-drive-selector-body .list-group-item[disabled] .list-group-item-heading {
|
||||
|
@ -9,7 +9,10 @@
|
||||
ng-disabled="!modal.state.isDriveValid(drive)"
|
||||
ng-click="modal.state.isDriveValid(drive) && modal.state.toggleSetDrive(drive)">
|
||||
<div>
|
||||
<header class="list-group-item-header">
|
||||
<h4 class="list-group-item-heading">{{ drive.description }} - {{ drive.size | gigabyte | number:1 }} GB</h4>
|
||||
<p class="list-group-item-text">{{ drive.name }}</p>
|
||||
|
||||
<footer class="list-group-item-footer">
|
||||
|
||||
<!-- There can be a case where the device it not large enough, and it's also locked. -->
|
||||
<!-- Since in this case both labels will be displayed, we chose to only show the -->
|
||||
@ -26,9 +29,7 @@
|
||||
<i class="glyphicon glyphicon-lock"></i>
|
||||
LOCKED</span>
|
||||
|
||||
</header>
|
||||
<h4 class="list-group-item-heading">{{ drive.description }} - {{ drive.size | gigabyte | number:1 }} GB</h4>
|
||||
<p class="list-group-item-text">{{ drive.name }}</p>
|
||||
</footer>
|
||||
</div>
|
||||
<span class="tick tick--success"
|
||||
ng-show="modal.state.isDriveValid(drive)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user