Skip to content

Commit

Permalink
Faked admin page to show on git pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Mahoney committed May 12, 2012
1 parent 6fe6a71 commit b3cb812
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions admin_show.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CodeMachine</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="http://twitter.github.com/bootstrap/assets/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://twitter.github.com/bootstrap/assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://twitter.github.com/bootstrap/assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://twitter.github.com/bootstrap/assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="http://twitter.github.com/bootstrap/assets/ico/apple-touch-icon-57-precomposed.png">
<script language="Javascript">
function addInput(divName){
var newdiv = document.createElement('div');
newdiv.innerHTML = '<input type="text" name="tags[]" value=""><input type="checkbox" name="true[0]"><br>';
document.getElementById(divName).appendChild(newdiv);
webcounter++;
}
</script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">CodeMachine</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<h1>Admin</h1>
<p>Edit the options file, below.</p>
<form action="write_json.php" method="post">
<div id="options">
<input type="text" name="tags[]" value="h2"><input type="checkbox" name="true[0]" checked><br><input type="text" name="tags[]" value="br"><input type="checkbox" name="true[1]" checked><br><input type="text" name="tags[]" value="head"><input type="checkbox" name="true[2]" checked><br><input type="text" name="tags[]" value="body"><input type="checkbox" name="true[3]" checked><br><input type="text" name="tags[]" value="html"><input type="checkbox" name="true[4]" checked><br><input type="text" name="tags[]" value="footer"><input type="checkbox" name="true[5]" checked><br><input type="text" name="tags[]" value="header"><input type="checkbox" name="true[6]" checked><br><input type="text" name="tags[]" value="section"><input type="checkbox" name="true[7]" checked><br><input type="text" name="tags[]" value="img"><input type="checkbox" name="true[8]" checked><br><input type="text" name="tags[]" value="li"><input type="checkbox" name="true[9]" checked><br><input type="text" name="tags[]" value="ul"><input type="checkbox" name="true[10]" checked><br><input type="text" name="tags[]" value="ol"><input type="checkbox" name="true[11]" checked><br><input type="text" name="tags[]" value="menu"><input type="checkbox" name="true[12]" checked><br><input type="text" name="tags[]" value="div"><input type="checkbox" name="true[13]" checked><br><input type="text" name="tags[]" value="nav"><input type="checkbox" name="true[14]" checked><br><input type="text" name="tags[]" value="p"><input type="checkbox" name="true[15]" checked><br><input type="text" name="tags[]" value="q"><input type="checkbox" name="true[16]" checked><br><input type="text" name="tags[]" value="section"><input type="checkbox" name="true[17]" checked><br><input type="text" name="tags[]" value="script"><input type="checkbox" name="true[18]" checked><br><input type="text" name="tags[]" value="span"><input type="checkbox" name="true[19]" checked><br><input type="text" name="tags[]" value="table"><input type="checkbox" name="true[20]" checked><br><input type="text" name="tags[]" value="b"><input type="checkbox" name="true[21]" checked><br><input type="text" name="tags[]" value="h1"><input type="checkbox" name="true[22]" checked><br><input type="text" name="tags[]" value="h2.5"><input type="checkbox" name="true[23]"><br><input type="text" name="tags[]" value="foot"><input type="checkbox" name="true[24]"><br><input type="text" name="tags[]" value="fr"><input type="checkbox" name="true[25]"><br><input type="text" name="tags[]" value="weak"><input type="checkbox" name="true[26]"><br><input type="text" name="tags[]" value="z"><input type="checkbox" name="true[27]"><br><input type="text" name="tags[]" value="picture"><input type="checkbox" name="true[28]"><br><input type="text" name="tags[]" value="part"><input type="checkbox" name="true[29]"><br><input type="text" name="tags[]" value="division"><input type="checkbox" name="true[30]"><br><input type="text" name="tags[]" value="line"><input type="checkbox" name="true[31]"><br><input type="text" name="tags[]" value="page"><input type="checkbox" name="true[32]"><br><input type="text" name="tags[]" value="music"><input type="checkbox" name="true[33]"><br> </div>
<input type="button" value="Add another option" onClick="addInput('options');"><br>
<input type="submit" class="btn btn-success btn-large" value="Save Options" style="margin-top: 20px">
</form>
<div id="options">
</div>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://twitter.github.com/bootstrap/assets/js/jquery.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-transition.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-alert.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-modal.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-scrollspy.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tooltip.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-popover.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-button.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-carousel.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-typeahead.js"></script>
</body>
</html>

0 comments on commit b3cb812

Please sign in to comment.