Skip to content

Commit 89ebc0f

Browse files
committed
Replace master branch with page content via GitHub
1 parent 1961558 commit 89ebc0f

File tree

9 files changed

+528
-153
lines changed

9 files changed

+528
-153
lines changed

images/bg_hr.png

78 Bytes
Loading

images/blacktocat.png

463 Bytes
Loading

images/icon_download.png

216 Bytes
Loading

images/sprite_download.png

14.5 KB
Loading

index.html

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,32 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html>
3+
34
<head>
4-
<meta charset="utf-8">
5+
<meta charset='utf-8'>
56
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6-
<title>FFII.Github.io by ffii</title>
7-
<link rel="stylesheet" href="stylesheets/styles.css">
8-
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
9-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
10-
<script src="javascripts/main.js"></script>
11-
<!--[if lt IE 9]>
12-
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13-
<![endif]-->
14-
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
7+
<meta name="description" content="FFII.Github.io : FFII Developer Site">
8+
9+
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
1510

11+
<title>FFII.Github.io</title>
1612
</head>
13+
1714
<body>
1815

19-
<header>
20-
<h1>FFII.Github.io</h1>
21-
<p>FFII Developer Site</p>
22-
</header>
16+
<!-- HEADER -->
17+
<div id="header_wrap" class="outer">
18+
<header class="inner">
19+
<a id="forkme_banner" href="https://github.com/ffii">View on GitHub</a>
2320

24-
<div id="banner">
25-
<span id="logo"></span>
21+
<h1 id="project_title">FFII.Github.io</h1>
22+
<h2 id="project_tagline">FFII Developer Site</h2>
2623

27-
<a href="https://github.com/ffii" class="button fork"><strong>View On GitHub</strong></a>
28-
</div><!-- end banner -->
24+
</header>
25+
</div>
2926

30-
<div class="wrapper">
31-
<nav>
32-
<ul></ul>
33-
</nav>
34-
<section>
27+
<!-- MAIN CONTENT -->
28+
<div id="main_content_wrap" class="outer">
29+
<section id="main_content" class="inner">
3530
<h1>
3631
<a id="ffii-software-projects" class="anchor" href="#ffii-software-projects" aria-hidden="true"><span class="octicon octicon-link"></span></a>FFII Software Projects</h1>
3732

@@ -80,8 +75,10 @@ <h2>
8075
<p>GriCal (which is a short form for Grid Calendar) is an open web where people store quickly a few information about interesting events, so that others can also easily know about them. GriCal also makes easy and fast to get notified and store interesting events in its own external calendars. GriCal offers its content as free content allowing its reuse by any party under the conditions of the CC-BY-SA license. Its source code is Free Software and thus respects the Open Knowledge Definition and the Open Software Service Definition of the Open Knowledge Foundation. Events in GriCal can be edited by anyone like pages of the Wikipedia. The description of an event is rendered using ReStructuredText syntax. You can subscribe to an event (or to the result of filters) to get notified of any change, comment, or new event matching a filter.</p>
8176

8277
<ul>
78+
<li>License: <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a>
79+
</li>
8380
<li>Possible Mentor: Ivan Fernando Villanueva</li>
84-
<li>Sample Code: <a href="https://github.com/zhiyajun11/gricalx">https://github.com/zhiyajun11/gricalx</a>
81+
<li>Code: <a href="https://github.com/zhiyajun11/gricalx">https://github.com/zhiyajun11/gricalx</a>
8582
</li>
8683
<li>Website: <a href="http://grical.org">http://grical.org</a>
8784
</li>
@@ -173,11 +170,16 @@ <h1>
173170
<li><a href="http://tasks.ffii.org">http://tasks.ffii.org</a></li>
174171
</ul>
175172
</section>
176-
<footer>
177-
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p>
173+
</div>
174+
175+
<!-- FOOTER -->
176+
<div id="footer_wrap" class="outer">
177+
<footer class="inner">
178+
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
178179
</footer>
179180
</div>
180-
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
181+
181182

183+
182184
</body>
183-
</html>
185+
</html>

javascripts/main.js

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1 @@
1-
var sectionHeight = function() {
2-
var total = $(window).height(),
3-
$section = $('section').css('height','auto');
4-
5-
if ($section.outerHeight(true) < total) {
6-
var margin = $section.outerHeight(true) - $section.height();
7-
$section.height(total - margin - 20);
8-
} else {
9-
$section.css('height','auto');
10-
}
11-
}
12-
13-
$(window).resize(sectionHeight);
14-
15-
$(document).ready(function(){
16-
$("section h1, section h2").each(function(){
17-
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>");
18-
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
19-
$("nav ul li:first-child a").parent().addClass("active");
20-
});
21-
22-
$("nav ul li").on("click", "a", function(event) {
23-
var position = $($(this).attr("href")).offset().top - 190;
24-
$("html, body").animate({scrollTop: position}, 400);
25-
$("nav ul li a").parent().removeClass("active");
26-
$(this).parent().addClass("active");
27-
event.preventDefault();
28-
});
29-
30-
sectionHeight();
31-
32-
$('img').load(sectionHeight);
33-
});
34-
35-
fixScale = function(doc) {
36-
37-
var addEvent = 'addEventListener',
38-
type = 'gesturestart',
39-
qsa = 'querySelectorAll',
40-
scales = [1, 1],
41-
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
42-
43-
function fix() {
44-
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
45-
doc.removeEventListener(type, fix, true);
46-
}
47-
48-
if ((meta = meta[meta.length - 1]) && addEvent in doc) {
49-
fix();
50-
scales = [.25, 1.6];
51-
doc[addEvent](type, fix, true);
52-
}
53-
};
1+
console.log('This would be the main JS file.');

0 commit comments

Comments
 (0)