claseejecutiva / statics / templates / _realtime.html

{% load getblog %}
<div class="ma tc">
    <div class="title-bar oh bss bw1 c19">
        <h2 class="fl">REAL TIME</h2>
    </div>
    <div id="realtime" class="oh bss bw1 c19 bg18 pd10">
        <!-- facebook feed -->
        <div id="facebook-feed" class="w25 fl ma10r oh">
            <div class="icon fl">facebook icon</div>
            <h3 class="tl ma45l">Ultimos post</h3>
            <ul class="bss bw1 bdr pd10r pd10t cl tl">
                {% facebook_feed %}
                {% for i in facebookfeed %}
                <li class='ma5v pd5v bsa bw1 bdb oh'>
                <img src='{{ i.picture }}' class='fl pd5r pd5b' />
                <a href='http://www.facebook.com/pages/Clase-Ejecutiva/{{ i.uid }}' class='b' target='_blank'>{{ i.user }}</a>: <span>{{ i.message|urlize }}</span><br /><span>{{ i.created_time }}</span></li>
                {% endfor %}
            </ul>
        </div>
        <!-- end facebook feed -->

        <!-- twitter feed -->
        <div id="twitter-feed" class="w25 fl ma10r oh">
            <div class="icon fl">twitter icon</div>
            <h3 class="tl ma45l">Ultimos Tweets</h3>
            <ul class="bss bw1 bdr pd10r pd10t cl tl">
                {% twitter_feed %}
                {% for i in twitterfeed %}
                <li class='ma5v pd5v bsa bw1 bdb'><a href='http://twitter.com/{{ i.screen_name }}' class='b' target='_blank'>{{ i.user }}</a>: <span>{{ i.text|urlize }}</span><br /><span>{{ i.created_at }}</span></li>
                {% endfor %}
            </ul>
        </div>
        <!-- end twitter feed -->

        <!-- youtube feed -->
        <div id="youtube-feed" class="w25 fl ma10r oh">
            <div class="icon fl">youtube icon</div>
            <h3 class="tl ma45l">Video del día</h3>
            <div class="bss bw1 bdr pd10r pd10t cl tl">
                {% youtube_feed %}
                {% for i in youtubefeed %}
                <object width="233" height="199">
                    <param name="movie" value="http://www.youtube.com/v/{{ i.id }}?fs=1&amp;hl=en_US&amp;rel=0"></param>
                    <param name="allowFullScreen" value="true"></param>
                    <param name="allowscriptaccess" value="always"></param>
                    <embed src="http://www.youtube.com/v/{{ i.id }}?fs=1&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="233" height="199"></embed>
                </object>
                <p class="bg17 c20 pd5">{{ i.title }}</p>
                <div class="bg12 c17 pd5">
                    <p>{{ i.description|truncatewords_html:20 }}</p>
                </div>
                {% endfor %}
            </div>
        </div>
        <!-- end youtube feed -->

        <!-- latest feed -->
        <div id="latest-feed" class="fl oh">
            <div class="icon fl">ce icon</div>
            <h3>Programación</h3>
            <div class="cl">
                {% get_latest_category_posts invitados recursive as posts %}
                {% with posts|first as object %}
                <!-- invitado del dia -->
                <div class="icon icon-invitado fl ma10"></div><a href="{{ object.get_absolute_url }}" class="fl c17 nu">>> Próximo invitado</a>
                <div class="oh bsa bw2 bdt pd5v ma5v cl tl">
                    <p class="tl">
                    {% with object.get_first_image as media %}
                        <a href="{{ object.get_absolute_url }}"><img src="{% if media.content %}{{ media.content.url }}{% else %}{{ config.MEDIA_URL }}img/logo-clase-ejecutiva.jpg{% endif %}" title="{{ media.title }}" alt="{{ media.description }}" class="fl wha50 pd5r"></a>
                    {% endwith %}
                    <span class="c11"><a href="{{ object.get_absolute_url }}">{{ object.title }}.</a></span> {{ object.copete }}
                    </p>
                </div>
                <!-- end invitado del dia -->
                {% endwith %}

                <!-- tema del dia -->
                {% get_latest_category_posts tema-del-dia recursive as posts %}
                {% with posts|first as object %}
                <div class="icon icon-temadeldia fl ma10"></div><a href="{{ object.get_absolute_url }}" class="fl c17 nu">>> Este sábado</a>
                <div class="oh bsa bw2 bdt pd5v ma5v cl">
                    <p class="tl">
                    {% with object.get_first_image as media %}
                    <a href="{{ object.get_absolute_url }}"><img src="{% if media.content %}{{ media.content.url }}{% else %}{{ config.MEDIA_URL }}img/logo-clase-ejecutiva.jpg{% endif %}" title="{{ media.title }}" alt="{{ media.description }}" class="fl wha50 pd5r"></a>
                    {% endwith %}
                    <span class="c11"><a href="{{ object.get_absolute_url }}">{{ object.title }}.</a></span> {{ object.copete }}
                    </p>
                </div>
                <!-- end tema del dia -->
                {% endwith %}

            </div>
        </div>
        <!-- latest feed -->
    </div>
</div>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.