PasswordPhraseGenerator/index.php

48 lines
693 B
PHP
Raw Permalink Normal View History

<?php
2020-11-06 22:54:05 +00:00
require_once 'core/PasswordPhraseGenerator.php';
2020-11-06 22:54:05 +00:00
$sentence = new PasswordPhraseGenerator;
2020-11-06 22:54:05 +00:00
$result = $sentence->generate();
2020-11-06 22:54:05 +00:00
?>
2020-11-06 22:54:05 +00:00
<!DOCTYPE html>
<html lang="da">
2020-11-06 22:54:05 +00:00
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Sætningsgenerator</title>
<style>
* {
margin: 0;
padding: 0;
}
2020-11-06 22:54:05 +00:00
html {
height: 100%;
}
2020-11-06 22:54:05 +00:00
h1 {
text-align: center;
margin-top: 10%;
}
2020-11-06 22:54:05 +00:00
.the-result {
background: #333;
color: #FFF;
padding: 0.3em;
}
2020-11-06 22:54:05 +00:00
</style>
</head>
2020-11-06 22:54:05 +00:00
<body>
2020-11-06 22:54:05 +00:00
<h1>
<span class="the-result"><?=$result?></span>
</h1>
</body>
2020-11-06 22:54:05 +00:00
</html>