mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
generate valid HTML, including head & style
This commit is contained in:
parent
2c715096b9
commit
14b51d96b0
3 changed files with 26 additions and 2 deletions
15
contrib/html.sh.d/head.html
Normal file
15
contrib/html.sh.d/head.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html><html lang="en">
|
||||
<head><title>RouterOS Scripts :: __TITLE__</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style>
|
||||
body { font-family: sans-serif; }
|
||||
h2 { border-bottom: 1px solid #ccc; color: #000; }
|
||||
a { text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
blockquote { border-left: 4px solid #ccc; padding: 0 10px; color: #777; }
|
||||
code { margin: 0 2px; padding: 2px 5px; border: 1px solid #ccc; background-color: #f8f8f8; border-radius: 3px; }
|
||||
pre { background-color: #f8f8f8; border: 1px solid #ccc; overflow: auto; padding: 6px 10px; border-radius: 3px; }
|
||||
pre code { margin: 0; padding: 0; border: 0; }
|
||||
</style>
|
||||
<link rel="icon" href="/logo.png" type="image/png">
|
||||
</head><body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue