pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/templates



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Feb 21 10:15:24 UTC 2021

Modified Files:
        pkgsrc/templates: README.all README.category README.pkg README.top
Added Files:
        pkgsrc/templates: main.css

Log Message:
templates: "Modernize" markup.  Add some CSS based on the NetBSD CSS.

Verified in Netsurf, lynx, Firefox 78.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/templates/README.all
cvs rdiff -u -r1.10 -r1.11 pkgsrc/templates/README.category
cvs rdiff -u -r1.30 -r1.31 pkgsrc/templates/README.pkg
cvs rdiff -u -r1.18 -r1.19 pkgsrc/templates/README.top
cvs rdiff -u -r0 -r1.1 pkgsrc/templates/main.css

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/templates/README.all
diff -u pkgsrc/templates/README.all:1.6 pkgsrc/templates/README.all:1.7
--- pkgsrc/templates/README.all:1.6     Tue Oct  9 19:19:15 2007
+++ pkgsrc/templates/README.all Sun Feb 21 10:15:24 2021
@@ -1,13 +1,15 @@
-<!-- $NetBSD: README.all,v 1.6 2007/10/09 19:19:15 martti Exp $ -->
-<html>
+<!-- $NetBSD: README.all,v 1.7 2021/02/21 10:15:24 nia Exp $ -->
+<!doctype html>
+<html lang="en">
 <head>
+<meta charset="utf-8">
+<link href="templates/main.css" rel="stylesheet">
 <title>All NetBSD Packages</title>
 </head>
-<body bgcolor="#ffffff">
+<body>
 
 <a href="http://www.mckusick.com/beastie/mainpage/copyright.html";>
-<img align="right" src="templates/pkg-daemon.gif" alt="Daemon Power"
-       width="147" height="121" border="0">
+<img src="templates/pkg-daemon.gif" alt="Daemon Power" id="logo">
 </a>
 <h1>The NetBSD Packages Collection</h1>
 
@@ -21,7 +23,7 @@ Please select an entry for more details!
 
 <hr noshade>
 <table>
-<tr><th align="left">Package <th align="left">Category <th align="left"> Package description
+<tr><th>Package <th>Category <th>Package description
 %%PKGS%%
 </table>
 

Index: pkgsrc/templates/README.category
diff -u pkgsrc/templates/README.category:1.10 pkgsrc/templates/README.category:1.11
--- pkgsrc/templates/README.category:1.10       Tue Jan 16 02:37:47 2001
+++ pkgsrc/templates/README.category    Sun Feb 21 10:15:24 2021
@@ -1,13 +1,15 @@
-<!-- $NetBSD: README.category,v 1.10 2001/01/16 02:37:47 hubertf Exp $ -->
-<html>
+<!-- $NetBSD: README.category,v 1.11 2021/02/21 10:15:24 nia Exp $ -->
+<!doctype html>
+<html lang="en">
 <head>
+<meta charset="utf-8">
+<link href="templates/main.css" rel="stylesheet">
 <title>The NetBSD Packages Collection: %%CATEGORY%%</title>
 </head>
-<body bgcolor="#ffffff">
+<body>
 
 <a href="http://www.mckusick.com/beastie/mainpage/copyright.html";>
-<img align="right" src="../templates/pkg-daemon.gif" alt="Daemon Power"
-       width="147" height="121" border="0">
+<img src="../templates/pkg-daemon.gif" alt="Daemon Power" id="logo">
 </a>
 <h1>The NetBSD Packages Collection: <i>%%CATEGORY%%</i></h1>
 

Index: pkgsrc/templates/README.pkg
diff -u pkgsrc/templates/README.pkg:1.30 pkgsrc/templates/README.pkg:1.31
--- pkgsrc/templates/README.pkg:1.30    Thu Feb 18 10:47:25 2021
+++ pkgsrc/templates/README.pkg Sun Feb 21 10:15:24 2021
@@ -1,14 +1,15 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
-<!-- $NetBSD: README.pkg,v 1.30 2021/02/18 10:47:25 nia Exp $ -->
-<html>
+<!-- $NetBSD: README.pkg,v 1.31 2021/02/21 10:15:24 nia Exp $ -->
+<!doctype html>
+<html lang="en">
 <head>
+<meta charset="utf-8">
+<link href="templates/main.css" rel="stylesheet">
 <title>The NetBSD Packages Collection: %%PORT%%</title>
 </head>
-<body bgcolor="#ffffff">
+<body>
 
 <a href="http://www.mckusick.com/beastie/mainpage/copyright.html";>
-<img align="right" src="../../templates/pkg-daemon.gif" alt="Daemon Power"
-       width="147" height="121" border="0">
+<img src="../../templates/pkg-daemon.gif" alt="Daemon Power" id="logo">
 </a>
 <h1>The NetBSD Packages Collection: <i>%%PORT%%</i></h1>
 
@@ -20,7 +21,7 @@
 
 <p>Please read the file "<a href="DESCR">DESCR</a>" for a
 longer description, or browse the package's
-<A HREF="http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/%%PORT%%/";>history</A>.
+<a href="http://cvsweb.NetBSD.org/bsdweb.cgi/pkgsrc/%%PORT%%/";>history</a>.
 </p>
 
 %%HOMEPAGE%%
@@ -40,30 +41,28 @@ For a summary on how to use the package 
 reported with
 <a href="http://www.NetBSD.org/support/send-pr.html";>send-pr.</a></p>
 
-<P>
+<p>
 The following security vulnerabilities are known for %%PORT%%
 %%VULDATE%%
 :
-<UL>
+<ul>
 %%VULNERABILITIES%%
-</UL>
+</ul>
 The <a href="../../pkgtools/pkg_install/README.html">pkg_admin audit</a>
 command locates any installed package which has been mentioned in
 security advisories as having vulnerabilities.
 Please note the vulnerabilities database might not be fully accurate,
 and not every bug is exploitable with every configuration.
-</P>
+</p>
 
 
 <p>
 This package requires the following package(s) to build:
 %%BUILD_DEPENDS%%
-.
 </p>
 <p>
 This package requires the following package(s) to run:
 %%RUN_DEPENDS%%
-.
 </p>
 
 <p>

Index: pkgsrc/templates/README.top
diff -u pkgsrc/templates/README.top:1.18 pkgsrc/templates/README.top:1.19
--- pkgsrc/templates/README.top:1.18    Fri Feb 19 17:49:06 2021
+++ pkgsrc/templates/README.top Sun Feb 21 10:15:24 2021
@@ -1,13 +1,15 @@
-<!-- $NetBSD: README.top,v 1.18 2021/02/19 17:49:06 nia Exp $ -->
-<html>
+<!-- $NetBSD: README.top,v 1.19 2021/02/21 10:15:24 nia Exp $ -->
+<!doctype html>
+<html lang="en">
 <head>
+<meta charset="utf-8">
+<link href="templates/main.css" rel="stylesheet">
 <title>The NetBSD Packages Collection</title>
 </head>
-<body bgcolor="#ffffff">
+<body>
 
 <a href="http://www.mckusick.com/beastie/mainpage/copyright.html";>
-<img align="right" src="templates/pkg-daemon.gif" alt="Daemon Power"
-       width="147" height="121" border="0">
+<img src="templates/pkg-daemon.gif" alt="Daemon Power" id="logo">
 </a>
 <h1>The NetBSD Packages Collection</h1>
 

Added files:

Index: pkgsrc/templates/main.css
diff -u /dev/null pkgsrc/templates/main.css:1.1
--- /dev/null   Sun Feb 21 10:15:25 2021
+++ pkgsrc/templates/main.css   Sun Feb 21 10:15:24 2021
@@ -0,0 +1,35 @@
+/* $NetBSD: main.css,v 1.1 2021/02/21 10:15:24 nia Exp $ */
+
+body {
+       font-family: sans-serif;
+       background-color: #fff;
+       color: #000;
+}
+
+a:link {
+       color: #d43900;
+       text-decoration: none;
+}
+
+a:hover {
+       text-decoration: underline;
+}
+
+a:visited {
+       color: #844;
+       text-decoration: none;
+}
+
+a:visited:hover {
+       text-decoration: underline;
+}
+
+th {
+       text-align: left;
+       font-weight: bold;
+}
+
+#logo {
+       float: right;
+       border: 0;
+}



Home | Main Index | Thread Index | Old Index