2026-03-12 20:23:15
This commit is contained in:
21
tpt/htmlrun.sql
Normal file
21
tpt/htmlrun.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
set termout off
|
||||
set markup HTML ON HEAD "<style type='text/css'> body {font:10pt Arial,Helvetica,sans-serif; color:black; background:White;} p {font:10pt Arial,Helvetica,sans-serif; color:black; background:White;} table,tr,td {font:10pt Arial,Helvetica,sans-serif; color:Black; background:#f7f7e7; padding:0px 0px 0px 0px; margin:0px 0px 0px 0px; white-space:nowrap;} th {font:bold 10pt Arial,Helvetica,sans-serif; color:#336699; background:#cccc99; padding:0px 0px 0px 0px;} h1 {font:16pt Arial,Helvetica,Geneva,sans-serif; color:#336699; background-color:White; border-bottom:1px solid #cccc99; margin-top:0pt; margin-bottom:0pt; padding:0px 0px 0px 0px;} h2 {font:bold 10pt Arial,Helvetica,Geneva,sans-serif; color:#336699; background-color:White; margin-top:4pt; margin-bottom:0pt;} a {font:9pt Arial,Helvetica,sans-serif; color:#663300; background:#ffffff; margin-top:0pt; margin-bottom:0pt; vertical-align:top;}</style><title>&1</title>" BODY "" TABLE "border='1' align='center' summary='Script output'" SPOOL ON ENTMAP ON PREFORMAT OFF
|
||||
|
||||
def _htmlrun_spoolfile=&_tpt_tempdir/htmlrun_&_tpt_tempfile..html
|
||||
|
||||
spool &_htmlrun_spoolfile
|
||||
|
||||
prompt &1
|
||||
|
||||
clear buffer
|
||||
1 &1
|
||||
/
|
||||
|
||||
|
||||
spool off
|
||||
set markup html off spool off
|
||||
host &_start &_htmlrun_spoolfile
|
||||
set termout on
|
||||
Reference in New Issue
Block a user