mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-01-22 09:19:55 +00:00
prettify a bit
This commit is contained in:
parent
432c597cec
commit
9ba322a84b
@ -13,8 +13,9 @@ table, th, td {
|
|||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#grid {
|
table#grid td {
|
||||||
font-family: monospace; font-size: 16;
|
font-family: monospace;
|
||||||
|
font-size: 22;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrapper {
|
#wrapper {
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Wordsearch builder</title>
|
<title>Wordsearch builder</title>
|
||||||
<link rel="stylesheet" type="text/css" href="base.css" />
|
<link rel="stylesheet" type="text/css" href="base.css" />
|
||||||
<style>
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<%@ page import="uk.org.mafoo.wordsearch.*" %>
|
<%@ page import="uk.org.mafoo.wordsearch.*" %>
|
||||||
<%@ page import="java.util.*" %>
|
<%@ page import="java.util.*" %>
|
||||||
@ -32,7 +30,9 @@
|
|||||||
%>
|
%>
|
||||||
<body>
|
<body>
|
||||||
<h1><%= name %></h1>
|
<h1><%= name %></h1>
|
||||||
<a id='csvdownload' class="noprint">Download CSV</a>
|
<div class="noprint">
|
||||||
|
[ <a href="index.jsp">Start again</a> | <a id='csvdownload'>Download CSV</a> ]
|
||||||
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var csv = '<%= csv %>';
|
var csv = '<%= csv %>';
|
||||||
var csvdownload = document.getElementById('csvdownload');
|
var csvdownload = document.getElementById('csvdownload');
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<% for(char c : row) {
|
<% for(char c : row) {
|
||||||
csv += "" + c + ',';
|
csv += "" + c + ',';
|
||||||
%>
|
%>
|
||||||
<td><%= c %></td>
|
<td class="cell"><%= c %></td>
|
||||||
<% } %>
|
<% } %>
|
||||||
</tr>
|
</tr>
|
||||||
<%
|
<%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user