-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
87 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ | |
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<!-- Axios --> | ||
<script src="https://cdn.jsdelivr.net/npm/axios@latest/dist/axios.min.js"></script> | ||
<script src="./static/index.js"></script> | ||
<style> | ||
.container { | ||
max-width: 800px; | ||
|
@@ -48,6 +47,7 @@ <h2>sub2clash</h2> | |
<label for="apiLink">解析链接:</label> | ||
<div class="input-group mb-2"> | ||
<input class="form-control" id="urlInput" type="text" placeholder="通过生成的链接重新填写下方设置" /> | ||
<input class="form-control" id="urlshortLinkPasswdInput" type="text" placeholder="短链密码" /> | ||
<button class="btn btn-primary" onclick="parseInputURL()" type="button"> | ||
解析 | ||
</button> | ||
|
@@ -142,16 +142,13 @@ <h2>sub2clash</h2> | |
<div class="form-group mb-5"> | ||
<label for="apiLink">配置链接:</label> | ||
<div class="input-group mb-2"> | ||
<input class="form-control" id="apiLink" type="text" /> | ||
<button class="btn btn-primary" onclick="generateURL()" type="button"> | ||
生成链接 | ||
</button> | ||
<input class="form-control" id="apiLink" type="text" placeholder="链接" /> | ||
<button class="btn btn-primary" onclick="copyToClipboard('apiLink',this)" type="button"> | ||
复制链接 | ||
</button> | ||
</div> | ||
<div class="input-group"> | ||
<input class="form-control" id="apiShortLink" type="text" /> | ||
<input class="form-control" id="apiShortLink" type="text" placeholder="链接" /> | ||
<input class="form-control" id="password" type="text" placeholder="密码" /> | ||
<button class="btn btn-primary" onclick="generateShortLink()" type="button"> | ||
生成短链 | ||
|
@@ -164,6 +161,7 @@ <h2>sub2clash</h2> | |
</button> | ||
</div> | ||
</div> | ||
|
||
<!-- footer--> | ||
<footer> | ||
<p class="text-center"> | ||
|
@@ -174,5 +172,5 @@ <h2>sub2clash</h2> | |
</footer> | ||
</div> | ||
</body> | ||
|
||
<script src="./static/index.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters