]> git.plutz.net Git - bookman/commitdiff
disable smartphone smartness when rendering
authorpaul <paul@plutz.net>
Sat, 9 Dec 2017 20:28:47 +0000 (20:28 +0000)
committerpaul <paul@plutz.net>
Sat, 9 Dec 2017 20:28:47 +0000 (20:28 +0000)
svn path=/trunk/; revision=17

index.cgi

index e28675cfe31496ac70c03729446f689a892e14a1..e96c9f01e750c7c323a8b7d031177918f6c96e7f 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -103,6 +103,7 @@ elif [ -z "$COKID" -a -z "$QRYID" ]; then
   cat <<-EOF
        <!DOCTYPE HTML>
        <HTML><head>
   cat <<-EOF
        <!DOCTYPE HTML>
        <HTML><head>
+         <meta name="viewport" content="width=device-width" />
          <title>Bookman - New Collection</title>
        </head><body id="newcollection">
          <h1>You have not yet set up a collection on this server.</h1>
          <title>Bookman - New Collection</title>
        </head><body id="newcollection">
          <h1>You have not yet set up a collection on this server.</h1>
@@ -117,6 +118,7 @@ elif ! [ -d "${BDB}" ]; then
   cat <<-EOF
        <!DOCTYPE HTML>
        <HTML><head>
   cat <<-EOF
        <!DOCTYPE HTML>
        <HTML><head>
+         <meta name="viewport" content="width=device-width" />
          <title>Bookman - 404</title>
        </head><body id="missingcollection">
          <h1>The collection you requested does not exist on this server.</h1>
          <title>Bookman - 404</title>
        </head><body id="missingcollection">
          <h1>The collection you requested does not exist on this server.</h1>
@@ -485,6 +487,7 @@ printf 'Content-Type: text/html; charset=utf-8\r\n\r\n'
 cat <<EOF
 <!DOCTYPE HTML>
 <HTML><head>
 cat <<EOF
 <!DOCTYPE HTML>
 <HTML><head>
+  <meta name="viewport" content="width=device-width" />
   <title>Bookman - Your Collection</title>
   <link rel="stylesheet" type="text/css" href="bookmarks.css" />
 </head><body id="collection">
   <title>Bookman - Your Collection</title>
   <link rel="stylesheet" type="text/css" href="bookmarks.css" />
 </head><body id="collection">