Skip to content
This repository was archived by the owner on Feb 9, 2018. It is now read-only.

Commit 2a11c8e

Browse files
committed
stubbed out some pages; rotating theme
1 parent c0b6fac commit 2a11c8e

File tree

209 files changed

+13703
-161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+13703
-161
lines changed

app.js

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
var express = require('express')
77
, routes = require('./routes')
8-
, user = require('./routes/user')
98
, http = require('http')
109
, path = require('path');
1110

@@ -19,19 +18,48 @@ app.configure(function(){
1918
app.use(express.logger('dev'));
2019
app.use(express.bodyParser());
2120
app.use(express.methodOverride());
22-
app.use(express.cookieParser('your secret here'));
21+
app.use(express.cookieParser('value in relationships'));
2322
app.use(express.session());
2423
app.use(app.router);
2524
app.use(express.static(path.join(__dirname, 'public')));
25+
26+
2627
});
2728

2829
app.configure('development', function(){
2930
app.use(express.errorHandler());
3031
});
3132

33+
var rnd = function rnd(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; }
34+
35+
var themes = ["default","quartum"];
36+
app.locals.theme = function() {
37+
return themes[rnd(0,themes.length - 1)];
38+
}
39+
40+
app.locals({
41+
neo4j: {
42+
version: "1.9.M01",
43+
summary: "Early access to self-managed HA, for simplified ops.",
44+
readme: "http://blog.neo4j.org/2012/10/neo4j-19m01-self-managed-ha.html"
45+
}
46+
});
47+
48+
49+
/**
50+
* Page types:
51+
* - node: content about a single topic
52+
* - path: guide to related tracks of nodes
53+
* - graph: collection of arbitrarily connected nodes
54+
*/
55+
56+
3257
app.get('/', routes.index);
33-
app.get('/integrate/', routes.integrate);
34-
app.get('/users', user.list);
58+
app.get('/learn', routes.learn); // path: concepts, best practices, operations
59+
app.get('/learn/neo4j', routes.neo4j); // node: about Neo4j
60+
app.get('/integrate', routes.integrate); // graph: languages and frameworks
61+
62+
3563

3664
http.createServer(app).listen(app.get('port'), function(){
3765
console.log("Express server listening on port " + app.get('port'));

helpers/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Binary file not shown.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Isotope Commercial License
2+
==========================
3+
4+
You are now free to use Isotope – an exquisite jQuery plugin for magical layouts – in all your wonderful commercial applications.
5+
6+
Download the latest code, documentation and demos from:
7+
http://meta.metafizzy.co/files/isotope-site.zip.
8+
9+
View demos and documentation at http://isotope.metafizzy.co.
10+
11+
Once your site goes live, I’d love to see the results.
12+
13+
Thank you so much for your purchase! You are awesome!
14+
15+
David DeSandro
16+
Lead Developer, Metafizzy
17+
18+
19+
20+
* * * * * * * * * * * * * * * * * * *
21+
22+
Isotope Commercial License Agreement
23+
====================================
24+
25+
This Commercial License Agreement (the Agreement) is a binding legal agreement between you and Metafizzy LLC (Metafizzy). By installing, copying, or using Isotope (the Software), you agree to be bound by these terms of this Agreement.
26+
27+
Usage
28+
-----
29+
30+
This Agreement grants a non-exclusive, non-transferable license to use the Software to design and develop software (Applications).
31+
32+
You are granted 1 license for you as 1 designated user to use the Software for the purpose of developing Applications (Developer). You must purchase another separate license to the Software for each and any additional Developer. For example, if your company has 5 developers using the Software, you need to purchase 5 licenses.
33+
34+
You are granted the right to use and to modify the source code of the Software for use in Applications. You own any original work authored by you; Metafizzy continues to retain all copyright and other intellectual property rights in the Software. You are not permitted to move, remove, edit, or obscure any copyright, trademark, attribution, warning or disclaimer notices in the Software.
35+
36+
You may use the Software only to create Applications that are significantly different than and do not compete with the Software. You are granted the license to distribute the Software as part of your Applications on a royalty-free basis. Users of your Applications are permitted to use the Software or your modifications of the Software for development purposes.
37+
38+
Warranties and Remedies
39+
-----------------------
40+
41+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. METAFIZZY’S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY UNDER THIS AGREEMENT SHALL BE RETURN OF THE PRICE PAID FOR THE SOFTWARE.
6.61 KB
Loading
16.1 KB
Binary file not shown.
0 Bytes
Loading
16.3 KB
Loading
20.3 KB
Binary file not shown.

public/assets/img/languages/perl.pxm

0 Bytes
Binary file not shown.
3.24 KB
Loading

public/assets/img/neo4j/logo.png

3.01 KB
Loading

public/assets/img/neo4j/logo.svg

Lines changed: 3 additions & 0 deletions
Loading

public/assets/js/modernizr.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/themes/default/css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
body {
3+
padding-top: 80px;
4+
}
5+
6+
footer.bottom {background: white; }
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
/*
2+
* jQuery Nivo Slider v3.1
3+
* http://nivo.dev7studios.com
4+
*
5+
* Copyright 2012, Dev7studios
6+
* Free to use and abuse under the MIT license.
7+
* http://www.opensource.org/licenses/mit-license.php
8+
*/
9+
10+
/* The Nivo Slider styles */
11+
.nivoSlider {
12+
position:relative;
13+
width:100%;
14+
height:auto;
15+
overflow: hidden;
16+
}
17+
.nivoSlider img {
18+
position:absolute;
19+
top:0px;
20+
left:0px;
21+
max-width: none;
22+
}
23+
.nivo-main-image {
24+
display: block !important;
25+
position: relative !important;
26+
width: 100% !important;
27+
}
28+
29+
/* If an image is wrapped in a link */
30+
.nivoSlider a.nivo-imageLink {
31+
position:absolute;
32+
top:0px;
33+
left:0px;
34+
width:100%;
35+
height:100%;
36+
border:0;
37+
padding:0;
38+
margin:0;
39+
z-index:6;
40+
display:none;
41+
}
42+
/* The slices and boxes in the Slider */
43+
.nivo-slice {
44+
display:block;
45+
position:absolute;
46+
z-index:5;
47+
height:100%;
48+
top:0;
49+
}
50+
.nivo-box {
51+
display:block;
52+
position:absolute;
53+
z-index:5;
54+
overflow:hidden;
55+
}
56+
.nivo-box img { display:block; }
57+
58+
/* Caption styles */
59+
.nivo-caption {
60+
position:absolute;
61+
left:0px;
62+
bottom:0px;
63+
background:#000;
64+
color:#fff;
65+
width:100%;
66+
z-index:8;
67+
padding: 5px 10px;
68+
opacity: 0.8;
69+
overflow: hidden;
70+
display: none;
71+
-moz-opacity: 0.8;
72+
filter:alpha(opacity=8);
73+
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
74+
-moz-box-sizing: border-box; /* Firefox, other Gecko */
75+
box-sizing: border-box; /* Opera/IE 8+ */
76+
}
77+
.nivo-caption p {
78+
padding:5px;
79+
margin:0;
80+
}
81+
.nivo-caption a {
82+
display:inline !important;
83+
}
84+
.nivo-html-caption {
85+
display:none;
86+
}
87+
/* Direction nav styles (e.g. Next & Prev) */
88+
.nivo-directionNav a {
89+
position:absolute;
90+
top:45%;
91+
z-index:9;
92+
cursor:pointer;
93+
}
94+
.nivo-prevNav {
95+
left:0px;
96+
}
97+
.nivo-nextNav {
98+
right:0px;
99+
}
100+
/* Control nav styles (e.g. 1,2,3...) */
101+
.nivo-controlNav {
102+
text-align:center;
103+
padding: 15px 0;
104+
}
105+
.nivo-controlNav a {
106+
cursor:pointer;
107+
}
108+
.nivo-controlNav a.active {
109+
font-weight:bold;
110+
}

0 commit comments

Comments
 (0)