-
Notifications
You must be signed in to change notification settings - Fork 45
/
index.php
28 lines (25 loc) · 894 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
require 'vendor/autoload.php';
$linkCount = new LinkCount(get('page'), get('project'), get('namespaces'));
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php echo $linkCount->getTitle(); ?></title>
<meta name="description" content="<?php echo LinkCount::$description; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/" defer></script>
<link rel="stylesheet" href="node_modules/oojs-ui/dist/oojs-ui-wikimediaui.min.css">
<link rel="stylesheet" href="static/index.css?v=4">
<link rel="shortcut icon" type="image/png" href="static/icon.png">
</head>
<body>
<main>
<h1>Link Count</h1>
<a id="skip" href="#out">Skip to output</a>
<?php echo (new Form)->getHtml(); ?>
<div id="out" tabindex="-1"><?php echo $linkCount->getHtml(); ?></div>
</main>
<?php echo (new Footer('.'))->getHTML(); ?>
</body>
</html>