Commit 7efcfb67 authored by Pietro Albini's avatar Pietro Albini

Cleanup the website source code

parent 9cdd3380
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" > <html lang="it">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8">
<meta name="keywords" content="ubuntu,edubuntu,kubuntu,xubuntu,ubuntu search,ubuntu linux,ubuntu ricerca,ricerca ubuntu-it,ubuntu-it,supporto,aiuto,help,comunita italiana,documentazione,wiki,locoteam italiano" />
<meta name="description" content="Cerca in tutto Ubuntu-it." />
<link href="libs/favicon.ico" rel="shortcut icon"/> <link href="libs/favicon.ico" rel="shortcut icon"/>
<meta name="robots" content="index, follow" />
<title>Cerca in Ubuntu-it</title> <title>Cerca in Ubuntu-it</title>
<!-- Accessibility ubuntu-it -->
<script type="text/javascript" src="https://static.ubuntu-it.org/themes/light/accessibility.min.js"></script> <script type="text/javascript" src="https://static.ubuntu-it.org/themes/light/accessibility.min.js"></script>
<script type="text/javascript" src="https://static.ubuntu-it.org/themes/light/cookies.min.js"></script> <script type="text/javascript" src="https://static.ubuntu-it.org/themes/light/cookies.min.js"></script>
<!-- Google analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-8147493-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<link rel="stylesheet" type="text/css" href="libs/common.css" />
<link rel="stylesheet" type="text/css" href="libs/cerca.css" />
<link rel="stylesheet" type="text/css" href="https://static.ubuntu-it.org/fonts/ubuntu/include.min.css">
<script type="text/javascript">accessibility();</script> <script type="text/javascript">accessibility();</script>
</head> <link rel="stylesheet" type="text/css" href="https://static.ubuntu-it.org/fonts/ubuntu/include.min.css">
<link rel="stylesheet" type="text/css" href="https://static.ubuntu-it.org/themes/light/common.min.css" />
<link rel="stylesheet" type="text/css" href="libs/cerca.css" />
</head>
<body> <body>
<div id="fixed-header"> <div id="fixed-header">
<!-- Header -->
<div id="header" class="shadowed curved-bottom"> <div id="header" class="shadowed curved-bottom">
<div class="container"> <div class="container">
<ul class="links"> <ul class="links">
<li><a href="http://www.ubuntu-it.org/supporto" title="Scopri come ricervere supporto">Supporto</a></li> <li><a href="http://www.ubuntu-it.org/supporto" title="Scopri come ricervere supporto">
<!-- <li><a href="http://www.ubuntu-it.org/comunita" title="Scopri come far parte della comunit&agrave; di ubuntu-it">Comunit&agrave;</a></li>--> Supporto
<li><a href="http://www.ubuntu-it.org/contatti" title="Tutti i contatti della comunit&agrave;">Contatti</a></li> </a></li>
<li><a href="http://www.ubuntu-it.org/contatti" title="Tutti i contatti della comunit&agrave;">
Contatti
</a></li>
</ul> </ul>
<div id="logo"> <div id="logo">
<div id="ubuntu-it-sites"> <div id="ubuntu-it-sites">
<a id="" href="http://www.ubuntu-it.org">web</a> <a href="https://www.ubuntu-it.org">web</a>
<a href="http://wiki.ubuntu-it.org">wiki</a> <a href="https://wiki.ubuntu-it.org">wiki</a>
<a id="" href="http://forum.ubuntu-it.org">forum</a> <a href="https://forum.ubuntu-it.org">forum</a>
<a id="" href="http://chiedi.ubuntu-it.org">chiedi</a> <a href="https://chiedi.ubuntu-it.org">chiedi</a>
<a id="" href="http://chat.ubuntu-it.org">chat</a> <a href="http://chat.ubuntu-it.org">chat</a>
<a class="active" href="http://cerca.ubuntu-it.org">cerca</a> <a class="active" href="http://cerca.ubuntu-it.org">cerca</a>
<a class="" id="" href="http://planet.ubuntu-it.org">planet</a> <a href="http://planet.ubuntu-it.org">planet</a>
</div> </div>
<span class="suffix">cerca.</span><span class="title">ubuntu-it</span>
<span class="title">ubuntu-it</span>
<span class="description">comunità italiana</span> <span class="description">comunità italiana</span>
</div> </div>
...@@ -66,47 +50,84 @@ ...@@ -66,47 +50,84 @@
</div> </div>
</div> </div>
</div> </div>
<!-- Sub Header -->
<div id="subheader"> <div id="subheader">
<div class="container"> <div class="container">
<div class="container-inside"> <div class="container-inside">
<ul class="links secondary-links"> <ul class="links secondary-links">
<li class="label">Ricerche avanzate:</li> <li class="label">Ricerche avanzate:</li>
<li><a href="http://www.ubuntu-it.org/cerca">web</a></li> <li><a href="https://www.ubuntu-it.org/cerca">web</a></li>
<li><a href="http://wiki.ubuntu-it.org/CercaPagina">wiki</a></li> <li><a href="https://wiki.ubuntu-it.org/CercaPagina">wiki</a></li>
<li><a href="http://forum.ubuntu-it.org/search.php">forum</a></li> <li><a href="https://forum.ubuntu-it.org/search.php">forum</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
<!-- Content -->
<div id="content"> <div id="content">
<div id="content-top"> </div> <div id="content-top"></div>
<div class="container"> <div class="container">
<div> <div>
<h1 class="pagetitle">Cerca in ubuntu-it</h1>
<!-- Inzio Cerca --> <div class="page_info">
Benvenuti! Qui potrete effettuare ricerche su tutti
<h1 class="pagetitle">Cerca in ubuntu-it</h1> i portali della comunit&agrave; di Ubuntu!<br>
Cercate qualcosa in particolare? Provate anche le
seguenti ricerche avanzate:
<div class="page_info">
Benvenuti! Qui potrete effettuare ricerche su tutti i portali della comunit&agrave; di Ubuntu! <br />
Cercate qualcosa in particolare? Provate anche le seguenti ricerche avanzate:
<ul> <ul>
<li><a href="http://www.ubuntu-it.org/cerca">Informazioni su Ubuntu nel sito web</a></li> <li><a href="http://www.ubuntu-it.org/cerca">
<li><a href="http://wiki.ubuntu-it.org/CercaPagina">Le guide del Wiki</a></li> Informazioni su Ubuntu nel sito web
<li><a href="http://forum.ubuntu-it.org/search.php">Le soluzioni ai problemi nel forum</a></li> </a></li>
<li><a href="http://wiki.ubuntu-it.org/CercaPagina">
Le guide del Wiki
</a></li>
<li><a href="http://forum.ubuntu-it.org/search.php">
Le soluzioni ai problemi nel forum
</a></li>
</ul> </ul>
Non avete trovato quello che cercate? <a href="http://www.ubuntu-it.org/contatti">Contattateci</a>!
</div>
<gcse:search></gcse:search> Non avete trovato quello che cercate?
<a href="http://www.ubuntu-it.org/contatti">
Contattateci</a>!
</div>
<gcse:search></gcse:search>
</div>
</div>
<div id="content-bottom"></div>
<div id="footer">
<p>
<a href="http://code.ubuntu-it.org/ubuntu-it-web/cerca">
Codice sorgente disponibile
</a><br>
Ubuntu e Canonical sono marchi registrati da Canonical
Ltd.
</p>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-8147493-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
<script> var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
(function() { (function() {
var cx = '008742922050479854700:9nnmuh99is4'; var cx = '008742922050479854700:9nnmuh99is4';
...@@ -118,21 +139,6 @@ ...@@ -118,21 +139,6 @@
var s = document.getElementsByTagName('script')[0]; var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s); s.parentNode.insertBefore(gcse, s);
})(); })();
</script> </script>
<!-- Fine Cerca -->
</div>
</div>
<div id="content-bottom"> </div>
<div id="footer">
<p>
<a href="http://code.ubuntu-it.org/ubuntu-it-web/cerca">
Codice sorgente disponibile
</a><br>
Ubuntu e Canonical sono marchi registrati da Canonical Ltd.
</p>
</div>
</div>
</body> </body>
</html> </html>
/* Start entries From planet.ubuntu.com */
body * {
font-family: Ubuntu,"Ubuntu Beta",UbuntuBeta,"Bitstream Vera Sans","DejaVu Sans",Tahoma,sans-serif !important;
}
#logo > a > span {
/*display: inline;*/
}
h1.pagetitle { h1.pagetitle {
margin:0.35em 0 0.5em; margin: 0.35em 0 0.5em;
font-size:2em; font-size: 2em;
} }
.page_info { .page_info {
background: #F7F7F7 url(img/help_grey_hex.png) no-repeat right 50%; background: #f7f7f7 url("images/help_grey_hex.png") no-repeat 98% 50%;
border: 1px solid #F0F0F0; border: 1px solid #f0f0f0;
padding: 10px 10px 12px; padding: 10px 10px 12px;
border-radius: 5px; border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin-bottom: 22px; margin-bottom: 22px;
background-image:
} }
.page_info, .page_info * { .page_info, .page_info * {
......
This diff is collapsed.
/* IE 6 and below */
#page-border-left-repeat {
padding: 0 0 0 7px;
}
#page-border-right-top {
right: 3.9%;
}
#page-border-left-bottom {
bottom: 18px;
}
#page-border-right-bottom {
bottom: 18px;
right: 3.9%;
}
#page-border-bottom-repeat {
height:30px;
}
.rightheader {
margin-top: -5px;
height: 22px;
}
.rightheader img {
margin-top: 0px;
}
#sfondobarra {
padding-left:5%;
}
#pulsante {
right:-3.8%;
}
#bodyarea {
height: 270px;
}
This diff is collapsed.
// Main function for planet ubuntu-it
function localizeDate () {
var months = new Array(
'gen', 'feb', 'mar', 'apr', 'mag', 'giu',
'lug', 'ago', 'set', 'ott', 'nov', 'dic'
);
var dates = $('span.date-to-fix');
for (var i = 0 ; i < dates.length ; i++) {
var d = dates[i].innerHTML.replace('.',':');
// This add GMT offset to date, fixing localized time
var offset = - ((new Date()).getTimezoneOffset() * 60 * 1000);
var date = new Date(new Date(d).getTime() + offset);
dates[i].innerHTML = date.getDate() + " " + months[date.getMonth()] + " "
+ date.getFullYear();
if (d.indexOf(':') > 0 ) { // date contains time:
minutes = date.getMinutes();
minutes = minutes < 10 ? '0' + minutes : minutes;
dates[i].innerHTML += " alle " + date.getHours() + ":" + minutes;
}
}
}
function main() {
localizeDate ();
accessibility();
}
$(function() {
var offset = $("#contacts").offset();
var topPadding = 30;
$(window).scroll(function() {
if ($(window).scrollTop() > offset.top) {
/*
$("#contacts").stop().animate({
marginTop: $(window).scrollTop() - offset.top + topPadding
});
*/
$("#contacts").stop().addClass('fixed');
} else {
/* $("#contacts").stop().animate({ marginTop: 10 }); */
$("#contacts").stop().removeClass('fixed');
}
});
$('a[href=#top]').click(function(){
$('html, body').animate({scrollTop:0}, 'slow');
return false;
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment