Skip to content

Commit

Permalink
HTML CSP, build number improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Nov 24, 2021
1 parent ef7cbf2 commit a484d03
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 46 deletions.
15 changes: 7 additions & 8 deletions app/application/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<title>Authme</title>
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../../src/tailwind.css" />
<link rel="stylesheet" href="./src/css/index.css" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build hidden">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down
11 changes: 5 additions & 6 deletions app/confirm/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Authme</title>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../.././src/tailwind.css" />
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down
11 changes: 5 additions & 6 deletions app/edit/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Authme</title>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../.././src/tailwind.css" />
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down
11 changes: 5 additions & 6 deletions app/export/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Authme</title>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../.././src/tailwind.css" />
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down
12 changes: 5 additions & 7 deletions app/import/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Authme</title>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
Expand All @@ -11,15 +12,13 @@
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../../src/tailwind.css" />
<link rel="stylesheet" href="./src/css/index.css" />
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down Expand Up @@ -127,7 +126,6 @@ <h4>
</svg>
Stop
</button>
</div>
</div>
</div>
</div>
Expand Down
11 changes: 5 additions & 6 deletions app/landing/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<title>Authme</title>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../../src/tailwind.css" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down
4 changes: 1 addition & 3 deletions app/settings/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Authme</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src https://api.levminer.com" />
<meta charset="UTF-8" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
Expand All @@ -10,8 +10,6 @@
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../../src/tailwind.css" />
<link rel="stylesheet" href="./src/css/index.css" />
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
Expand Down
5 changes: 2 additions & 3 deletions app/splash/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Authme</title>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:" />
<meta charset="UTF-8" />
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../.././src/tailwind.css" />
<link rel="stylesheet" href="./src/css/index.css" />
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body unselectable="on" onselectstart="return false;" onmousedown="return false;">
<div class="mask">
Expand Down
12 changes: 12 additions & 0 deletions app/splash/src/css/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
.center {
background-color: rgb(20, 20, 20);
position: relative;
top: 200px;
text-align: center;
padding-top: 30px;
margin: 130px auto;
height: 300px;
width: 60%;
border-radius: 30px;
}

body {
overflow: hidden;
cursor: wait;
Expand Down
2 changes: 1 addition & 1 deletion src/tailwind.css

Large diffs are not rendered by default.

0 comments on commit a484d03

Please sign in to comment.