Skip to content

Commit 6a82fb9

Browse files
committed
Refactor code
1 parent a395517 commit 6a82fb9

3 files changed

Lines changed: 110 additions & 131 deletions

File tree

src/main/webapp/WEB-INF/pages/index.jsp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
<span id="tz" data-tz=""></span>
318318
</button>
319319
<div id="tzMenu" class="dropdown-menu" role="menu">
320-
<input id="tzMenuFilter" class="form-control" value="" />
320+
<input type="search" id="tzMenuFilter" class="form-control" value="" />
321321
<ul id="tzMenuItems">
322322
<c:forEach var="tzVal" items="${tzMap}">
323323
<li data-tz="${dc:h(tzVal.key)}" tabindex="0">${dc:h(tzVal.value)}</li>
@@ -637,7 +637,7 @@
637637
<div class="dencode-option-group">
638638
<div class="input-group">
639639
<span class="input-group-text">${dc:h(msg['cipher.vigenere.key'])}</span>
640-
<input name="_cipher.vigenere.key" class="dencode-option form-control" value="" placeholder="${dc:h(msg['cipher.vigenere.key.tooltip'])}" data-sync-with="cipher.vigenere.key" />
640+
<input type="text" name="_cipher.vigenere.key" class="dencode-option form-control" value="" placeholder="${dc:h(msg['cipher.vigenere.key.tooltip'])}" data-sync-with="cipher.vigenere.key" />
641641
</div>
642642
</div>
643643
</td></tr></c:if>
@@ -1749,7 +1749,7 @@
17491749
<div class="dencode-option-group">
17501750
<div class="input-group">
17511751
<span class="input-group-text">${dc:h(msg['cipher.vigenere.key'])}</span>
1752-
<input name="cipher.vigenere.key" class="dencode-option form-control" value="" placeholder="${dc:h(msg['cipher.vigenere.key.tooltip'])}" />
1752+
<input type="text" name="cipher.vigenere.key" class="dencode-option form-control" value="" placeholder="${dc:h(msg['cipher.vigenere.key.tooltip'])}" />
17531753
</div>
17541754
</div>
17551755
</td></tr></c:if>
@@ -2376,9 +2376,9 @@
23762376
23772377
<div style="display:none" aria-hidden="true">
23782378
<div>
2379-
<input id="loadFileInput" type="file" accept="text/*" />
2380-
<input id="loadImageInput" type="file" accept="image/*" />
2381-
<input id="loadQrcodeInput" type="file" accept="image/*" />
2379+
<input type="file" id="loadFileInput" accept="text/*" />
2380+
<input type="file" id="loadImageInput" accept="image/*" />
2381+
<input type="file" id="loadQrcodeInput" accept="image/*" />
23822382
</div>
23832383
23842384
<svg>
@@ -2451,7 +2451,7 @@
24512451
24522452
<template id="permanentLinkTmpl">
24532453
<div id="permanentLink" class="input-group">
2454-
<input id="linkURL" class="form-control select-on-focus" type="text" value="{{permanentLink}}" readonly />
2454+
<input type="text" id="linkURL" class="form-control select-on-focus" value="{{permanentLink}}" readonly />
24552455
<button type="button" class="btn btn-v-icon-label copy-to-clipboard" title="${dc:h(msg['label.copyToClipboard'])}" data-copy-id="linkURL" data-copy-message="${dc:h(msg['label.copyToClipboard.message'])}" data-copy-error-message="${dc:h(msg['label.copyToClipboard.errorMessage'])}">
24562456
<i class="bi bi-clipboard"></i>
24572457
<span class="btn-label">${dc:h(msg['label.copyToClipboard.buttonLabel'])}</span>

src/main/webapp/static/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ footer a, footer a:link, footer a:visited, footer a:hover, footer a:active {
415415
position: relative;
416416
display: inline;
417417
white-space: nowrap;
418+
cursor: pointer;
418419
}
419420

420421
.dropdown-toggle::after {

0 commit comments

Comments
 (0)