www-commits
[Top][All Lists]
Advanced

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

www/server/staging/graphics graphics.html


From: Therese Godefroy
Subject: www/server/staging/graphics graphics.html
Date: Mon, 11 Jun 2018 15:03:12 -0400 (EDT)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 18/06/11 15:03:12

Modified files:
        server/staging/graphics: graphics.html 

Log message:
        Select both theme and type; display last query.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/graphics/graphics.html?cvsroot=www&r1=1.3&r2=1.4

Patches:
Index: graphics.html
===================================================================
RCS file: /webcvs/www/www/server/staging/graphics/graphics.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- graphics.html       11 Jun 2018 12:49:36 -0000      1.3
+++ graphics.html       11 Jun 2018 19:03:09 -0000      1.4
@@ -1,16 +1,21 @@
 <!--#include virtual="/server/header.html" -->
 <!-- Parent-Version: 1.84 -->
+<!--#if expr="$QUERY_STRING = /theme=([a-z]+)/" -->
+  <!--#set var="theme" value="$1" -->
+<!--#endif -->
+<!--#if expr="$QUERY_STRING = /type=([a-z]+)/" -->
+  <!--#set var="type" value="$1" -->
+<!--#endif -->
 <title>The GNU Art Gallery
 - GNU Project - Free Software Foundation</title>
 <style type="text/css" media="print,screen">
-  form.select { margin: 1em; display: inline-block; }
-</style>
-<!--#if expr="($QUERY_STRING != 'class*=all') && ($QUERY_STRING)" -->
-<style type="text/css" media="print,screen">
+  form.select div { margin: 1em .5em; display: inline-block; }
+  <!--#if expr="($QUERY_STRING) && ($QUERY_STRING != /theme=all/)" -->
   li { display: none; }
-  li[<!--#echo encoding="none" var="QUERY_STRING" -->] { display: block; }
+  <!--#endif -->
+  li[class~=<!--#echo encoding="none" var="theme" -->] { display: block; }
+  li[class~=<!--#echo encoding="none" var="type" -->] a[href] { color: red; }
 </style>
-<!--#endif -->
 <!--#include virtual="/graphics/po/graphics.translist" -->
 <!--#include virtual="/server/banner.html" -->
 <h2>The GNU Art Gallery</h2>
@@ -38,7 +43,7 @@
 
 <form class="select" action="">
 <div><strong>Select by theme:</strong>
-  <select name="class*">
+  <select name="theme">
     <option value="all">all</option>
     <option value="gnuhead">Gnu head</option>
     <option value="gnu">Gnu character</option>
@@ -48,13 +53,9 @@
     <option value="drm">DRM</option>
     <option value="surveillance">surveillance</option>
   </select>
-  <input type="submit" />
 </div>
-</form>
-
-<form class="select" action="">
 <div><strong>Select by type:</strong>
-  <select name="class*">
+  <select name="type">
     <option value="all">all</option>
     <option value="ascii">ASCII art</option>
     <option value="banner">banner / badge / T-shirt</option>
@@ -66,11 +67,16 @@
     <option value="svg">SVG format</option>
     <option value="wallpaper">wallpaper</option>
   </select>
+</div>
+<div>
   <input type="submit" />
   <p class="no-display"><small><i>Note:</i> These forms will not work
   in CSS-unaware browsers.</small></p>
 </div>
 </form>
+<p class="big"><strong>Last query:</strong>
+theme = <!--#echo encoding="none" var="theme" --> and
+type = <!--#echo encoding="none" var="type" --></p>
 </div>
 
 <h3>What's new?</h3>
@@ -349,7 +355,8 @@
   <a href="/graphics/bahlon/">3D GNU head</a>
   by Georg Bahlon</li>
 <li class="gnu buttons svg">
-  <a href="/graphics/behroze/">Behroze Nejaati's GNU art</a></li>
+  <a href="/graphics/behroze/">GNU buttons</a>
+  by Behroze Nejaati</li>
 <li class="fs">
   <a href="/graphics/fsfsociety/fsfsociety.html">Graphics from <i>Free
   Software, Free Society</i></a></li>
@@ -478,7 +485,7 @@
 
 <p class="unprintable">Updated:
 <!-- timestamp start -->
-$Date: 2018/06/11 12:49:36 $
+$Date: 2018/06/11 19:03:09 $
 <!-- timestamp end -->
 </p>
 </div>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]