Ticket #965: news_tweaks_and_BOINC_homepage_validation_fixes.patch

File news_tweaks_and_BOINC_homepage_validation_fixes.patch, 7.2 KB (added by Simek, 14 years ago)

patch file

  • doc/index.php

     
    232232html_tag();
    233233echo "
    234234<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 \">
    240240</head>
     241
     242<body>
    241243<table width=\"100%\" border=0><tr><td valign=top>
    242244<img hspace=20 vspace=6 align=left src=\"logo/www_logo.gif\" alt=\"BOINC logo\">
    243245</td><td align=center>
  • doc/white.css

     
    55 * (157, 221, 255)
    66 */
    77
    8 
    9 pre {
    10     font-size: medium;
     8pre, code {
     9        font-size: medium;
    1110}
    1211
    13 code {
    14     font-size: medium;
    15 }
    16 
    1712a.heading {
    18     font-size: 14px;
     13        font-size: 14px;
    1914}
    2015
    2116a:link, a:visited, a:active{
    2217        color: rgb(0, 105, 161);
    23     text-decoration: none;
     18        text-decoration: none;
    2419#font-weight: bold;
    2520}
    2621
    2722a:hover {
    28     color: rgb(232, 174, 0);
     23        color: rgb(232, 174, 0);
    2924        font-weight: bold;
    3025}
    3126
    3227body , table , input , select {
    3328        font-family: "Trebuchet MS", Verdana, Arial, Sans Serif;
    34     font-size: 15px;
     29        font-size: 15px;
    3530}
    3631
    3732table.box {
    38     border: solid lightblue;
    39     padding: 8;
     33        border: solid lightblue;
     34        padding: 8;
    4035}
    4136
    4237table.bordered {
    43     border: 2px solid #e8e8e8;
    44     -moz-border-radius: 6px;
    45     -webkit-border-radius: 6px;
     38        border: 2px solid #e8e8e8;
     39        -moz-border-radius: 6px;
     40        -webkit-border-radius: 6px;
    4641}
    4742
    4843body {
    4944        background-color: white;
    50     color: black;
     45        color: black;
    5146}
    5247
    5348.nobr{
    54     white-space: nowrap;
     49        white-space: nowrap;
    5550}
    5651
    5752span.title{
    58     font-variant: small-caps;
    59     font-size: 2em;
     53        font-variant: small-caps;
     54        font-size: 2em;
    6055}
     56
    6157span.subtitle{
    62     font-size: 1.3em;
     58        font-size: 1.3em;
    6359}
     60
    6461span.section_title{
    65     font-size: 1.2em;
     62        font-size: 1.2em;
    6663        font-weight: bold;
    67     text-align: center;
     64        text-align: center;
    6865}
    6966
    70 
    7167span.note{
    7268        font-weight: normal;
    73     font-size: 0.9em;
     69        font-size: 0.9em;
    7470}
    7571span.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;
    7875}
    7976
     77hr.news_line {
     78        border: 0;
     79        border-bottom: 1px solid goldenrod;
     80}
     81
    8082pre {
    8183        background-color: rgb( 213, 240, 255);
    8284}
     
    8587        background-color: rgb(200, 221, 250);
    8688        color: black;
    8789        font-weight: bold;
    88         border: 1px solid lightgray;
     90        border: 1px solid lightgray;
    8991}
    9092
    9193td.indent {
    92     border-left: 4px solid white;
     94        border-left: 4px solid white;
    9395}
    9496
    9597td.heading{
    96     background-color: rgb(223, 240, 255);
    97     border: 1px solid lightblue;
    98     -moz-border-radius: 6px;
    99     -webkit-border-radius: 6px;
     98        background-color: rgb(223, 240, 255);
     99        border: 1px solid lightblue;
     100        -moz-border-radius: 6px;
     101        -webkit-border-radius: 6px;
    100102}
    101103
    102104td.heading_left {
    103     background-color: rgb(223, 240, 255);
    104     border: 1px solid lightgray;
    105     -moz-border-radius: 6px;
    106     -webkit-border-radius: 6px;
     105        background-color: rgb(223, 240, 255);
     106        border: 1px solid lightgray;
     107        -moz-border-radius: 6px;
     108        -webkit-border-radius: 6px;
    107109}
    108110
    109111td.heading_right {
    110     background-color: rgb(255, 255, 214);
    111     border: 1px solid goldenrod;
    112     -moz-border-radius: 6px;
    113     -webkit-border-radius: 6px;
     112        background-color: rgb(255, 255, 214);
     113        border: 1px solid goldenrod;
     114        -moz-border-radius: 6px;
     115        -webkit-border-radius: 6px;
    114116}
    115117
    116118td.fieldname {
    117         background-color: rgb(235, 248, 255);
    118 #border: 1px solid gray;
     119        background-color: rgb(235, 248, 255);
    119120}
    120121
    121122td.category {
    122         border: 1px solid black;
     123        border: 1px solid black;
    123124}
    124125
    125126tr.row0 {
    126         background-color: rgb(247,247,247);
     127        background-color: rgb(247,247,247);
    127128}
    128129
    129130tr.row1 {
    130         background-color: rgb(237,237,237);
     131        background-color: rgb(237,237,237);
    131132}
    132133
    133134tr.subtitle {
     
    141142}
    142143
    143144img {
    144     border: 0px;
     145        border: 0;
    145146}
    146147
     148img.rss {
     149        padding-right: 8px;
     150        float: left;
     151}
     152
    147153.title {
    148154        font-size: small;
    149155        font-weight: bold;
     
    156162
    157163select.selectbox {
    158164        font-size: 12px;
    159     height:20px;
     165        height:20px;
    160166}
    161167
    162168input.small {
    163169        font-size: 12px;
    164     height:22px;
     170        height:22px;
    165171}
    166172
    167173/* testing for button style */
    168174input.btn {
    169     padding:0px 2px;
     175        padding: 0 2px;
    170176        font-size: 80%;
    171177        font-weight: normal;
    172178}
     
    174180/* Download All */
    175181
    176182#dlall, #dlall td, #dlall tr{ 
    177     padding: 3px;
    178     border-spacing: 0px 4px;
     183        padding: 3px;
     184        border-spacing: 0 4px;
    179185}
    180186
    181187.rowline {
    182     border-bottom: 1px solid lightblue;
    183     border-top: 1px solid lightblue;
    184     white-space: nowrap;
     188        border-bottom: 1px solid lightblue;
     189        border-top: 1px solid lightblue;
     190        white-space: nowrap;
    185191}
    186192
    187193.rowlineleft {
    188     border: 1px solid lightblue;
    189     border-right: none;
    190     padding: 3px 6px;
    191     white-space: nowrap;
    192     -moz-border-radius: 6px 0px 0px 6px;
    193     -webkit-border-radius: 6px 0px 0px 6px;
     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;
    194200}
    195201
    196202.rowlineright {
    197     border: 1px solid lightblue;
    198     border-left: none;
    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;
    201207}
    202208
    203209.dev { color: red; font-weight: bold }
  • html/inc/news.inc

     
    2626    $d = time_str($date);
    2727    $text = bb2html($post->content);
    2828    echo "
     29                <hr size=\"0\" class=\"news_line\" />
    2930        <span class=news_content>$text</span>
    30         <br><span class=news_date>$d
    31         &nbsp; <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>&nbsp;&middot;&nbsp;$d</span>
    3232    ";
    3333}
    3434
     
    7373        echo "<br><br><a href=".URL_BASE."old_news.php>...more</a>";
    7474    }
    7575    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\">
    7779    ";
    78     printf(tra("News is available as an %sRSS feed%s"),
    79         "<a href=rss_main.php>",
    80         "</a> &nbsp; <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>"
    8183    );
    8284}
    8385