@@ -81,7 +81,7 @@ const ExportRoot = () => {
81
81
( mb ) => updateExistingToast ( id , "Downloaded " + mb + " mb" ) ,
82
82
undefined ,
83
83
hierarchical ,
84
- transferSyntax != "None" ? transferSyntax : undefined
84
+ transferSyntax != "None" ? transferSyntax : undefined
85
85
) ;
86
86
} ;
87
87
@@ -154,18 +154,19 @@ const ExportRoot = () => {
154
154
return (
155
155
< Card >
156
156
< CardHeader
157
- className = "flex items-center justify-between rounded-t-lg text-bg-light"
158
157
color = { Colors . primary }
159
- title = { "Export Resources" }
160
158
>
161
- < div className = "flex space-x-3" >
162
- < Button color = { Colors . secondary } className = "flex items-center rounded-lg" >
163
- < Button color = { Colors . secondary } > Download as CSV</ Button >
164
- < DownloadIcon className = "" />
165
- </ Button >
166
- < Button onClick = { handleClearList } color = { Colors . warning } className = "flex items-center rounded-lg" >
167
- < EmptyIcon className = "" />
168
- </ Button >
159
+ < div className = "flex items-center w-full" >
160
+ < div className = "w-4/5 text-lg font-bold text-center" > Export Ressources</ div >
161
+ < div className = "flex justify-end w-1/5 gap-1 p-3" >
162
+ < SelectTransferSyntax value = { transferSyntax } onChange = { ( value ) => setTrasferSyntax ( value ) } />
163
+ < Button color = { Colors . secondary } className = "rounded-lg" >
164
+ < Download onClick = { handleDownloadCsv } />
165
+ </ Button >
166
+ < Button onClick = { handleClearList } color = { Colors . warning } className = "rounded-lg" >
167
+ < EmptyIcon className = "" />
168
+ </ Button >
169
+ </ div >
169
170
170
171
</ div >
171
172
</ CardHeader >
@@ -182,13 +183,12 @@ const ExportRoot = () => {
182
183
< CardFooter color = { Colors . light } className = "flex justify-center flex-grow gap-3" >
183
184
< div className = "flex justify-center w-4/5 gap-3" >
184
185
< DropdownButton row = { null } buttonText = "Download" options = { downloadOptions } />
185
- < SelectTransferSyntax value = { transferSyntax } onChange = { ( value ) => setTrasferSyntax ( value ) } />
186
186
< DropdownButton row = { null } buttonText = "Send To Modality" options = { modalitiesOptions } />
187
187
{ storeJobId && < ProgressJobs size = { 50 } jobId = { storeJobId } /> }
188
188
< DropdownButton row = { null } buttonText = "Send To Peer" options = { peersOptions } />
189
189
{ sendPeerJobId && < ProgressJobs size = { 50 } jobId = { sendPeerJobId } /> }
190
- < Button className = "text-white bg-cyan-700" disabled >
191
- Send To GaelO
190
+ < Button color = { Colors . primary } className = "text-white bg-cyan-700" disabled >
191
+ < GaeloIcon />
192
192
</ Button >
193
193
</ div >
194
194
</ CardFooter >
0 commit comments