Skyrim Helper Source Code Viewer

See up my source code skirt! D=

..sadly, it does not do syntax highlighting for the htmls, javascripts, or csss D=
eh. oh well.


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Skyrim Helper Index</title>
    <style type="text/css">
        html { width:100%; height:100%; font-size: 100%; }
        body { font-family: "Open Sans", sans-serif; background-color: #111; color: #888; margin: 2em 8em; }
        .text-small {font-style:italic;font-size:.8em;}
        a {color: lightgrey;}
        a:hover {color: lightcoral;}
        a:focus {color:red;}
        a:active {color: white;}
    </style>
</head>
<body>
    <h1>Skyrim Helper Index</h1>
    <h2>Options</h2>
    <ul>
    <?php include_once __DIR__ '/valid_file_map.php';
    foreach ( 
$valid_file_map as $file_name => $description ) {
        
printf(
            
'<li><a href="./%1$s">%1$s</a> [<a href="./source.php?view=%1$s">source</a>] - <span class="text-small">%2$s</li>',
            
$file_name,
            
$description
        
);
    } 
?>
    </ul>
    <hr>
    <p>Hey! If you thought any of this was handy or feel like there could be some fun improvements, <a href="mailto:ryan@rohjay.one">email me</a>!</p>
    <p class="text-small">...yep. I know it's not for mobile and kinda looks like garbage, but it's functional and good enough for me =P</p>
</body>
</html>

Didn't get enough? Go back to that fancy index page!

Hey! If you thought this was handy or feel like there could be some fun improvements, email me!