Commits

tbrugz committed 083ab67

web: added html syntax config / style

  • Participants
  • Parent commits 157bb81

Comments (0)

Files changed (3)

src/queryon.template.properties

 
 #sqldump.usedbspecificfeatures=true
 
+sqldump.datadump.html.prepend=<!DOCTYPE html>\n<html><head><link rel="stylesheet" type="text/css" href="/queryon/table.css" /></head><body>\n
+sqldump.datadump.html.append=\n</body></html>
 
 #####
 

web/WEB-INF/web.xml

 	</servlet>
 	<servlet-mapping>
 		<servlet-name>QueryOn</servlet-name>
-		<url-pattern>/*</url-pattern>
+		<url-pattern>/q/*</url-pattern>
 	</servlet-mapping>
     
 </web-app>
+body {
+	margin: 0 auto;
+	font: normal 10pt Tahoma, Geneva, sans-serif; 
+	background-color: #ddd;
+}
+td {
+	border: 1px solid #bbb;
+}
+th {
+	border: 1px solid #bbb;
+	background-color: #fff;
+}