Skip to content

Commit

Permalink
[DLT-1110] Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
AronPerez committed Jan 22, 2025
1 parent f01b515 commit 72694a2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 58 deletions.
40 changes: 0 additions & 40 deletions web/static/components/transfer/styles.css

This file was deleted.

42 changes: 24 additions & 18 deletions web/static/components/transfer/transfer-templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,30 @@ export function getTransferOptionsTemplate(mode) {
*/
export function getDialogTemplate(labels, mode) {
return `
<div class='ui-widget'>
${labels.record}: <span id='title'></span><br>
<div class='col-flex'>
<div id='records' class='ui-widget ui-widget-content'></div>
<div><br>
<span>${labels.endpoint} Path:</span>
<div class='flex-container'>
<textarea class='ui-widget-content' id='path' rows=3></textarea>
<button class='btn small' id='browse' disabled>Browse</button>
</div>
<br>
<select class='ui-widget-content ui-widget' id='matches' size='7' disabled>
<option disabled selected>No Matches</option>
</select>
${getTransferOptionsTemplate(mode)}
</div>
</div>
</div>
<div class='ui-widget' style='height:95%'>
${labels.record}: <span id='title'></span><br>
<div class='col-flex' style='height:100%'>
<div id='records' class='ui-widget ui-widget-content'
style='flex: 1 1 auto;display:none;height:6em;overflow:auto'>
</div>
<div style='flex:none'><br>
<span>${labels.endpoint} Path:</span>
<div style='display: flex; align-items: flex-start;'>
<textarea class='ui-widget-content' id='path' rows=3
style='width:100%;resize:none;'></textarea>
<button class='btn small' id='browse'
style='margin-left:10px; line-height:1.5; vertical-align: top;'
disabled>Browse</button>
</div>
<br>
<select class='ui-widget-content ui-widget' id='matches'
size='7' style='width: 100%;' disabled>
<option disabled selected>No Matches</option>
</select>
${getTransferOptionsTemplate(mode)}
</div>
</div>
</div>
`;
}

Expand Down

0 comments on commit 72694a2

Please sign in to comment.