Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit 3a5af43

Browse files
committed
refactor the buttons. Refer to UX problem in #295
1 parent 0e85995 commit 3a5af43

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

interface/frontend/src/components/open-image/ImageSeries.vue

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,19 @@
9191
<div class="card-header">
9292
<h5 class="card-title">
9393
<span class="float-right">
94-
<i class="fa fa-expand warning" @click="showImport = !showImport"></i>
94+
<button class="btn btn-sm btn-outline-success" :disabled="!imageInProgress.id" @click="startNewCase()">
95+
Start New Case
96+
<i class="fa fa-arrow-up"></i>
97+
</button>
98+
<button class="btn btn-sm btn-outline-warning" @click="showImport = !showImport">
99+
Expand Imagery List
100+
<i class="fa fa-expand"></i>
101+
</button>
102+
95103
</span>
104+
96105
Import image series for new case
106+
97107
</h5>
98108
</div>
99109
<div class="card-block" v-show="showImport">
@@ -102,11 +112,6 @@
102112
<!-- navigation and preview -->
103113
<div class="row">
104114
<div class="col-md-8">
105-
<div class="float-right">
106-
<button class="btn btn-success" :disabled="!imageInProgress.id" @click="startNewCase()">
107-
Start New Case
108-
</button>
109-
</div>
110115
<tree-view class="item left"
111116
:model="directories"
112117
:parent="directories.name">

0 commit comments

Comments
 (0)