Skip to content

Instantly share code, notes, and snippets.

@ryderr
Created November 17, 2012 01:21

Revisions

  1. @invalid-email-address Anonymous created this gist Nov 17, 2012.
    117 changes: 117 additions & 0 deletions raw_webeat.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,117 @@
    <html>
    <head>
    <title>
    {{#text.title}}{{text.title}}{{/text.title}}{{^text.title}}
    {{title}}
    {{/text.title}} {{#single_event}} - {{name}}{{/single_event}} - webe.at
    </title>
    <meta name="text:title" value="">
    <meta name="text:sub_heading" value="">
    <meta name="color:headings" value="#000000">
    <meta name="color:text" value="#000000">
    <meta name="color:link_color" value="blue">
    <meta name="if:big_fonts" value="false">
    <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <style type='text/css'>
    body{
    font-size:100%;
    {{#big_fonts}}
    font-size:200%;
    {{/big_fonts}}
    }
    h1, h2, h3{color:{{color.headings}};}
    p{color:{{color.text}};}
    a{color:{{color.link_color}};}
    </style>
    </head>


    <body>
    <header>
    <img src="{{owner_avatar.medium}}">
    <h1><a href="{{path}}">
    {{#text.title}}
    {{text.title}}
    {{/text.title}}
    {{^text.title}}
    {{title}}
    {{/text.title}}
    </a></h1>
    {{#text.sub_heading}}
    <h2>{{text.sub_heading}}</h2>
    {{/text.sub_heading}}
    <p>{{event_count}} Events Listed</p>
    <p>{{follower_count}} Followers</p>
    <p>Following {{owner_following_count}}</p>
    <a href="{{ical_link}}">View in iCal</a>
    </header>
    <hr>
    {{#has_events}}
    {{#single_event}}
    <section>
    <div>
    <h3>{{start_weekday}}, {{start_date_text}} {{start_hour}}:{{start_minutes}}</h3>
    <h3><a href="{{permalink}}">{{name}}</a></h3>
    <a href="{{maps_link}}"target="_blank"><img src="http://maps.googleapis.com/maps/api/staticmap?center={{latitude}},{{longitude}}&zoom=15&size=160x160&sensor=false"><br>
    <p>{{linked_location}}</p></a>
    <img src="{{image}}">
    <p>{{linked_description}}</p>
    {{#recal_path}}<p>Recaled from <a href="{{recal_path}}">{{recal_from}}</a></p>{{/recal_path}}{{#has_recals}}
    <p><b>{{recal_count}}</b> Recals - {{#recals}}<a href="{{cal.path}}"class="user-recaled"><img src="{{cal.avatar.small}}">{{cal.name}}</a>{{/recals}}</p>
    {{/has_recals}}
    <p><b><a href="#"class="recal"data-id="{{id}}">Recal</a></b>
    <p><b><a href="{{permalink}}">Permalink</a></b>
    </div>
    <hr>
    </section>
    {{/single_event}}{{^single_event}}

    {{#has_future_events}}
    <section>
    <h1><i>Future Events</i></h1>
    {{#future_events_by_month}}
    <h2>{{month}}</h2>
    {{#events}}
    <div>
    <h3>{{start_weekday}}, {{start_date_text}} {{start_hour}}:{{start_minutes}}</h3>
    <h3><a href="{{permalink}}">{{name}}</a></h3>
    <a href="{{maps_link}}"target="_blank"><img src="http://maps.googleapis.com/maps/api/staticmap?center={{latitude}},{{longitude}}&zoom=15&size=160x160&sensor=false"><br>
    <p>{{linked_location}}</p></a>
    <img src="{{image}}">
    <p>{{linked_description}}</p>
    {{#recal_path}}<p>Recaled from <a href="{{recal_path}}">{{recal_from}}</a></p>{{/recal_path}}{{#has_recals}}
    <p><b>{{recal_count}}</b> Recals - {{#recals}}<a href="{{cal.path}}"class="user-recaled"><img src="{{cal.avatar.small}}">{{cal.name}}</a>{{/recals}}</p>
    {{/has_recals}}
    <p><b><a href="#"class="recal"data-id="{{id}}">Recal</a></b>
    <p><b><a href="{{permalink}}">Permalink</a></b>
    </div>
    <hr>
    {{/events}}{{/future_events_by_month}}
    </section>
    {{/has_future_events}}
    {{#has_past_events}}
    <section>
    <h1><i>Past Events</i></h1>
    {{#past_events_by_month}}
    <h2>{{month}}</h2>
    {{#events}}
    <div>
    <h3>{{start_weekday}}, {{start_date_text}} {{start_hour}}:{{start_minutes}}</h3>
    <h3><a href="{{permalink}}">{{name}}</a></h3>
    <a href="{{maps_link}}"target="_blank"><img src="http://maps.googleapis.com/maps/api/staticmap?center={{latitude}},{{longitude}}&zoom=15&size=160x160&sensor=false"><br>
    <p>{{linked_location}}</p></a>
    <img src="{{image}}">
    <p>{{linked_description}}</p>
    {{#recal_path}}<p>Recaled from <a href="{{recal_path}}">{{recal_from}}</a></p>{{/recal_path}}{{#has_recals}}
    <p><b>{{recal_count}}</b> Recals - {{#recals}}<a href="{{cal.path}}"class="user-recaled"><img src="{{cal.avatar.small}}">{{cal.name}}</a>{{/recals}}</p>
    {{/has_recals}}
    <p><b><a href="#"class="recal"data-id="{{id}}">Recal</a></b>
    <p><b><a href="{{permalink}}">Permalink</a></b>
    </div>
    {{/events}}{{/past_events_by_month}}
    </section>
    {{/has_past_events}}{{/single_event}}{{/has_events}}{{^has_events}}
    <p>no events :( </p>
    {{/has_events}}
    </body>
    </html>