Compare commits

..

No commits in common. "6e4bef517998f0638f3ceda16f83f55bf3265183" and "0d54f400615017e729f067ba16c8373618a50c08" have entirely different histories.

5 changed files with 1 additions and 15 deletions

View file

@ -1,8 +1,6 @@
#!/bin/bash
cp geofeed.csv dist
find dist -type f -exec sed -i 's/var_lastmod/$(date)/g' {} +
find dist -type f -exec sed -i 's/var_commithash/$(git rev-parse --short HEAD)/g' {} +
ncftpput -R -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER . dist/*

View file

@ -1,6 +1,6 @@
{
"scripts": {
"start": "BUILD_DATE=$(date) parcel src/index.html src/**/index.html",
"start": "parcel src/index.html src/**/index.html",
"build": "parcel build src/index.html src/**/index.html"
},
"devDependencies": {

View file

@ -5,13 +5,6 @@
<script src="./script.js" defer></script>
<title>dn724</title>
<style>
html {
font-size: large;
background: #fee;
}
</style>
<input type="number" min="0" placeholder="your ASN" oninput="calculate(this)">
<p>Port: <span id="result"></span></p>
</html>

View file

@ -43,7 +43,5 @@
<li><a href="./services.html">Services</a></li>
<li><a href="https://git.m724.eu/Minecon724/dn42-info">Source code</a></li>
</ul>
<p>Last modified: var_lastmod var_commithash</p>
</body>
</html>

View file

@ -1,15 +1,12 @@
html {
font-size: large;
background: #fee;
}
body {
margin: 0 auto;
padding-right: 20px; /* make it look aligned */
max-width: calc(100vw - 40px);
word-wrap: break-word;
width: fit-content;
border-radius: 0px;
}
ul {
margin-bottom: 1.4em;