Bläddra i källkod

Enhancements to index.html

main
Simon Bowie 3 år sedan
förälder
incheckning
427aaaf9b2
3 ändrade filer med 54 tillägg och 6 borttagningar
  1. +20
    -0
      site/public/css/style.css
  2. +32
    -6
      site/public/index.html
  3. +2
    -0
      site/public/search.php

+ 20
- 0
site/public/css/style.css Visa fil

@@ -5,3 +5,23 @@
.clear{
clear:both;
}

.centre {
margin: auto;
width: 50%;
border: 3px solid black;
padding: 10px;
text-align:center;
}

.btn-link {
border: none;
outline: none;
background: none;
cursor: pointer;
color: #0000EE;
padding: 0;
text-decoration: underline;
font-family: inherit;
font-size: inherit;
}

+ 32
- 6
site/public/index.html Visa fil

@@ -12,16 +12,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>

<form action="search.php" method="POST">
<input type="text" name="search" placeholder="search for a patent record">
<input type="submit" value="search">
</form>
<div class="centre">
<form action="search.php" method="POST">
<input type="text" name="search" placeholder="search for a patent record">
<input type="submit" value="search">
</form>
</div>

<a href="./random.php">show a random record</a>
<a href="./compare.php">compare two random records</a>
<div class="centre">
<a href="./random.php">show a random record</a>
</div>

<div class="centre">
<a href="./compare.php">compare two random records</a>
</div>

<div class="centre">
<form action="search.php" method="POST">
<input type="hidden" name="search" value="leak">
<button type="submit" class="btn-link">
example search: 'leak'
</button>
</form>
</div>

<div class="centre">
<form action="search.php" method="POST">
<input type="hidden" name="search" value="secret">
<button type="submit" class="btn-link">
example search: 'secret'
</button>
</form>
</div>

</body>
</html>

+ 2
- 0
site/public/search.php Visa fil

@@ -68,6 +68,8 @@ include '../solr.php';

<br><br>

<hr>

<?
endif;
?>

Laddar…
Avbryt
Spara