Skip to content

Commit

Permalink
added timeline and new bundleparser
Browse files Browse the repository at this point in the history
  • Loading branch information
Waxolunist committed May 7, 2013
1 parent 6c7e978 commit 6d65277
Show file tree
Hide file tree
Showing 88 changed files with 10,962 additions and 28 deletions.
7 changes: 5 additions & 2 deletions client/code/libs/script.me.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ var cc = {
}
})(window.location.search),

//Some uttilitymethods
forEach: function (list, callback, context) {
Array.prototype.forEach.call(list, callback, context);
},
Expand Down Expand Up @@ -52,7 +51,11 @@ var cc = {
var tmpl;
if (window.ss.tmpl[val]) {
tmpl = window.ss.tmpl[val];
el.innerHTML = tmpl({res: response});
var output = tmpl({res: response});
//el.innerHTML = tmpl({res: response});
var ustmpl = _.template("<% print(" + output + ");%>");

el.innerHTML = ustmpl({});
cc.setTargetForExternal();
return false;
}
Expand Down
1 change: 1 addition & 0 deletions client/code/libs/underscore.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/templates/projects.item.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{{res.content}}}
3 changes: 1 addition & 2 deletions client/views/me.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ html(lang="en")
head
meta(charset="utf-8")
meta(name="viewport",content="width=device-width,initial-scale=0.6")
link(href='http://fonts.googleapis.com/css?family=Permanent+Marker|Ubuntu',rel='stylesheet',type='text/css')
!= SocketStream
title Christian Sterzl vCard
body.container_12
Expand All @@ -23,4 +22,4 @@ html(lang="en")
div.topbar
a(href="#contact") Contact
a(href="#circlescms").omega Circlescms

link(href='http://fonts.googleapis.com/css?family=Permanent+Marker|Ubuntu',rel='stylesheet',type='text/css')
39 changes: 39 additions & 0 deletions content/assets/lebenslauf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"timeline":
{
"headline":"The Main Timeline Headline Goes here",
"type":"default",
"text":"<p>Intro body text goes here, some HTML is ok</p>",
"asset": {
"media":"http://yourdomain_or_socialmedialink_goes_here.jpg",
"credit":"Credit Name Goes Here",
"caption":"Caption text goes here"
},
"date": [
{
"startDate":"2011,12,10",
"endDate":"2011,12,11",
"headline":"Headline Goes Here",
"text":"<p>Body text goes here, some HTML is OK</p>",
"tag":"This is Optional",
"classname":"optionaluniqueclassnamecanbeaddedhere",
"asset": {
"media":"http://twitter.com/ArjunaSoriano/status/164181156147900416",
"thumbnail":"optional-32x32px.jpg",
"credit":"Credit Name Goes Here",
"caption":"Caption text goes here"
}
}
],
"era": [
{
"startDate":"2011,12,10",
"endDate":"2011,12,11",
"headline":"Headline Goes Here",
"text":"<p>Body text goes here, some HTML is OK</p>",
"tag":"This is Optional"
}

]
}
}
Binary file added content/assets/timelinejs/css/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6d65277

Please sign in to comment.