Ticket #965: news_tweaks_and_BOINC_homepage_validation_fixes.patch
File news_tweaks_and_BOINC_homepage_validation_fixes.patch, 7.2 KB (added by , 15 years ago) |
---|
-
doc/index.php
232 232 html_tag(); 233 233 echo " 234 234 <head> 235 <link rel=\"shortcut icon\" href=\"logo/favicon.gif\">236 <link rel=\"stylesheet\" href=\"white.css\">237 <title>BOINC</title>238 <meta name=description content=\"BOINC is an open-source software platform for computing using volunteered resources\">239 <meta name=keywords content=\"distributed scientific computing supercomputing grid SETI@home public computing volunteer computing \">235 <link rel=\"shortcut icon\" href=\"logo/favicon.gif\"> 236 <link rel=\"stylesheet\" type=\"text/css\" href=\"white.css\"> 237 <title>BOINC</title> 238 <meta name=description content=\"BOINC is an open-source software platform for computing using volunteered resources\"> 239 <meta name=keywords content=\"distributed scientific computing supercomputing grid SETI@home public computing volunteer computing \"> 240 240 </head> 241 242 <body> 241 243 <table width=\"100%\" border=0><tr><td valign=top> 242 244 <img hspace=20 vspace=6 align=left src=\"logo/www_logo.gif\" alt=\"BOINC logo\"> 243 245 </td><td align=center> -
doc/white.css
5 5 * (157, 221, 255) 6 6 */ 7 7 8 9 pre { 10 font-size: medium; 8 pre, code { 9 font-size: medium; 11 10 } 12 11 13 code {14 font-size: medium;15 }16 17 12 a.heading { 18 13 font-size: 14px; 19 14 } 20 15 21 16 a:link, a:visited, a:active{ 22 17 color: rgb(0, 105, 161); 23 18 text-decoration: none; 24 19 #font-weight: bold; 25 20 } 26 21 27 22 a:hover { 28 23 color: rgb(232, 174, 0); 29 24 font-weight: bold; 30 25 } 31 26 32 27 body , table , input , select { 33 28 font-family: "Trebuchet MS", Verdana, Arial, Sans Serif; 34 29 font-size: 15px; 35 30 } 36 31 37 32 table.box { 38 39 33 border: solid lightblue; 34 padding: 8; 40 35 } 41 36 42 37 table.bordered { 43 44 45 38 border: 2px solid #e8e8e8; 39 -moz-border-radius: 6px; 40 -webkit-border-radius: 6px; 46 41 } 47 42 48 43 body { 49 44 background-color: white; 50 45 color: black; 51 46 } 52 47 53 48 .nobr{ 54 49 white-space: nowrap; 55 50 } 56 51 57 52 span.title{ 58 59 53 font-variant: small-caps; 54 font-size: 2em; 60 55 } 56 61 57 span.subtitle{ 62 58 font-size: 1.3em; 63 59 } 60 64 61 span.section_title{ 65 62 font-size: 1.2em; 66 63 font-weight: bold; 67 64 text-align: center; 68 65 } 69 66 70 71 67 span.note{ 72 68 font-weight: normal; 73 69 font-size: 0.9em; 74 70 } 75 71 span.news_date { 76 color: rgb(100,100,100); 77 font-size: 0.9em; 72 color: rgb(100,100,100); 73 font-size: 0.9em; 74 float: right; 78 75 } 79 76 77 hr.news_line { 78 border: 0; 79 border-bottom: 1px solid goldenrod; 80 } 81 80 82 pre { 81 83 background-color: rgb( 213, 240, 255); 82 84 } … … 85 87 background-color: rgb(200, 221, 250); 86 88 color: black; 87 89 font-weight: bold; 88 90 border: 1px solid lightgray; 89 91 } 90 92 91 93 td.indent { 92 94 border-left: 4px solid white; 93 95 } 94 96 95 97 td.heading{ 96 97 98 99 98 background-color: rgb(223, 240, 255); 99 border: 1px solid lightblue; 100 -moz-border-radius: 6px; 101 -webkit-border-radius: 6px; 100 102 } 101 103 102 104 td.heading_left { 103 104 105 106 105 background-color: rgb(223, 240, 255); 106 border: 1px solid lightgray; 107 -moz-border-radius: 6px; 108 -webkit-border-radius: 6px; 107 109 } 108 110 109 111 td.heading_right { 110 111 112 113 112 background-color: rgb(255, 255, 214); 113 border: 1px solid goldenrod; 114 -moz-border-radius: 6px; 115 -webkit-border-radius: 6px; 114 116 } 115 117 116 118 td.fieldname { 117 background-color: rgb(235, 248, 255); 118 #border: 1px solid gray; 119 background-color: rgb(235, 248, 255); 119 120 } 120 121 121 122 td.category { 122 123 border: 1px solid black; 123 124 } 124 125 125 126 tr.row0 { 126 127 background-color: rgb(247,247,247); 127 128 } 128 129 129 130 tr.row1 { 130 131 background-color: rgb(237,237,237); 131 132 } 132 133 133 134 tr.subtitle { … … 141 142 } 142 143 143 144 img { 144 border: 0px;145 border: 0; 145 146 } 146 147 148 img.rss { 149 padding-right: 8px; 150 float: left; 151 } 152 147 153 .title { 148 154 font-size: small; 149 155 font-weight: bold; … … 156 162 157 163 select.selectbox { 158 164 font-size: 12px; 159 165 height:20px; 160 166 } 161 167 162 168 input.small { 163 169 font-size: 12px; 164 170 height:22px; 165 171 } 166 172 167 173 /* testing for button style */ 168 174 input.btn { 169 padding:0px2px;175 padding: 0 2px; 170 176 font-size: 80%; 171 177 font-weight: normal; 172 178 } … … 174 180 /* Download All */ 175 181 176 182 #dlall, #dlall td, #dlall tr{ 177 178 border-spacing: 0px4px;183 padding: 3px; 184 border-spacing: 0 4px; 179 185 } 180 186 181 187 .rowline { 182 183 184 188 border-bottom: 1px solid lightblue; 189 border-top: 1px solid lightblue; 190 white-space: nowrap; 185 191 } 186 192 187 193 .rowlineleft { 188 189 190 191 192 -moz-border-radius: 6px 0px 0px6px;193 -webkit-border-radius: 6px 0px 0px6px;194 border: 1px solid lightblue; 195 border-right: none; 196 padding: 3px 6px; 197 white-space: nowrap; 198 -moz-border-radius: 6px 0 0 6px; 199 -webkit-border-radius: 6px 0 0 6px; 194 200 } 195 201 196 202 .rowlineright { 197 198 199 -moz-border-radius: 0px 6px 6px 0px;200 -webkit-border-radius: 0px 6px 6px 0px;203 border: 1px solid lightblue; 204 border-left: none; 205 -moz-border-radius: 0 6px 6px 0; 206 -webkit-border-radius: 0 6px 6px 0; 201 207 } 202 208 203 209 .dev { color: red; font-weight: bold } -
html/inc/news.inc
26 26 $d = time_str($date); 27 27 $text = bb2html($post->content); 28 28 echo " 29 <hr size=\"0\" class=\"news_line\" /> 29 30 <span class=news_content>$text</span> 30 <br><span class=news_date>$d 31 <a href=".URL_BASE."forum_thread.php?id=$post->thread>".tra("Comment")."</a></span> 31 <br><span class=news_date><a href=".URL_BASE."forum_thread.php?id=$post->thread>".tra("Comment")."</a> · $d</span> 32 32 "; 33 33 } 34 34 … … 73 73 echo "<br><br><a href=".URL_BASE."old_news.php>...more</a>"; 74 74 } 75 75 echo " 76 <br><br><p class=\"smalltext\"> 76 <br><hr size=\"0\" class=\"news_line\" /> 77 <p class=\"smalltext\"> 78 <img src=\"img/rss_icon.png\" class=\"rss\" alt=\"RSS\"> 77 79 "; 78 printf(tra("News is available as an %sRSS feed%s "),79 80 "</a> <img src=\"img/rss_icon.gif\" alt=\"RSS\"></p>"80 printf(tra("News is available as an %sRSS feed%s."), 81 "<a href=rss_main.php>", 82 "</a></p>" 81 83 ); 82 84 } 83 85