Ver código fonte

Enhancements to index.html

main
Simon Bowie 3 anos atrás
pai
commit
427aaaf9b2
3 arquivos alterados com 54 adições e 6 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

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

<br><br>

<hr>

<?
endif;
?>

Carregando…
Cancelar
Salvar