| | @@ -86,29 +86,30 @@ |
| 86 | 86 | @ text-align: center; |
| 87 | 87 | @ letter-spacing: 1px; |
| 88 | 88 | @ background-color: #404040; |
| 89 | 89 | @ color: white; |
| 90 | 90 | @ } |
| 91 | | -@ |
| 91 | +@ |
| 92 | 92 | @ /* The submenu bar that *sometimes* appears below the main menu */ |
| 93 | | -@ div.submenu { |
| 93 | +@ div.submenu, div.sectionmenu { |
| 94 | 94 | @ padding: 3px 10px 3px 0px; |
| 95 | 95 | @ font-size: 0.9em; |
| 96 | 96 | @ text-align: center; |
| 97 | 97 | @ background-color: #606060; |
| 98 | 98 | @ color: white; |
| 99 | 99 | @ } |
| 100 | | -@ div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited { |
| 100 | +@ div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited, |
| 101 | +@ div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited { |
| 101 | 102 | @ padding: 3px 10px 3px 10px; |
| 102 | 103 | @ color: white; |
| 103 | 104 | @ text-decoration: none; |
| 104 | 105 | @ } |
| 105 | | -@ div.mainmenu a:hover, div.submenu a:hover { |
| 106 | +@ div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover { |
| 106 | 107 | @ color: #404040; |
| 107 | 108 | @ background-color: white; |
| 108 | 109 | @ } |
| 109 | | -@ |
| 110 | +@ |
| 110 | 111 | @ /* All page content from the bottom of the menu or submenu down to |
| 111 | 112 | @ ** the footer */ |
| 112 | 113 | @ div.content { |
| 113 | 114 | @ padding: 0ex 0ex 0ex 0ex; |
| 114 | 115 | @ } |
| | @@ -208,49 +209,47 @@ |
| 208 | 209 | @ <link rel="stylesheet" href="$home/style.css?blackwhite" type="text/css" |
| 209 | 210 | @ media="screen"> |
| 210 | 211 | @ </head> |
| 211 | 212 | @ <body> |
| 212 | 213 | @ <div class="header"> |
| 213 | | -@ <div class="logo"> |
| 214 | | -@ <img src="$home/logo" alt="logo"> |
| 215 | | -@ </div> |
| 216 | 214 | @ <div class="title"><small>$<project_name></small><br />$<title></div> |
| 217 | 215 | @ <div class="status"><nobr><th1> |
| 218 | 216 | @ if {[info exists login]} { |
| 219 | 217 | @ puts "Logged in as $login" |
| 220 | 218 | @ } else { |
| 221 | 219 | @ puts "Not logged in" |
| 222 | 220 | @ } |
| 223 | 221 | @ </th1></nobr></div> |
| 224 | 222 | @ </div> |
| 225 | | -@ <div class="mainmenu"><th1> |
| 226 | | -@ html "<a href=''$home$index_page''>Home</a> " |
| 223 | +@ <div class="mainmenu"> |
| 224 | +@ <th1> |
| 225 | +@ html "<a href=''$home$index_page''>Home</a>\n" |
| 227 | 226 | @ if {[anycap jor]} { |
| 228 | | -@ html "<a href=''$home/timeline''>Timeline</a> " |
| 227 | +@ html "<a href=''$home/timeline''>Timeline</a>\n" |
| 229 | 228 | @ } |
| 230 | 229 | @ if {[hascap oh]} { |
| 231 | | -@ html "<a href=''$home/dir?ci=tip''>Files</a> " |
| 230 | +@ html "<a href=''$home/dir?ci=tip''>Files</a>\n" |
| 232 | 231 | @ } |
| 233 | 232 | @ if {[hascap o]} { |
| 234 | | -@ html "<a href=''$home/brlist''>Branches</a> " |
| 235 | | -@ html "<a href=''$home/taglist''>Tags</a> " |
| 233 | +@ html "<a href=''$home/brlist''>Branches</a>\n" |
| 234 | +@ html "<a href=''$home/taglist''>Tags</a>\n" |
| 236 | 235 | @ } |
| 237 | 236 | @ if {[hascap r]} { |
| 238 | | -@ html "<a href=''$home/reportlist''>Tickets</a> " |
| 237 | +@ html "<a href=''$home/reportlist''>Tickets</a>\n" |
| 239 | 238 | @ } |
| 240 | 239 | @ if {[hascap j]} { |
| 241 | | -@ html "<a href=''$home/wiki''>Wiki</a> " |
| 240 | +@ html "<a href=''$home/wiki''>Wiki</a>\n" |
| 242 | 241 | @ } |
| 243 | 242 | @ if {[hascap s]} { |
| 244 | | -@ html "<a href=''$home/setup''>Admin</a> " |
| 243 | +@ html "<a href=''$home/setup''>Admin</a>\n" |
| 245 | 244 | @ } elseif {[hascap a]} { |
| 246 | | -@ html "<a href=''$home/setup_ulist''>Users</a> " |
| 245 | +@ html "<a href=''$home/setup_ulist''>Users</a>\n" |
| 247 | 246 | @ } |
| 248 | 247 | @ if {[info exists login]} { |
| 249 | | -@ html "<a href=''$home/login''>Logout</a> " |
| 248 | +@ html "<a href=''$home/login''>Logout</a>\n" |
| 250 | 249 | @ } else { |
| 251 | | -@ html "<a href=''$home/login''>Login</a> " |
| 250 | +@ html "<a href=''$home/login''>Login</a>\n" |
| 252 | 251 | @ } |
| 253 | 252 | @ </th1></div> |
| 254 | 253 | @ '); |
| 255 | 254 | @ REPLACE INTO config(name,mtime,value) |
| 256 | 255 | @ VALUES('footer',now(),'<div class="footer"> |
| | @@ -324,23 +323,24 @@ |
| 324 | 323 | @ background-color: #a09048; |
| 325 | 324 | @ color: black; |
| 326 | 325 | @ } |
| 327 | 326 | @ |
| 328 | 327 | @ /* The submenu bar that *sometimes* appears below the main menu */ |
| 329 | | -@ div.submenu { |
| 328 | +@ div.submenu, div.sectionmenu { |
| 330 | 329 | @ padding: 3px 10px 3px 0px; |
| 331 | 330 | @ font-size: 0.9em; |
| 332 | 331 | @ text-align: center; |
| 333 | 332 | @ background-color: #c0af58; |
| 334 | 333 | @ color: white; |
| 335 | 334 | @ } |
| 336 | | -@ div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited { |
| 335 | +@ div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited, |
| 336 | +@ div.sectionmenu>a.button:link, div.sectionmenu>a.button:visited { |
| 337 | 337 | @ padding: 3px 10px 3px 10px; |
| 338 | 338 | @ color: white; |
| 339 | 339 | @ text-decoration: none; |
| 340 | 340 | @ } |
| 341 | | -@ div.mainmenu a:hover, div.submenu a:hover { |
| 341 | +@ div.mainmenu a:hover, div.submenu a:hover, div.sectionmenu>a.button:hover { |
| 342 | 342 | @ color: #a09048; |
| 343 | 343 | @ background-color: white; |
| 344 | 344 | @ } |
| 345 | 345 | @ |
| 346 | 346 | @ /* All page content from the bottom of the menu or submenu down to |
| | @@ -466,37 +466,38 @@ |
| 466 | 466 | @ } else { |
| 467 | 467 | @ puts "Not logged in" |
| 468 | 468 | @ } |
| 469 | 469 | @ </th1></nobr></div> |
| 470 | 470 | @ </div> |
| 471 | | -@ <div class="mainmenu"><th1> |
| 472 | | -@ html "<a href=''$home$index_page''>Home</a> " |
| 471 | +@ <div class="mainmenu"> |
| 472 | +@ <th1> |
| 473 | +@ html "<a href=''$home$index_page''>Home</a>\n" |
| 473 | 474 | @ if {[anycap jor]} { |
| 474 | | -@ html "<a href=''$home/timeline''>Timeline</a> " |
| 475 | +@ html "<a href=''$home/timeline''>Timeline</a>\n" |
| 475 | 476 | @ } |
| 476 | 477 | @ if {[hascap oh]} { |
| 477 | | -@ html "<a href=''$home/dir?ci=tip''>Files</a> " |
| 478 | +@ html "<a href=''$home/dir?ci=tip''>Files</a>\n" |
| 478 | 479 | @ } |
| 479 | 480 | @ if {[hascap o]} { |
| 480 | | -@ html "<a href=''$home/brlist''>Branches</a> " |
| 481 | | -@ html "<a href=''$home/taglist''>Tags</a> " |
| 481 | +@ html "<a href=''$home/brlist''>Branches</a>\n" |
| 482 | +@ html "<a href=''$home/taglist''>Tags</a>\n" |
| 482 | 483 | @ } |
| 483 | 484 | @ if {[hascap r]} { |
| 484 | | -@ html "<a href=''$home/reportlist''>Tickets</a> " |
| 485 | +@ html "<a href=''$home/reportlist''>Tickets</a>\n" |
| 485 | 486 | @ } |
| 486 | 487 | @ if {[hascap j]} { |
| 487 | | -@ html "<a href=''$home/wiki''>Wiki</a> " |
| 488 | +@ html "<a href=''$home/wiki''>Wiki</a>\n" |
| 488 | 489 | @ } |
| 489 | 490 | @ if {[hascap s]} { |
| 490 | | -@ html "<a href=''$home/setup''>Admin</a> " |
| 491 | +@ html "<a href=''$home/setup''>Admin</a>\n" |
| 491 | 492 | @ } elseif {[hascap a]} { |
| 492 | | -@ html "<a href=''$home/setup_ulist''>Users</a> " |
| 493 | +@ html "<a href=''$home/setup_ulist''>Users</a>\n" |
| 493 | 494 | @ } |
| 494 | 495 | @ if {[info exists login]} { |
| 495 | | -@ html "<a href=''$home/login''>Logout</a> " |
| 496 | +@ html "<a href=''$home/login''>Logout</a>\n" |
| 496 | 497 | @ } else { |
| 497 | | -@ html "<a href=''$home/login''>Login</a> " |
| 498 | +@ html "<a href=''$home/login''>Login</a>\n" |
| 498 | 499 | @ } |
| 499 | 500 | @ </th1></div> |
| 500 | 501 | @ '); |
| 501 | 502 | @ REPLACE INTO config(name,mtime,value) |
| 502 | 503 | @ VALUES('footer',now(),'<div class="footer"> |
| | @@ -605,25 +606,26 @@ |
| 605 | 606 | @ #container { |
| 606 | 607 | @ padding-left: 9em; |
| 607 | 608 | @ } |
| 608 | 609 | @ |
| 609 | 610 | @ /* The submenu bar that *sometimes* appears below the main menu */ |
| 610 | | -@ div.submenu { |
| 611 | +@ div.submenu, div.sectionmenu { |
| 611 | 612 | @ padding: 3px 10px 3px 10px; |
| 612 | 613 | @ font-size: 0.9em; |
| 613 | 614 | @ text-align: center; |
| 614 | 615 | @ border:1px solid #999; |
| 615 | 616 | @ border-width:1px 0px; |
| 616 | 617 | @ background-color: #eee; |
| 617 | 618 | @ color: #333; |
| 618 | 619 | @ } |
| 619 | | -@ div.submenu a, div.submenu a:visited { |
| 620 | +@ div.submenu a, div.submenu a:visited, div.sectionmenu>a.button:link, |
| 621 | +@ div.sectionmenu>a.button:visited { |
| 620 | 622 | @ padding: 3px 10px 3px 10px; |
| 621 | 623 | @ color: #333; |
| 622 | 624 | @ text-decoration: none; |
| 623 | 625 | @ } |
| 624 | | -@ div.submenu a:hover { |
| 626 | +@ div.submenu a:hover, div.sectionmenu>a.button:hover { |
| 625 | 627 | @ color: #eee; |
| 626 | 628 | @ background-color: #333; |
| 627 | 629 | @ } |
| 628 | 630 | @ |
| 629 | 631 | @ /* All page content from the bottom of the menu or submenu down to |
| | @@ -748,37 +750,38 @@ |
| 748 | 750 | @ } else { |
| 749 | 751 | @ puts "Not logged in" |
| 750 | 752 | @ } |
| 751 | 753 | @ </th1></nobr></div> |
| 752 | 754 | @ </div> |
| 753 | | -@ <div class="mainmenu"><th1> |
| 754 | | -@ html "<li><a href=''$home$index_page''>Home</a></li>" |
| 755 | +@ <div class="mainmenu"> |
| 756 | +@ <th1> |
| 757 | +@ html "<a href=''$home$index_page''>Home</a>\n" |
| 755 | 758 | @ if {[anycap jor]} { |
| 756 | | -@ html "<li><a href=''$home/timeline''>Timeline</a></li>" |
| 759 | +@ html "<a href=''$home/timeline''>Timeline</a>\n" |
| 757 | 760 | @ } |
| 758 | 761 | @ if {[hascap oh]} { |
| 759 | | -@ html "<li><a href=''$home/dir?ci=tip''>Files</a></li>" |
| 762 | +@ html "<a href=''$home/dir?ci=tip''>Files</a>\n" |
| 760 | 763 | @ } |
| 761 | 764 | @ if {[hascap o]} { |
| 762 | | -@ html "<li><a href=''$home/brlist''>Branches</a></li>" |
| 763 | | -@ html "<li><a href=''$home/taglist''>Tags</a></li>" |
| 765 | +@ html "<a href=''$home/brlist''>Branches</a>\n" |
| 766 | +@ html "<a href=''$home/taglist''>Tags</a>\n" |
| 764 | 767 | @ } |
| 765 | 768 | @ if {[hascap r]} { |
| 766 | | -@ html "<li><a href=''$home/reportlist''>Tickets</a></li>" |
| 769 | +@ html "<a href=''$home/reportlist''>Tickets</a>\n" |
| 767 | 770 | @ } |
| 768 | 771 | @ if {[hascap j]} { |
| 769 | | -@ html "<li><a href=''$home/wiki''>Wiki</a></li>" |
| 772 | +@ html "<a href=''$home/wiki''>Wiki</a>\n" |
| 770 | 773 | @ } |
| 771 | 774 | @ if {[hascap s]} { |
| 772 | | -@ html "<li><a href=''$home/setup''>Admin</a></li>" |
| 775 | +@ html "<a href=''$home/setup''>Admin</a>\n" |
| 773 | 776 | @ } elseif {[hascap a]} { |
| 774 | | -@ html "<li><a href=''$home/setup_ulist''>Users</a></li>" |
| 777 | +@ html "<a href=''$home/setup_ulist''>Users</a>\n" |
| 775 | 778 | @ } |
| 776 | 779 | @ if {[info exists login]} { |
| 777 | | -@ html "<li><a href=''$home/login''>Logout</a></li>" |
| 780 | +@ html "<a href=''$home/login''>Logout</a>\n" |
| 778 | 781 | @ } else { |
| 779 | | -@ html "<li><a href=''$home/login''>Login</a></li>" |
| 782 | +@ html "<a href=''$home/login''>Login</a>\n" |
| 780 | 783 | @ } |
| 781 | 784 | @ </th1></ul></div> |
| 782 | 785 | @ <div id="container"> |
| 783 | 786 | @ '); |
| 784 | 787 | @ REPLACE INTO config(name,mtime,value) VALUES('footer',now(),'</div> |
| | @@ -859,12 +862,13 @@ |
| 859 | 862 | @ -webkit-border-top-left-radius: 5px; |
| 860 | 863 | @ -border-top-right-radius: 5px; |
| 861 | 864 | @ -border-top-left-radius: 5px; |
| 862 | 865 | @ border-top-left-radius: 5px; |
| 863 | 866 | @ border-top-right-radius: 5px; |
| 864 | | -@ vertical-align: center; |
| 865 | | -@ min-height: 2em; |
| 867 | +@ vertical-align: middle; |
| 868 | +@ padding-top: 8px; |
| 869 | +@ padding-bottom: 8px; |
| 866 | 870 | @ background-color: #446979; |
| 867 | 871 | @ background: -webkit-gradient(linear,left bottom,left top, color-stop(0.02, rgb(51,81,94)), color-stop(0.76, rgb(85,129,149))); |
| 868 | 872 | @ background: -moz-linear-gradient(center bottom,rgb(51,81,94) 2%, rgb(85,129,149) 76%); |
| 869 | 873 | @ -webkit-box-shadow: 0px 3px 4px #333333; |
| 870 | 874 | @ -moz-box-shadow: 0px 3px 4px #333333; |
| | @@ -887,11 +891,12 @@ |
| 887 | 891 | @ div.mainmenu a, div.mainmenu a:visited { |
| 888 | 892 | @ padding: 3px 10px 3px 10px; |
| 889 | 893 | @ color: white; |
| 890 | 894 | @ text-decoration: none; |
| 891 | 895 | @ } |
| 892 | | -@ div.submenu a, div.submenu a:visited { |
| 896 | +@ div.submenu a, div.submenu a:visited, a.button, |
| 897 | +@ div.sectionmenu>a.button:link, div.sectinmenu>a.button:visited { |
| 893 | 898 | @ padding: 2px 8px; |
| 894 | 899 | @ color: #000; |
| 895 | 900 | @ font-family: Arial; |
| 896 | 901 | @ text-decoration: none; |
| 897 | 902 | @ margin:auto; |
| | @@ -909,11 +914,11 @@ |
| 909 | 914 | @ div.mainmenu a:hover { |
| 910 | 915 | @ color: #000; |
| 911 | 916 | @ background-color: white; |
| 912 | 917 | @ } |
| 913 | 918 | @ |
| 914 | | -@ div.submenu a:hover { |
| 919 | +@ div.submenu a:hover, div.sectionmenu>a.button:hover { |
| 915 | 920 | @ background: -webkit-gradient(linear,left bottom, left top, color-stop(0, rgb(214,214,214)), color-stop(0.75, rgb(184,184,184))); |
| 916 | 921 | @ background: -moz-linear-gradient(center bottom, rgb(214,214,214) 0%, rgb(184,184,184) 75%); |
| 917 | 922 | @ background-color: #c0c0c0 ; |
| 918 | 923 | @ } |
| 919 | 924 | @ |
| | @@ -1110,39 +1115,40 @@ |
| 1110 | 1115 | @ } else { |
| 1111 | 1116 | @ puts "Not logged in" |
| 1112 | 1117 | @ } |
| 1113 | 1118 | @ </th1></nobr></div> |
| 1114 | 1119 | @ </div> |
| 1115 | | -@ <div class="mainmenu"><ul><th1> |
| 1116 | | -@ html "<a href=''$home$index_page''>Home</a>" |
| 1120 | +@ <div class="mainmenu"> |
| 1121 | +@ <th1> |
| 1122 | +@ html "<a href=''$home$index_page''>Home</a>\n" |
| 1117 | 1123 | @ if {[anycap jor]} { |
| 1118 | | -@ html "<a href=''$home/timeline''>Timeline</a>" |
| 1124 | +@ html "<a href=''$home/timeline''>Timeline</a>\n" |
| 1119 | 1125 | @ } |
| 1120 | 1126 | @ if {[hascap oh]} { |
| 1121 | | -@ html "<a href=''$home/dir?ci=tip''>Files</a>" |
| 1127 | +@ html "<a href=''$home/dir?ci=tip''>Files</a>\n" |
| 1122 | 1128 | @ } |
| 1123 | 1129 | @ if {[hascap o]} { |
| 1124 | | -@ html "<a href=''$home/brlist''>Branches</a>" |
| 1125 | | -@ html "<a href=''$home/taglist''>Tags</a>" |
| 1130 | +@ html "<a href=''$home/brlist''>Branches</a>\n" |
| 1131 | +@ html "<a href=''$home/taglist''>Tags</a>\n" |
| 1126 | 1132 | @ } |
| 1127 | 1133 | @ if {[hascap r]} { |
| 1128 | | -@ html "<a href=''$home/reportlist''>Tickets</a>" |
| 1134 | +@ html "<a href=''$home/reportlist''>Tickets</a>\n" |
| 1129 | 1135 | @ } |
| 1130 | 1136 | @ if {[hascap j]} { |
| 1131 | | -@ html "<a href=''$home/wiki''>Wiki</a>" |
| 1137 | +@ html "<a href=''$home/wiki''>Wiki</a>\n" |
| 1132 | 1138 | @ } |
| 1133 | 1139 | @ if {[hascap s]} { |
| 1134 | | -@ html "<a href=''$home/setup''>Admin</a>" |
| 1140 | +@ html "<a href=''$home/setup''>Admin</a>\n" |
| 1135 | 1141 | @ } elseif {[hascap a]} { |
| 1136 | | -@ html "<a href=''$home/setup_ulist''>Users</a>" |
| 1142 | +@ html "<a href=''$home/setup_ulist''>Users</a>\n" |
| 1137 | 1143 | @ } |
| 1138 | 1144 | @ if {[info exists login]} { |
| 1139 | | -@ html "<a href=''$home/login''>Logout</a>" |
| 1145 | +@ html "<a href=''$home/login''>Logout</a>\n" |
| 1140 | 1146 | @ } else { |
| 1141 | | -@ html "<a href=''$home/login''>Login</a>" |
| 1147 | +@ html "<a href=''$home/login''>Login</a>\n" |
| 1142 | 1148 | @ } |
| 1143 | | -@ </th1></ul></div> |
| 1149 | +@ </th1></div> |
| 1144 | 1150 | @ <div id="container"> |
| 1145 | 1151 | @ '); |
| 1146 | 1152 | @ REPLACE INTO config(name,mtime,value) VALUES('footer',now(),'</div> |
| 1147 | 1153 | @ <div class="footer"> |
| 1148 | 1154 | @ Fossil version $manifest_version $manifest_date |
| 1149 | 1155 | |