diff --git a/resources/gettext.wesnoth.org/bin/update-wesnoth-stats b/resources/gettext.wesnoth.org/bin/update-wesnoth-stats deleted file mode 100755 index 240e445dd7b..00000000000 --- a/resources/gettext.wesnoth.org/bin/update-wesnoth-stats +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -SVNCHECKOUTPATH=/usr/src/svn-checkouts - -echo update started at `date` >> $HOME/g.w.o-updates.log - -#update the 1.4 checkout -cd $SVNCHECKOUTPATH/1.4/ -#svn cleanup -svn up - -#update the trunk checkout -cd $SVNCHECKOUTPATH/trunk/ -#svn cleanup -svn up - -#update the wescamp checkout -cd $SVNCHECKOUTPATH/wescamp-i18n/ -#svn cleanup -svn up trunk/ branches/ - -#update the stats -cd $SVNCHECKOUTPATH/gettext.wesnoth.org -php grab-stats.php -#php grab-stats.php >> $HOME/g.w.o-updates.log -echo update completed at `date` >> $HOME/g.w.o-updates.log diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/config.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/config.php deleted file mode 100644 index 0f357d4b3c2..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/config.php +++ /dev/null @@ -1,60 +0,0 @@ - diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/functions.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/functions.php deleted file mode 100644 index 13c3a1eab96..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/functions.php +++ /dev/null @@ -1,89 +0,0 @@ -&1",$output,$ret); - - if ($ret==0) { - // new version of msgfmt make life harder :-/ - if (preg_match("/^\s*(\d+)\s*translated[^\d]+(\d+)\s*fuzzy[^\d]+(\d+)\s*untranslated/",$output[0],$m)) { - } else if (preg_match("/^\s*(\d+)\s*translated[^\d]+(\d+)\s*fuzzy[^\d]/",$output[0],$m)) { - } else if (preg_match("/^\s*(\d+)\s*translated[^\d]+(\d+)\s*untranslated[^\d]/",$output[0],$m)) { - $m[3]=$m[2]; - $m[2]=0; - } else if (preg_match("/^\s*(\d+)\s*translated[^\d]+/",$output[0],$m)) { - } else { - return array(1,0,0,0); - } - - $translated = $m[1]+0; - $fuzzy = $m[2]+0; - $untranslated = $m[3]+0; - } else { - $error=1; - } - - return array($error,$translated,$fuzzy,$untranslated); -} - -function getdomain($string) { - return "wesnoth-" . str_replace("-po","",$string); -} - -function getpackage($string) { - return str_replace("wesnoth-","",$string); -} - -?> diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/grab-stats.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/grab-stats.php deleted file mode 100755 index e9d9b658510..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/grab-stats.php +++ /dev/null @@ -1,84 +0,0 @@ -Getting stats for package $package"; - $stats["_pot"] = getstats("$po_dir/" . $domain . ".pot"); - if (!file_exists("stats/" . $domain)) - { - system("mkdir stats/" . $domain); - } - foreach ($langs as $lang) - { - echo "Getting stats for lang $lang
"; - $pofile = $po_dir . "/" . $lang . ".po"; - $stats[$lang] = getstats($pofile); - } - - $serialized = serialize($stats); - $file = fopen("stats/" . $domain . "/" . $tob . "stats", "wb"); - fwrite($file, $serialized); - fclose($file); - } -} - -echo "

Getting stats for trunk

\n"; -grab_stats("trunk", 1, $packs); -grab_stats("trunk", 0, $extratpacks); - -echo "

Getting stats for branch ($branch)

\n"; -grab_stats("branch", 1, $packs); -grab_stats("branch", 0, $extrabpacks); - -?> diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/blue.png b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/blue.png deleted file mode 100644 index 94b0af16c73..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/blue.png and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/dark-rock.jpg b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/dark-rock.jpg deleted file mode 100644 index c9215e12e54..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/dark-rock.jpg and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/green.png b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/green.png deleted file mode 100644 index 488d00c2a79..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/green.png and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/headerbg.jpg b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/headerbg.jpg deleted file mode 100644 index a1f672a501f..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/headerbg.jpg and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/menu-bg.png b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/menu-bg.png deleted file mode 100644 index b50b83e586c..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/menu-bg.png +++ /dev/null @@ -1,13 +0,0 @@ - - -300 Multiple Choices - -

Multiple Choices

-The document name you requested (/images/menu-bg.png) could not be found on this server. -However, we found documents with names similar to the one you requested.

Available documents: -

-
-
Apache/1.3.31 Server at www.wesnoth.org Port 80
- diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/navbg.png b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/navbg.png deleted file mode 100644 index b8ecdd29ee1..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/navbg.png and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/red.png b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/red.png deleted file mode 100644 index 586b49a7c21..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/red.png and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/w-ico.png b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/w-ico.png deleted file mode 100644 index e414e7349e2..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/w-ico.png and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/wesnoth-logo.jpg b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/wesnoth-logo.jpg deleted file mode 100644 index d7fc0035228..00000000000 Binary files a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/images/wesnoth-logo.jpg and /dev/null differ diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php deleted file mode 100644 index 8df2711ed51..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.extra.php +++ /dev/null @@ -1,349 +0,0 @@ - $stat){ - if(isset($stats[$lang])){ - $stats[$lang][0]+=$stat[0]; - $stats[$lang][1]+=$stat[1]; - $stats[$lang][2]+=$stat[2]; - $stats[$lang][3]+=$stat[3]; - }else{ - $stats[$lang] = array(); - $stats[$lang][0]=$stat[0]; - $stats[$lang][1]=$stat[1]; - $stats[$lang][2]=$stat[2]; - $stats[$lang][3]=$stat[3]; - } - } - } -}elseif($package=='all'){ - for($i = 0; $i < 2; $i++){ - if($i==0){ - $packs = $existing_packs; - }else{ - $packs = $existing_extra_packs; - } - foreach($packs as $pack){ - if($i==1){ - $pack = getdomain($pack); - } - if (!file_exists("stats/" . $pack . "/stats")) { - continue; - } - $serialized = file_get_contents("stats/" . $pack . "/stats"); - $tmpstats = array(); - $tmpstats = unserialize($serialized); - foreach($tmpstats as $lang => $stat){ - if(isset($stats[$lang])){ - $stats[$lang][0]+=$stat[0]; - $stats[$lang][1]+=$stat[1]; - $stats[$lang][2]+=$stat[2]; - $stats[$lang][3]+=$stat[3]; - }else{ - $stats[$lang] = array(); - $stats[$lang][0]=$stat[0]; - $stats[$lang][1]=$stat[1]; - $stats[$lang][2]=$stat[2]; - $stats[$lang][3]=$stat[3]; - } - } - } - } -}else{ - $package = $_GET['package']; - if (!file_exists("stats/" . $package . "/stats")) { - $nostats=true; - }else{ - $serialized = file_get_contents("stats/" . $package . "/stats"); - $stats = unserialize($serialized); - } -} - -if(!$nostats){ - //get total number of strings - $main_total=$stats["_pot"][1]+$stats["_pot"][2]+$stats["_pot"][3]; - unset($stats["_pot"]); - - - $filestat = stat("stats/" . $firstpack ."/stats"); - $date = $filestat[9]; - - if($order=='trans'){ - uasort($stats,"cmp_translated"); - }else{ - uksort($stats,"cmp_alpha"); - } -} -?> - - - - - - - -Battle for Wesnoth - - -
- - - - - - -

Wesnoth translation stats

- -
-
- - - - - - - - - - -
-Order by: - -# of translated strings || Team name - -# of translated strings || Team name - - -last update:   -
-Show: - -All official packages - -All official packages - -All packages - -All packages -Official: "; - }else{ - $packs = $existing_extra_packs; - echo "
Unofficial: "; - } - $first=true; - foreach($packs as $pack){ - if($first){ - $first = false; - }else{ - echo "||"; - } - - if($i==1){ - $pack = getdomain($pack); - } - if($pack==$package){ - if($i==1){ - $official=false; - } - ?> - - - -
-
-
-

- - - -
- - - - - - - - - - - - - - - - $stat){ - $total = $stat[1] + $stat[2] + $stat[3]; - - $class="-" . ($i%2); - if(cmp_translated($stat, $oldstat)!=0){ - $pos=$i+1; - } -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
positionteam nametranslated%fuzzy%untranslated%totalgraph
-" . $langs[$lang] . " (" . $lang . ")"; -}else{ - $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch"; - if($official){ - echo "" . $langs[$lang] . " (" .$lang . ")"; - }else{ - echo "" . $langs[$lang] . " (" . $lang . ")"; - } -} ?> - Error in translation filestranslatedfuzzyuntranslated
-Template catalog"; -}else{ - $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch"; - if($official){ - echo "Template catalog"; - }else{ - echo "Template catalog"; - } -} -?>
-
- -

No available stats for package

- -

- - - - diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php deleted file mode 100755 index b5424a1c00e..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.lang.php +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - - - Battle for Wesnoth - - -
- - - - -

Wesnoth translation stats

-(last update: ) - -
-
- - - - - - - -
-Version: - -Development || - -Development || - -
-Show: -Official packages -|| Official core packages -|| All packages -|| All unofficial packages -|| By language -
-Language: - $langname){ - if($first){ - $first = false; - }else{ - echo "||"; - } - - if($code==$lang){ -?> - - - -
-
-
-

- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
packagetranslated%fuzzy%untranslated%totalgraph
-" . $stat[4] . ""; - }else{ - echo "" . $stat[4] . ""; - } - -?> - Error in translation filestranslatedfuzzyuntranslated
Total
-
- -

No available stats for lang

- -

- - - - diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php deleted file mode 100755 index 5c2385e1760..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/index.php +++ /dev/null @@ -1,418 +0,0 @@ - $stat){ - if(isset($stats[$lang])){ - $stats[$lang][0]+=$stat[0]; - $stats[$lang][1]+=$stat[1]; - $stats[$lang][2]+=$stat[2]; - $stats[$lang][3]+=$stat[3]; - }else{ - $stats[$lang] = array(); - $stats[$lang][0]=$stat[0]; - $stats[$lang][1]=$stat[1]; - $stats[$lang][2]=$stat[2]; - $stats[$lang][3]=$stat[3]; - } - } - } -}elseif($package=='all'){ - for($i = 0; $i < 2; $i++){ - if($i==0){ - $packs = $existing_packs; - }else{ - $packs = ($version == 'trunk') ? $existing_extra_packs_t : $existing_extra_packs_b; - } - foreach($packs as $pack){ - if($version == 'branch') { - $statsfile = 'branchstats'; - } else { - $statsfile = 'trunkstats'; - } - if($i==1){ - $pack = getdomain($pack); - } - if (!file_exists("stats/" . $pack . "/" . $statsfile)) { - continue; - } - $serialized = file_get_contents("stats/" . $pack . "/" . $statsfile); - $tmpstats = array(); - $tmpstats = unserialize($serialized); - foreach($tmpstats as $lang => $stat){ - if(isset($stats[$lang])){ - $stats[$lang][0]+=$stat[0]; - $stats[$lang][1]+=$stat[1]; - $stats[$lang][2]+=$stat[2]; - $stats[$lang][3]+=$stat[3]; - }else{ - $stats[$lang] = array(); - $stats[$lang][0]=$stat[0]; - $stats[$lang][1]=$stat[1]; - $stats[$lang][2]=$stat[2]; - $stats[$lang][3]=$stat[3]; - } - } - } - } -}elseif($package=='allun'){ - $packs = ($version == 'trunk') ? $existing_extra_packs_t : $existing_extra_packs_b; - foreach($packs as $pack){ - $pack = getdomain($pack); - $statsfile = $version . 'stats'; - if (!file_exists("stats/" . $pack . "/$statsfile")) { - continue; - } - $serialized = file_get_contents("stats/" . $pack . "/$statsfile"); - $tmpstats = array(); - $tmpstats = unserialize($serialized); - foreach($tmpstats as $lang => $stat){ - if(isset($stats[$lang])){ - $stats[$lang][0]+=$stat[0]; - $stats[$lang][1]+=$stat[1]; - $stats[$lang][2]+=$stat[2]; - $stats[$lang][3]+=$stat[3]; - }else{ - $stats[$lang] = array(); - $stats[$lang][0]=$stat[0]; - $stats[$lang][1]=$stat[1]; - $stats[$lang][2]=$stat[2]; - $stats[$lang][3]=$stat[3]; - } - } - } -}else{ - $package = $_GET['package']; - $statsfile = $version . "stats"; - if (!file_exists("stats/" . $package . "/" . $statsfile)) { - $nostats=true; - }else{ - $serialized = file_get_contents("stats/" . $package . "/" . $statsfile); - $stats = unserialize($serialized); - } -} - -if(!$nostats){ - //get total number of strings - $main_total=$stats["_pot"][1]+$stats["_pot"][2]+$stats["_pot"][3]; - unset($stats["_pot"]); - $statsfile = $version . "stats"; - $filestat = stat("stats/" . $firstpack ."/" . $statsfile); - $date = $filestat[9]; - - if($order=='trans'){ - uasort($stats,"cmp_translated"); - }else{ - uksort($stats,"cmp_alpha"); - } -} -?> - - - - - - - - Battle for Wesnoth - - -
- - - - -

Wesnoth translation stats

- -(last update: ) - - -
-
- - - - - - - - - - -
-Order by: - -# of translated strings || Team name - -# of translated strings || Team name - -
-Version: - -Development || - -Development || - -
-Show: - -All official packages - -All official packages - -Official core packages - -Official core packages - -All packages - -All packages - -All unofficial packages - -All unofficial packages - -By language -Official: "; - }else{ - $packs = ($version == 'trunk') ? $existing_extra_packs_t : $existing_extra_packs_b; - echo "
Unofficial: "; - } - $first=true; - foreach($packs as $pack){ - if($first){ - $first = false; - }else{ - echo "||"; - } - - $packdisplay = $pack; - if($i==1){ - $pack = getdomain($pack); - } - if($pack==$package){ - if($i==1){ - $official=false; - } - ?> - - - -
-
-
-

- - - -
- - - - - - - - - - - - - - - - $stat){ - $total = $stat[1] + $stat[2] + $stat[3]; - - $class="-" . ($i%2); - if(cmp_translated($stat, $oldstat)!=0){ - $pos=$i+1; - } -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
positionteam nametranslated%fuzzy%untranslated%totalgraph
-" . $langs[$lang] . " (" . $lang . ")"; -}else{ - $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch"; - if($official){ - echo "" . $langs[$lang] . " (" .$lang . ")"; - }else{ - echo "" . $langs[$lang] . " (" . $lang . ")"; - } -} ?> - Error in translation filestranslatedfuzzyuntranslated
-Template catalog"; -}else{ - $repo = ($version == 'trunk') ? 'trunk' : "branches/$branch"; - if($official){ - echo "Template catalog"; - }else{ - echo "Template catalog"; - } -} -?>
-
- -

No available stats for package

- -

- -
- - diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/langs.php b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/langs.php deleted file mode 100644 index c4e73c7d91c..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/langs.php +++ /dev/null @@ -1,52 +0,0 @@ - diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/glamdrol-header.css b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/glamdrol-header.css deleted file mode 100644 index 8be3a1fd29b..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/glamdrol-header.css +++ /dev/null @@ -1,67 +0,0 @@ -#global { - width: 100%; - margin: 0; - padding: 0; - font: 0.95em; -} - -ul { - line-height: 1.6em; -} - -#header { - margin: 0; - padding: 0; - background: #444 url('http://pulsar.unizar.es/~isaac/wesnoth-gettext/westats/images/headerbg.jpg') top repeat-x; - border-bottom: 1px solid #000; -} - -#header #logo { - margin: 0; - padding: 0; - text-align: center; -} - -#header #logo img { - margin: 0; - padding: 0; - border: none; -} - -#header #logo a { - margin: 0; - padding: 0; - color: #654; - text-decoration: none; - font-size: 0.8em; -} - -#nav { - margin: 0; - padding: 3px 4px 15px 4px; - background: #272727 url('http://pulsar.unizar.es/~isaac/wesnoth-gettext/westats/images/navbg.png') repeat-x bottom; - text-align: center; - border-top: 1px solid #595959; - font-size: 0.95em; -} - -#nav ul, #nav li { - display: inline; - margin: 0; - padding: 0; -} - -#nav li { - padding: 0 5px; -} - -#nav a { - color: #A74; - font-family: "Trebuchet MS", sans-serif; - font-weight: bold; - text-decoration: none; -} - -#nav a:hover { - color: #CCC; -} diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/main.css.bak b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/main.css.bak deleted file mode 100644 index 9fb72a04b19..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/main.css.bak +++ /dev/null @@ -1,311 +0,0 @@ -body { - margin: 0; - padding: 0; - background: #333; - color: #333; - font-family: "Trebuchet MS", Arial, "Bitstream Vera Sans", Verdana, Tahoma, sans-serif; - width: 100%; - text-align: center; -} - -p { - margin: 0 0 1em 0; -} - -h2 { - color: #CCC; - font-family: "Tebuchet MS", Arial, Verdana, Tahoma, sans-serif; - margin: 5px 0 4px 0; -} - -table.main { - background: #8b898b; -} - -table.title { - background: #ececec; -} - -tr.row-0 { - background: #ececec; -} - -tr.row-1{ - background: #ccecec; -} - -tr.header { - background: #dddddd; -} - -td.title { - font-weight: bold; -} - -td.percentage-0 { - background: #f5f5f5; -} - -td.percentage-1 { - background: #e0f5f5; -} - -td.translated { - color: #05a505; - text-align: center; - font-weight: bold; -} - -td.fuzzy { - color: #0505a5; - text-align: center; - font-weight: bold; -} - -td.untranslated { - color: #a50505; - text-align: center; -} - -h4 { - margin: 1em 0 0 0; -} - -a { - color: #A48736; -} - -hr { - display: none; -} - - -/** - * Header - */ - -#header { - margin: 0; - padding: 0; - text-align: center; - background: #3A3A3A url(../images/dark-rock.jpg) repeat-x top center; - height: 100px; -} - -#header #logo { - margin: 0; - padding: 0; -} - -#header #logo img { - margin: 0; - padding: 0; - border: none; -} - - -/** - * Menu - */ - -#menu { - margin: 0; - background: #333; - background: #1E1C1B url(../images/menu-bg.jpg); - padding: 7px; - border-top: 1px solid #BBB; - border-bottom: 1px solid #BBB; - font-size: 0.8em; - font-weight: bold; -} - -#menu a { - color: #C9B675; - border: 0; - text-decoration: none; -} - - -/** - * Translations - */ - -#translations { - margin: 0; - /*padding: 5px 5px 5px 22px;*/ - padding: 5px; - position: absolute; - top: 10px; - right: 10px; - color: #BBB; - /*background: #1E1C1B url(../images/flags.png) no-repeat left;*/ - background: #1E1C1B url(../images/menu-bg.png); - font-size: 0.8em; - border: 1px solid #666; -} - -#translations:hover { - border: 1px solid #999; -} - - -/** - * Main - */ - -#main { - padding: 0 8% 0 8%; - color: #333; - font-size: 0.8em; - text-align: left; - line-height: 1.6em; - /* ie5win damn hack */ - width: 100%; -} - -html>body #main { - width: 84%; -} - -/* -------- homepage layout start -------- */ - -#main #left { - position: relative; - float: left; - width: 49%; -} - -#main #right { - position: relative; - float: right; - width: 50%; -} - -/* -------- homepage layout end -------- */ - -#main div.container { - margin: 15px 3px 15px 3px; - padding: 15px; - background: #EEE; - border: 2px solid #AAA; - -moz-border-radius: 4px 4px 4px 4px; -} - -#main div.new { - margin: 14px 0 0 0; -} - -#main div.new div.new-title { - font-weight: bold; -} - -#main div.new div.new-date { - font-size: 0.9em; -} - -#main div.new p { - margin: 4px 0 4px 0; -} - -#main div.sshots { - text-align: center; -} -#main #sshots a:hover { - border: none; -} - -#main div.sshots a { - text-decoration: none; - font-size: 0.7em; -} - -#main img { - border: none; - margin: 2px 2px 6px 2px; - padding: 3px; - background: #A48736; -} - -#main h3 { - margin: 0; - padding: 0; -} - -#main p { - margin: 0px 0 1.2em 0; -} - -#main code { - font-size: 1.1em; -} - -#main form { - margin: 0 0 15px 0; -} - - -/** - * Footer - */ - -#footer { - clear: both; - margin: 0; - padding: 0 8% 0 8%; - color: #BBB; - font-size: 0.8em; - /* ie5win damn hack */ - width: 100%; -} -html>body #footer { - width: 84%; -} - -/** - * Languages - */ - -#languages { - margin: 0; - padding: 0; - float: left; - text-align: left; - width: 60%; -} - -#languages div.container { - margin: 0 0 12px 0; -} - -#languages h3 { - margin: 0; - padding: 0; - color: #CCC; - font-size: 1.0em; - font-weight: normal; -} - -#languages ul { - margin: 0; - padding: 0; - list-style: none; -} - -#languages li { - display: inline; - margin: 0; - padding: 0 5px 0 0; - list-style: none; -} - -/** - * Footnotes - */ - -#footnote { - margin: 0 0 12px 0; - padding: 0; - float: right; - text-align: right; - width: 40%; -} diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/old.css b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/old.css deleted file mode 100644 index 06fa39c49bb..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/old.css +++ /dev/null @@ -1,233 +0,0 @@ -body { - margin: 0; - padding: 0; - background: #FFFBF0; - color: #111; - font: 0.88em sans-serif; -} - -p { - margin: 0 0 1em 0; -} - -table.main { - background: #8b898b; -} - -table.title { - background: #ececec; -} - -tr.row-0 { - background: #ececec; -} - -tr.row-1{ - background: #ccecec; -} - -tr.header { - background: #dddddd; -} - -td.title { - font-weight: bold; -} - -td.percentage-0 { - background: #f5f5f5; -} - -td.percentage-1 { - background: #e0f5f5; -} - -td.translated { - color: #05a505; - text-align: center; - font-weight: bold; -} - -td.fuzzy { - color: #0505a5; - text-align: center; - font-weight: bold; -} - -td.untranslated { - color: #a50505; - text-align: center; -} - -h4 { - margin: 1em 0 0 0; -} - -a { - color: #A48736; -} - -hr { - display: none; -} - -/** - * Main - */ - -#main { - padding: 0 8% 0 8%; - color: #333; - font-size: 0.8em; - text-align: left; - line-height: 1.6em; - /* ie5win damn hack */ - width: 100%; -} - -html>body #main { - width: 84%; -} - -/* -------- homepage layout start -------- */ - -#main #left { - position: relative; - float: left; - width: 49%; -} - -#main #right { - position: relative; - float: right; - width: 50%; -} - -/* -------- homepage layout end -------- */ - -#main div.container { - margin: 15px 3px 15px 3px; - padding: 15px; - background: #EEE; - border: 2px solid #AAA; - -moz-border-radius: 4px 4px 4px 4px; -} - -#main div.new { - margin: 14px 0 0 0; -} - -#main div.new div.new-title { - font-weight: bold; -} - -#main div.new div.new-date { - font-size: 0.9em; -} - -#main div.new p { - margin: 4px 0 4px 0; -} - -#main div.sshots { - text-align: center; -} -#main #sshots a:hover { - border: none; -} - -#main div.sshots a { - text-decoration: none; - font-size: 0.7em; -} - -#main img { - border: none; - margin: 2px 2px 6px 2px; - padding: 3px; - background: #A48736; -} - -#main h3 { - margin: 0; - padding: 0; -} - -#main p { - margin: 0px 0 1.2em 0; -} - -#main code { - font-size: 1.1em; -} - -#main form { - margin: 0 0 15px 0; -} - - -/** - * Footer - */ - -#footer { - clear: both; - margin: 0; - padding: 0 8% 0 8%; - color: #BBB; - font-size: 0.8em; - /* ie5win damn hack */ - width: 100%; -} -html>body #footer { - width: 84%; -} - -/** - * Languages - */ - -#languages { - margin: 0; - padding: 0; - float: left; - text-align: left; - width: 60%; -} - -#languages div.container { - margin: 0 0 12px 0; -} - -#languages h3 { - margin: 0; - padding: 0; - color: #CCC; - font-size: 1.0em; - font-weight: normal; -} - -#languages ul { - margin: 0; - padding: 0; - list-style: none; -} - -#languages li { - display: inline; - margin: 0; - padding: 0 5px 0 0; - list-style: none; -} - -/** - * Footnotes - */ - -#footnote { - margin: 0 0 12px 0; - padding: 0; - float: right; - text-align: right; - width: 40%; -} diff --git a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/statistics.css b/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/statistics.css deleted file mode 100644 index 008b39fc6f0..00000000000 --- a/resources/gettext.wesnoth.org/public_html/wesnoth-gettext/westats/styles/statistics.css +++ /dev/null @@ -1,138 +0,0 @@ -body { - margin: 0; - padding: 0; - background: #1E1C1B url(http://www.wesnoth.org/images/menu-bg.jpg); - color: #999; - font-family: "Trebuchet MS", Arial, "Bitstream Vera Sans", Verdana, Tahoma, sans-serif; - width: 100%; -} - -p { - margin: 0 0 1em 0; -} - -a { - color: #A48736; -} - -hr { - display: none; -} - - -/** - * Main - */ - -#main { - font-size: 0.8em; - padding-left: 30px; - padding-right: 30px; - padding-bottom: 10px; - line-height: 1.6em; -} - -div h3 { - margin: 0; - padding: 0; - font-size: 1.1em; -} - -div ul { - margin: 0; - padding: 0 0 0 10px; -} - -#order, #show { - position: relative; - margin: 0; - padding: 0; -} - -#order { - float: right; - width: 28%; -} - -#show { - float: left; - width: 72%; -} - -#order ul, #show ul { - list-style: none; -} - -#order li, #show li { - display: inline; - list-style: none; - margin-right: 5px; -} - -#order div.container, #show div.container { - margin: 10px 10px 10px 0; - padding: 6px; - border: 3px solid #999; - -moz-border-radius: 5px 5px 5px 5px; - color: #333; - background: #E6E6E6; -} - -p.clear { - clear: both; -} - - -table.statistics { - color: #333; - background: #8B898B; -} - -th { - font-weight: bold; - color: #333; - background: #BBB; -} - -tr.row-0 { - background: #ECECEC; -} - -tr.row-1 { - background: #E1E1E1; -} - -td.percentage-0 { - background: #F5F5F5; -} - -td.percentage-1 { - background: #F0F0F0; -} - -th.translated { - color: #05A505; - text-align: center; - font-weight: bold; -} - -th.fuzzy { - color: #0505A5; - text-align: center; - font-weight: bold; -} - -th.untranslated { - color: #A50505; - text-align: center; -} - - -/** - * Footer - */ - -#footer img { - margin-top: 20px; - border: 0; -}