tazpkg rev 740
pkgs.cgi: fix regressions, "All categories" and "All tags" in the sidebar are works now.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 31 17:08:23 2014 +0200 (2014-12-31) |
parents | c214f7081500 |
children | 0fc4fe760d8c |
files | tazpanel/pkgs.cgi tazpanel/pkgs.css |
line diff
1.1 --- a/tazpanel/pkgs.cgi Wed Dec 31 15:50:27 2014 +0200 1.2 +++ b/tazpanel/pkgs.cgi Wed Dec 31 17:08:23 2014 +0200 1.3 @@ -239,8 +239,8 @@ 1.4 </select> 1.5 <script type="text/javascript">document.getElementById('repo').value="$repo"</script> 1.6 1.7 - <input type="submit" name="tag" value="" id="tags"><label for="tags">$(_ 'All tags...')</label> 1.8 - <input type="submit" name="cat" value="" id="cats"><label for="cats">$(_ 'All categories...')</label> 1.9 + <a href="?tag=&my=$my&repo=$repo">$(_ 'All tags...')</a> 1.10 + <a href="?cat=&my=$my&repo=$repo">$(_ 'All categories...')</a> 1.11 EOT 1.12 fi 1.13 echo "</div>"
2.1 --- a/tazpanel/pkgs.css Wed Dec 31 15:50:27 2014 +0200 2.2 +++ b/tazpanel/pkgs.css Wed Dec 31 17:08:23 2014 +0200 2.3 @@ -33,9 +33,7 @@ 2.4 background-color: rgba(0,0,0,0.05); 2.5 } 2.6 2.7 -#sidebar input[type=submit] { display: none; } 2.8 - 2.9 -#sidebar label { 2.10 +#sidebar a { 2.11 display: inline-block; 2.12 padding: 0 0 0 0.5em; margin: 0; 2.13 color: #666; 2.14 @@ -43,8 +41,6 @@ 2.15 width: 100%; 2.16 } 2.17 2.18 -#sidebar label:hover { color: #000; } 2.19 - 2.20 2.21 2.22 /* links classes: