Skip to content

Commit

Permalink
ids in textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
odalys-dataport committed Feb 8, 2025
1 parent 544d5c6 commit 03837c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
3 changes: 3 additions & 0 deletions static/styles/batch-deletion/batch-deletion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
user-select: all;
background-color: $gray-lightest;
padding: 10px;
border: none;
width: 100%;
resize: none;
}

.copy-btn {
Expand Down
21 changes: 8 additions & 13 deletions views/batch-deletion/batch-deletion.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,16 @@
{{#content "body"}}
<div class="modal-body">
<p>
<span class="pending">{{this.pending}}</span>
Pending
<span class="running">{{this.running}}</span>
running
<button
class="btn btn-sm copy-btn"
data-text-id="pending-ids"
data-text-id="running-ids"
>
<i class="fa fa-copy"></i>
</button>
</p>
<pre id="pending-ids" class="id-list">
</pre>
<textarea id="pending-ids" class="id-list" rows="3" readonly></textarea>
<p>
Deleted
<button
Expand All @@ -110,8 +109,7 @@
<i class="fa fa-copy"></i>
</button>
</p>
<pre id="deleted-ids" class="id-list">
</pre>
<textarea id="deleted-ids" class="id-list" rows="3" readonly></textarea>
<p>
Failed
<button
Expand All @@ -121,8 +119,7 @@
<i class="fa fa-copy"></i>
</button>
</p>
<pre id="failed-ids" class="id-list">
</pre>
<textarea id="failed-ids" class="id-list" rows="3" readonly></textarea>
<p>
Skipped
<button
Expand All @@ -132,8 +129,7 @@
<i class="fa fa-copy"></i>
</button>
</p>
<pre id="skipped-ids" class="id-list">
</pre>
<textarea id="skipped-ids" class="id-list" rows="3" readonly></textarea>
<p>
Invalid IDs
<button
Expand All @@ -143,8 +139,7 @@
<i class="fa fa-copy"></i>
</button>
</p>
<pre id="invalid-ids" class="id-list">
</pre>
<textarea id="invalid-ids" class="id-list" rows="3" readonly></textarea>
</div>
{{/content}}
{{/embed}}
Expand Down

0 comments on commit 03837c1

Please sign in to comment.