minify css and js and use those

This commit is contained in:
XhmikosR 2012-09-20 13:45:10 +03:00 committed by PKEuS
parent a30d49a919
commit 646bbfe230
8 changed files with 12 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Online Demo - Cppcheck</title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Orbitron&amp;text=Cppcheck" />
<link rel="stylesheet" type="text/css" href="/site/css/all.css" />
<link rel="stylesheet" type="text/css" href="/site/css/all.min.css" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<script type="text/javascript">
function checkCodeLength() {

View File

@ -63,11 +63,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Online Demo Report - Cppcheck</title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Orbitron&amp;text=Cppcheck" />
<link rel="stylesheet" type="text/css" href="/site/css/all.css" />
<link rel="stylesheet" type="text/css" href="/site/css/geshi.css" />
<link rel="stylesheet" type="text/css" href="/site/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="/site/css/geshi.min.css" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<script src="/site/js/picnet.table.filter.min.js" type="text/javascript"></script>
<script src="/site/js/picnet.table.filter.min.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#resultsTable').tableFilter();

View File

@ -4,14 +4,14 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Developer Information - Cppcheck</title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Orbitron&amp;text=Cppcheck" />
<link rel="stylesheet" type="text/css" href="/site/css/all.css" />
<link rel="stylesheet" type="text/css" href="/site/css/all.min.css" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="alternate" type="application/atom+xml" title="Recent Commits to cppcheck:master"
href="https://github.com/danmar/cppcheck/commits/master.atom" />
<link rel="alternate" type="application/atom+xml" title="Trac Timeline"
href="http://sourceforge.net/apps/trac/cppcheck/timeline?changeset=on&amp;ticket=on&amp;milestone=on&amp;wiki=on&amp;max=50&amp;daysback=90&amp;format=rss" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<script src="/site/js/github.js" type="text/javascript"></script>
<script src="/site/js/github.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("#github-commits").listCommits("danmar", "cppcheck", "master");

View File

@ -10,7 +10,7 @@ code, errors, bugs, compilers, bounds checking, memory leaks, obsolete functions
uninitialized variables, unused functions" />
<title>Cppcheck - A tool for static C/C++ code analysis</title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Orbitron&amp;text=Cppcheck" />
<link rel="stylesheet" type="text/css" href="/site/css/all.css" />
<link rel="stylesheet" type="text/css" href="/site/css/all.min.css" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="Project News"
href="http://sourceforge.net/export/rss2_projnews.php?group_id=195752" />

1
htdocs/site/css/all.min.css vendored Normal file
View File

@ -0,0 +1 @@
body{margin:0;padding:0;font-family:Calibri,Verdana,sans-serif;color:#000;background:#eee}dt{font-weight:700}a:link{color:#036;text-decoration:underline}a:visited{color:#036;text-decoration:underline}a:focus{color:#369;text-decoration:none}a:link:hover,a:visited:hover{color:#369;text-decoration:none}a:active{color:#369;text-decoration:none}#header{color:#69c;background:#036}#header h1{margin:0;padding:0;font-family:Orbitron,Calibri,Verdana,sans-serif}#header p{margin:0;padding:0;font-size:larger}#tabs{color:#eee;background:#369;border-top:1px solid #000;border-bottom:1px solid #000}#tabs ul{margin:0;padding:0;list-style-type:none;font-size:larger}#tabs ul li{display:inline;margin:0;padding:0 .5em;border-right:1px solid #000}#tabs ul li:first-child{padding-left:0}#tabs ul li:last-child{border:0}#tabs a:link{color:#eee;text-decoration:none}#tabs a:visited{color:#eee;text-decoration:none}#tabs a:focus{color:#fff;text-decoration:underline}#tabs a:hover{color:#fff;text-decoration:underline}#tabs a:active{color:#fff;text-decoration:underline}#anchors ul{margin:0;padding:.5em 0;list-style-type:none;font-size:smaller}#anchors ul li{display:inline;margin:0;padding:0 .5em}#anchors ul li:first-child{padding-left:0}#anchors .wrap{padding:0}.wrap{width:50em;margin:0 auto;padding:.5em}.rssfeeditems em{margin-left:.5em;color:#888;font-size:smaller}a.downloadnow{display:block;width:12em;margin:0;padding:5px;text-align:center;text-decoration:none;color:#fff;background:#060;border:1px solid #060;border-radius:.5em;-moz-border-radius:.5em;-khtml-border-radius:.5em;-webkit-border-radius:.5em}a.downloadnow:link,a.downloadnow:visited{text-decoration:none;color:#fff}a.downloadnow:focus,a.downloadnow:hover{text-decoration:none;color:#fff;background:#090}a.downloadnow strong{display:block;font-size:larger;font-weight:700}a.downloadnow em{display:block;font-size:smaller;font-style:normal}pre.code{padding:.5em;background:#f7f7f7;border:1px solid #e2e2e2}pre.code em{color:green}.geshicode{padding:.5em;background:#f7f7f7;border:1px solid #e2e2e2}pre.cmd{padding:.5em;background:#f7f7f7;border:1px solid #c0c0c0;border-left:10px solid #c0c0c0}#resultsTable{border-collapse:collapse}#resultsTable th{padding:.25em;text-align:left;background:#e2e2e2;border:1px solid #e2e2e2}#resultsTable td{padding:.25em;background:#f7f7f7;border:1px solid #e2e2e2}#resultsTable .center{text-align:center}.maxChars{margin-left:2em;color:#888;font-size:smaller}@media print{#header{ color:#000;border-bottom:1px solid black}#tabs{display:none}#resultsTable th{background:#fff;border:1px solid black}#resultsTable td{background:#fff;border:1px solid black}}

1
htdocs/site/css/geshi.min.css vendored Normal file
View File

@ -0,0 +1 @@
.cpp.geshicode .de1,.cpp.geshicode .de2{font:normal normal 1em/1.2em monospace;margin:0;padding:0;background:0;vertical-align:top}.cpp.geshicode{font-family:monospace}.cpp.geshicode .imp{font-weight:700;color:red}.cpp.geshicode li,.cpp.geshicode .li1{font-weight:400;vertical-align:top}.cpp.geshicode .ln{width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;color:#999}.cpp.geshicode .kw1{color:#00f}.cpp.geshicode .kw2{color:#00f}.cpp.geshicode .kw3{color:#00d}.cpp.geshicode .kw4{color:#00f}.cpp.geshicode .co1{color:#666}.cpp.geshicode .co2{color:#390}.cpp.geshicode .coMULTI{color:red;font-style:italic}.cpp.geshicode .es0{color:#009;font-weight:700}.cpp.geshicode .es1{color:#009;font-weight:700}.cpp.geshicode .es2{color:#609;font-weight:700}.cpp.geshicode .es3{color:#609;font-weight:700}.cpp.geshicode .es4{color:#609;font-weight:700}.cpp.geshicode .es5{color:#069;font-weight:700}.cpp.geshicode .br0{color:#008000}.cpp.geshicode .sy0{color:#008000}.cpp.geshicode .sy1{color:#000080}.cpp.geshicode .sy2{color:#000040}.cpp.geshicode .sy3{color:#000040}.cpp.geshicode .sy4{color:#008080}.cpp.geshicode .st0{color:red}.cpp.geshicode .nu0{color:#00d}.cpp.geshicode .nu6{color:#208080}.cpp.geshicode .nu8{color:#208080}.cpp.geshicode .nu12{color:#208080}.cpp.geshicode .nu16{color:#800080}.cpp.geshicode .nu17{color:#800080}.cpp.geshicode .nu18{color:#800080}.cpp.geshicode .nu19{color:#800080}.cpp.geshicode .me1{color:#078}.cpp.geshicode .me2{color:#078}.cpp.geshicode span.xtra{display:block}

1
htdocs/site/js/github.min.js vendored Normal file
View File

@ -0,0 +1 @@
jQuery.fn.listCommits=function(e,t,n){function i(e){var t=e.indexOf("\n");return t>-1?e.slice(0,t):e}this.html("<span>Querying GitHub for recent commits&hellip;</span>");var r=this;$.getJSON("https://api.github.com/repos/"+e+"/"+t+"/commits?sha="+n+"&callback=?",function(n){var s=n.data,o=$('<ul class="rssfeeditems"/>');r.empty().append(o),$(s).each(function(n){var r="https://github.com/"+e+"/"+t+"/commit/"+this.sha,s=i(this.commit.message),u=this.author.login;u==""&&(u=this.author.name),o.append('<li><a href="'+r+'">'+s+"</a> <em>by <strong>"+u+"</strong></em></li>");if(n==9)return!1})})};

File diff suppressed because one or more lines are too long