Modified scripts and added some tooltips. Made it so that NGINX version is required instead of URL.
This commit is contained in:
12
index.html
12
index.html
@@ -2,15 +2,17 @@
|
||||
<html lang="en-US ">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nginx Installer</title>
|
||||
<title>NGINX Installer</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link href='https://fonts.googleapis.com/css?family=JetBrains Mono' rel='stylesheet'>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.2/jquery.min.js" integrity="sha512-tWHlutFnuG0C6nQRlpvrEhE4QpkG1nn2MOUMWmUeRePl4e3Aki0VB6W1v3oLjFtd0hVOtRQ9PHpSfN6u6/QXkQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<!-- <h1 style="margin-left: auto; margin-right: auto">Nginx Script Gen</h1>-->
|
||||
<h1 style="margin: 0 auto;">NGINX Script Gen</h1>
|
||||
|
||||
<label for="link" style="height: 50px">
|
||||
<p style="width: 300px; "><a href="https://nginx.org/download/" target=”_blank”>NGINX Archive Link:</a></p>
|
||||
<a style="width: 180px; text-align: center " href="https://nginx.org/download/" target=”_blank”>NGINX Version:</a>
|
||||
<input type="text" id="link" style="margin-top: 10px">
|
||||
</label>
|
||||
|
||||
@@ -33,7 +35,9 @@
|
||||
</label>
|
||||
|
||||
<button id="submit" class="centered-button">Generate Script</button>
|
||||
<code lang="bash" id="script"></code>
|
||||
<code class="tooltip" onclick="copy()" onmouseout="outFunc()" lang="bash" id="script">
|
||||
<span class="tooltiptext" id="myTooltip">Copy to clipboard</span>
|
||||
</code>
|
||||
</div>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user