mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-04 16:49:45 +02:00
77 lines
3.7 KiB
PHP
77 lines
3.7 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>HTTP Status Codes — httpstatus.es</title>
|
|
<link rel="author" href="humans.txt" />
|
|
<link rel="stylesheet" href="assets/css/style.min.css" type="text/css" />
|
|
<link rel="shortcut icon" href="assets/img/favicon.ico">
|
|
<script type="text/javascript">
|
|
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-29439846-1']);
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
|
|
</script>
|
|
<meta name="description" content="HTTP Status code list / directory with wikipedia and ietf descriptions"/>
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<div class="header">
|
|
httpstatus.es
|
|
<div class="share_buttons">
|
|
<!--
|
|
<div class="share_button" id="gittip">
|
|
<iframe style="border: 0; margin: 0 20px 0 0; padding: 0;" src="https://www.gittip.com/citricsquid/widget.html" width="48" height="20"></iframe>
|
|
</div>
|
|
-->
|
|
<div class="share_button" id="twitter">
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-via="citricsquid">Tweet</a>
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
|
</div>
|
|
<div class="share_button" id="facebook">
|
|
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fhttpstatus.es&send=false&layout=button_count&width=250&show_faces=false&action=like&colorscheme=light&font=arial&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px; text-align:right;" allowTransparency="true"></iframe>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div id="intro">
|
|
<p>
|
|
Database of HTTP status codes with their IETF + Wikipedia
|
|
descriptions and helpful code references.
|
|
Maintained by
|
|
<a href="http://twitter.com/citricsquid">@citricsquid</a>.
|
|
New codes and improvements can be commited via the
|
|
<a href="https://github.com/citricsquid/httpstatus.es">
|
|
Github repository
|
|
</a>
|
|
</p>
|
|
</div>
|
|
<div id="statuses">
|
|
<?php foreach($this->class_list as $id => $class) { ?>
|
|
<div class="status_list" id="<?php echo $id; ?>">
|
|
<div class="head">
|
|
<div class="title"><?php echo $id; ?>xx <?php echo $class["class"]["title"]; ?></div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="statuses">
|
|
<?php foreach($class["codes"] as $code => $info) { ?>
|
|
<div class="status">
|
|
<div class="st"><a title="<?php echo $info["title"]; ?>" href="/<?php echo $code; ?>"><?php echo $code; ?></a></div>
|
|
<div class="description"><?php echo $info["summary"]; ?></div>
|
|
</div>
|
|
<?php } ?>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|