Browse Source

Styles and such

master
Adam Backstrom 10 years ago
parent
commit
347fd6f3c9
  1. 2
      classes.php
  2. 24
      index.php
  3. 24
      style.css

2
classes.php

@ -25,7 +25,7 @@ abstract class AbstractAction
public function esc_raw()
{
return nl2br( htmlentities( $this->value ) );
return htmlentities( $this->value );
}
abstract public function decode();

24
index.php

@ -2,26 +2,8 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
body {
font-family: Verdana, Arial, sans-serif;
font-size: 67.5%;
}
textarea {
height: 200px;
width: 100%;
}
h2 {
clear: both;
}
.col {
margin-right: 1.8%;
width: 45%;
float: left;
padding: 10px;
}
</style>
<title>PHP Tools</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
@ -35,8 +17,6 @@ require_once 'functions.php';
<h1>PHP Tools</h1>
<h2>Expand Serialized</h2>
<?php
$action = null;

24
style.css

@ -0,0 +1,24 @@
body {
font-family: Verdana, Arial, sans-serif;
font-size: 67.5%;
}
textarea {
font-family: Inconsolata, Consolas, Monaco, monospace;
font-size: 1.2em;
white-space: pre;
word-wrap: normal;
height: 200px;
width: 100%;
}
h2 {
clear: both;
}
.col {
margin-right: 1.8%;
width: 45%;
float: left;
padding: 10px;
}
Loading…
Cancel
Save