Skip to content
This repository
Browse code

Switched back to LF line-endings

  • Loading branch information...
commit 83beece51684040d74689090fc20d9596c708f04 1 parent 393b494
Kiran Jonnalagadda jace authored

Showing 1 changed file with 132 additions and 132 deletions. Show diff stats Hide diff stats

  1. +132 132 templates/index.html
264 templates/index.html
... ... @@ -1,132 +1,132 @@
1   -{% from "baseframe/components.html" import networkbar with context -%}
2   -{% extends theme("layout.html") %}
3   -
4   -{% block titletags -%}
5   - <title>{% block title %}{{ website.title }}{% endblock %}</title>
6   - <meta name="DC.title" content="{{ website.title }}"/>
7   -{%- endblock %}
8   -{% block description %}{{ node.description }}{% endblock %}
9   -
10   -{% block headerbox %}
11   -<header class="header">
12   - {{ networkbar(siteid='events', login=false) }}
13   - <div id="masthead" class="container">
14   - <div id="banner">
15   - <h1><span class="h1-the">The</span> <span class="h1-fifth">Fifth</span> <span class="h1-elephant">Elephant</span></h1>
16   - <h2>27 &amp; 28 July 2012</h2>
17   - <h3>Nimhans Convention Centre, Bangalore</h3>
18   - <a class="btn btn-success btn-register" href="/2012/register"><big><strong>Buy Tickets</strong></big><br><del>Rs 5000</del> Rs 2500</a>
19   - </div>
20   - </div>
21   - <div class="main-navbar">
22   - <div class="container">
23   - <ul class="nav" id="main-nav">
24   - <li><a href="#about">About</a></li>
25   - <li><a href="#blog">Blog</a></li>
26   - <li><a href="#schedule">Programme</a></li>
27   - <li><a href="#sponsors">Sponsors</a></li>
28   - <li><a href="#venue">Venue</a></li>
29   - <li><a href="#partners">Partners</a></li>
30   - <li class="register"><a href="/2012/register">Register</a></li>
31   - </ul>
32   - </div><!-- /container -->
33   - </div><!-- /main-navbar -->
34   -</header>
35   -{% endblock %}
36   -
37   -{% block main %}
38   -{% include theme("inc/about.html") %}
39   -{% include theme("inc/blog.html") %}
40   -{% include theme("inc/proposals.html") %}
41   -{% include theme("inc/sponsors.html") %}
42   -{% include theme("inc/venue.html") %}
43   -{% include theme("inc/partners.html") %}
44   -{% endblock %}
45   -
46   -{% block footerscripts %}
47   -{% include theme("inc/map_script.html") %}
48   -<script type="text/javascript">
49   - $(function() {
50   - /*
51   - $("#main-nav > li:first-child").hover(function() {
52   - $("#masthead").addClass('round-bottom-left');
53   - }, function() {
54   - $("#masthead").removeClass('round-bottom-left');
55   - });
56   - $("#main-nav > li:last-child").hover(function() {
57   - $("#masthead").addClass('round-bottom-right');
58   - }, function() {
59   - $("#masthead").removeClass('round-bottom-right');
60   - });
61   - */
62   - });
63   -</script>
64   -<script type="text/javascript">
65   - $(function() {
66   - // fixed nav-bar transition code
67   - // adapted from twitter bootstrap docs' sub-nav
68   - var $win = $(window)
69   - , $nav = $('.main-navbar')
70   - , $masthead = $('#masthead')
71   - , navTop = $nav.length && $nav.offset().top // - 40
72   - , isFixed = 0;
73   -
74   - var processScroll = function () {
75   - var scrollTop = $win.scrollTop();
76   - if (scrollTop >= navTop && !isFixed) {
77   - isFixed = 1;
78   - $nav.addClass('navbar-fixed-top');
79   - $masthead.addClass('navbar-margin');
80   - } else if (scrollTop <= navTop && isFixed) {
81   - isFixed = 0;
82   - $nav.removeClass('navbar-fixed-top');
83   - $masthead.removeClass('navbar-margin');
84   - };
85   - };
86   -
87   - processScroll();
88   -
89   - $win.on('scroll', processScroll);
90   -
91   - // smooth scroll nav links
92   - $('a', $nav).smoothScroll({
93   - offset: -80
94   - , speed: 900
95   - });
96   -
97   - });
98   -</script>
99   -
100   -<script type="text/javascript">
101   - $(function() {
102   - $(".sponsor-box").on('shown', function() {
103   - if (typeof _gaq != 'undefined') {
104   - _gaq.push(['_trackPageview', "/{{ folder.name }}/#" + $(this).attr('id')]);
105   - };
106   - });
107   - $(".sponsor-box").on('hidden', function() {
108   - if (typeof _gaq != 'undefined') {
109   - _gaq.push(['_trackPageview', "/{{ folder.name }}/#"]);
110   - };
111   - });
112   - $(".sponsor-exit").click(function() {
113   - if (typeof _gaq != 'undefined') {
114   - _gaq.push(['_trackPageview', "/out/" + $(this).attr('href')]);
115   - };
116   - });
117   - });
118   -</script>
119   -<script type="text/javascript">
120   - $(document).ready(function() {
121   - $("#twitter").getTwitter({
122   - userName: "the5el",
123   - numTweets: 5,
124   - loaderText: "Loading tweets...",
125   - slideIn: true,
126   - showHeading: false,
127   - headingText: "Latest Tweets",
128   - showProfileLink: false
129   - });
130   - });
131   -</script>
132   -{% endblock %}
  1 +{% from "baseframe/components.html" import networkbar with context -%}
  2 +{% extends theme("layout.html") %}
  3 +
  4 +{% block titletags -%}
  5 + <title>{% block title %}{{ website.title }}{% endblock %}</title>
  6 + <meta name="DC.title" content="{{ website.title }}"/>
  7 +{%- endblock %}
  8 +{% block description %}{{ node.description }}{% endblock %}
  9 +
  10 +{% block headerbox %}
  11 +<header class="header">
  12 + {{ networkbar(siteid='events', login=false) }}
  13 + <div id="masthead" class="container">
  14 + <div id="banner">
  15 + <h1><span class="h1-the">The</span> <span class="h1-fifth">Fifth</span> <span class="h1-elephant">Elephant</span></h1>
  16 + <h2>27 &amp; 28 July 2012</h2>
  17 + <h3>Nimhans Convention Centre, Bangalore</h3>
  18 + <a class="btn btn-success btn-register" href="/2012/register"><big><strong>Buy Tickets</strong></big><br><del>Rs 5000</del> Rs 2500</a>
  19 + </div>
  20 + </div>
  21 + <div class="main-navbar">
  22 + <div class="container">
  23 + <ul class="nav" id="main-nav">
  24 + <li><a href="#about">About</a></li>
  25 + <li><a href="#blog">Blog</a></li>
  26 + <li><a href="#schedule">Programme</a></li>
  27 + <li><a href="#sponsors">Sponsors</a></li>
  28 + <li><a href="#venue">Venue</a></li>
  29 + <li><a href="#partners">Partners</a></li>
  30 + <li class="register"><a href="/2012/register">Register</a></li>
  31 + </ul>
  32 + </div><!-- /container -->
  33 + </div><!-- /main-navbar -->
  34 +</header>
  35 +{% endblock %}
  36 +
  37 +{% block main %}
  38 +{% include theme("inc/about.html") %}
  39 +{% include theme("inc/blog.html") %}
  40 +{% include theme("inc/proposals.html") %}
  41 +{% include theme("inc/sponsors.html") %}
  42 +{% include theme("inc/venue.html") %}
  43 +{% include theme("inc/partners.html") %}
  44 +{% endblock %}
  45 +
  46 +{% block footerscripts %}
  47 +{% include theme("inc/map_script.html") %}
  48 +<script type="text/javascript">
  49 + $(function() {
  50 + /*
  51 + $("#main-nav > li:first-child").hover(function() {
  52 + $("#masthead").addClass('round-bottom-left');
  53 + }, function() {
  54 + $("#masthead").removeClass('round-bottom-left');
  55 + });
  56 + $("#main-nav > li:last-child").hover(function() {
  57 + $("#masthead").addClass('round-bottom-right');
  58 + }, function() {
  59 + $("#masthead").removeClass('round-bottom-right');
  60 + });
  61 + */
  62 + });
  63 +</script>
  64 +<script type="text/javascript">
  65 + $(function() {
  66 + // fixed nav-bar transition code
  67 + // adapted from twitter bootstrap docs' sub-nav
  68 + var $win = $(window)
  69 + , $nav = $('.main-navbar')
  70 + , $masthead = $('#masthead')
  71 + , navTop = $nav.length && $nav.offset().top // - 40
  72 + , isFixed = 0;
  73 +
  74 + var processScroll = function () {
  75 + var scrollTop = $win.scrollTop();
  76 + if (scrollTop >= navTop && !isFixed) {
  77 + isFixed = 1;
  78 + $nav.addClass('navbar-fixed-top');
  79 + $masthead.addClass('navbar-margin');
  80 + } else if (scrollTop <= navTop && isFixed) {
  81 + isFixed = 0;
  82 + $nav.removeClass('navbar-fixed-top');
  83 + $masthead.removeClass('navbar-margin');
  84 + };
  85 + };
  86 +
  87 + processScroll();
  88 +
  89 + $win.on('scroll', processScroll);
  90 +
  91 + // smooth scroll nav links
  92 + $('a', $nav).smoothScroll({
  93 + offset: -80
  94 + , speed: 900
  95 + });
  96 +
  97 + });
  98 +</script>
  99 +
  100 +<script type="text/javascript">
  101 + $(function() {
  102 + $(".sponsor-box").on('shown', function() {
  103 + if (typeof _gaq != 'undefined') {
  104 + _gaq.push(['_trackPageview', "/{{ folder.name }}/#" + $(this).attr('id')]);
  105 + };
  106 + });
  107 + $(".sponsor-box").on('hidden', function() {
  108 + if (typeof _gaq != 'undefined') {
  109 + _gaq.push(['_trackPageview', "/{{ folder.name }}/#"]);
  110 + };
  111 + });
  112 + $(".sponsor-exit").click(function() {
  113 + if (typeof _gaq != 'undefined') {
  114 + _gaq.push(['_trackPageview', "/out/" + $(this).attr('href')]);
  115 + };
  116 + });
  117 + });
  118 +</script>
  119 +<script type="text/javascript">
  120 + $(document).ready(function() {
  121 + $("#twitter").getTwitter({
  122 + userName: "the5el",
  123 + numTweets: 5,
  124 + loaderText: "Loading tweets...",
  125 + slideIn: true,
  126 + showHeading: false,
  127 + headingText: "Latest Tweets",
  128 + showProfileLink: false
  129 + });
  130 + });
  131 +</script>
  132 +{% endblock %}

0 comments on commit 83beece

Please sign in to comment.
Something went wrong with that request. Please try again.