-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8acfd59
commit 06d2284
Showing
11 changed files
with
340 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
/* Fix user-agent */ | ||
|
||
iframe { | ||
background-color:white | ||
} | ||
|
||
button { | ||
background-color: black | ||
} | ||
|
||
body { | ||
background-color: gray; | ||
color: green; | ||
} | ||
|
||
h1 { | ||
color: green; | ||
} | ||
|
||
/* unvisited link */ | ||
a:link { | ||
color: white; | ||
} | ||
|
||
/* visited link */ | ||
a:visited { | ||
color: green; | ||
} | ||
|
||
/* mouse over link */ | ||
a:hover { | ||
color: gray; | ||
} | ||
|
||
/* selected link */ | ||
a:active { | ||
color: green; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
html { | ||
font-weight: 300; | ||
-webkit-font-smoothing: antialiased; | ||
width: 100%; | ||
} | ||
|
||
.page { | ||
height: 100%; | ||
width: 100%; | ||
position: absolute; | ||
width: 100%; | ||
color: green; | ||
|
||
} | ||
/* Login Page */ | ||
.login.page { | ||
background-color: black; | ||
width: 100%; | ||
height: 263px; | ||
|
||
} | ||
.login.page .form { | ||
height: 200px; | ||
margin-top: -110px; | ||
position: absolute; | ||
text-align: left; | ||
top: 45%; | ||
width: 100%; | ||
|
||
} | ||
.login.page .form .usernameInput { | ||
background-color: black; | ||
border: none; | ||
border-bottom: none; | ||
outline: none; | ||
padding-bottom: 0px; | ||
text-align: left; | ||
width: 75%; | ||
} | ||
|
||
.login.page .title, .login.page .usernameInput { | ||
color: green; | ||
font-weight: 100; | ||
width: 50%; | ||
|
||
|
||
} | ||
|
||
|
||
input, | ||
input::-webkit-input-placeholder { | ||
font-size: 15px; | ||
color: green; | ||
background-color: black; | ||
outline-color: black; | ||
line-height: 3; | ||
|
||
|
||
|
||
} | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
body{ | ||
background-color: black; | ||
color: white; | ||
font-family: 'Ubuntu', sans-serif; | ||
font-size: 16px; | ||
line-height: 20px; | ||
} | ||
h4{ | ||
font-size: 18px; | ||
line-height: 22px; | ||
color: #353535; | ||
} | ||
#log { | ||
position: relative; | ||
top: -34px; | ||
} | ||
#scrollLock{ | ||
width:2px; | ||
height: 2px; | ||
overflow:visible; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php | ||
$logFile = "./localhost/localhost.log"; // local path to log file | ||
$interval = 1010; //how often it checks the log file for changes, min 100 | ||
$textColor = "green"; //use CSS color | ||
// Don't have to change anything bellow | ||
if(!$textColor) $textColor = "green"; | ||
if($interval < 100) $interval = 100; | ||
if(isset($_GET['getLog'])){ | ||
echo file_get_contents($logFile); | ||
}else{ | ||
?> | ||
<!DOCTYPE html> | ||
<head> | ||
<link rel="stylesheet" href="./localhost.tail.css"></link> | ||
<title>log</title> | ||
</head> | ||
<body> | ||
<script src="./localhost.js" type="text/javascript"></script> | ||
<script> | ||
setInterval(readLogFile, <?php echo $interval; ?>); | ||
window.onload = readLogFile; | ||
var pathname = window.location.pathname; | ||
var scrollLock = true; | ||
|
||
$(document).ready(function(){ | ||
$('.disableScrollLock').click(function(){ | ||
$("html,body").clearQueue() | ||
$(".disableScrollLock").hide(); | ||
$(".enableScrollLock").show(); | ||
scrollLock = false; | ||
}); | ||
$('.enableScrollLock').click(function(){ | ||
$("html,body").clearQueue() | ||
$(".enableScrollLock").hide(); | ||
$(".disableScrollLock").show(); | ||
scrollLock = true; | ||
}); | ||
}); | ||
function readLogFile(){ | ||
$.get(pathname, { getLog : "true" }, function(data) { | ||
data = data.replace(new RegExp("\n", "g"), "<br />"); | ||
$("#log").html(data); | ||
|
||
if(scrollLock == true) { $('html,body').animate({scrollTop: $("#scrollLock").offset().top}, <?php echo $interval; ?>) }; | ||
}); | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<a href="./index.html">localhost</a><br> | ||
<h4><?php echo $logFile; ?></h4> | ||
<div id="log"> | ||
|
||
</div> | ||
</br> | ||
<div id="scrollLock"> <input class="disableScrollLock" type="button" value="Disable Scroll Lock" /> <input class="enableScrollLock" style="display: none;" type="button" value="Enable Scroll Lock" /></div> | ||
</body> | ||
</html> | ||
<?php } ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>localhost</title> | ||
<link rel="stylesheet" type="text/css" href="localhost.css" /> | ||
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> | ||
</head> | ||
<body> | ||
<h1>Welcome to localhost</h1> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"index": "index.html index.php sitemap.xml.php localhost.html localhost.log localhost.js localhost.css" | ||
} |
Oops, something went wrong.