Skip to content

Commit

Permalink
chore: optimized UI
Browse files Browse the repository at this point in the history
  • Loading branch information
7Sageer committed Sep 17, 2024
1 parent 434896e commit 6f11cce
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/htmlBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ const generateForm = () => `
<i class="fas fa-sync-alt me-2"></i>Convert
</button>
<button type="button" class="btn btn-secondary btn-lg" id="clearFormBtn" style="flex: 4;">
<i class="fas fa-trash-alt me-2"></i>Clear Form
<i class="fas fa-trash-alt me-2"></i>Clear
</button>
</div>
</form>
Expand All @@ -465,9 +465,11 @@ const generateSubscribeLinks = (xrayUrl, singboxUrl, clashUrl, baseUrl) => `
${generateLinkInput('Clash Link:', 'clashLink', clashUrl)}
<div class="mb-3">
<label for="customShortCode" class="form-label">Custom Path (optional):</label>
<div class="d-flex align-items-center">
<span class="base-url-label me-2">${baseUrl}/s/</span>
<input type="text" class="form-control" id="customShortCode" placeholder="Enter custom short code">
<div class="input-group flex-nowrap">
<span class="input-group-text text-truncate" style="max-width: 200px;" title="${baseUrl}/s/">
${baseUrl}/s/
</span>
<input type="text" class="form-control" id="customShortCode" placeholder="e.g. my-custom-link">
</div>
</div>
<div class="d-grid">
Expand Down

0 comments on commit 6f11cce

Please sign in to comment.