简体   繁体   English

pinterest启发的仪表板布局

[英]pinterest inspired dashboard layout

Over the weekend we had a massive hackathon in Sweden, and my pitch to the organizers a few weeks ago was to create a pinterest inspired web app for instagram, since they don't have a big web presence. 上周末,我们在瑞典举行了一场大型黑客马拉松,几周前我向组织者提出的建议是为instagram创建一个受pinterest启发的网络应用程序,因为它们的网络规模并不大。

I am using twitter bootstrap to easy create the layout and wondering how I can perfect that pinterest type layout? 我正在使用twitter bootstrap轻松创建布局,并且想知道如何完善pinterest类型的布局?

Here is a sample of the loop I am running. 这是我正在运行的循环的示例。

{% for obj in images %}
    <div class='span3'>
        <div class='thumbnail'>
            <img src="{{ obj.images.low_resolution.url }}" href="{% url dashboard_get_media obj.id %}" data-toggle="modal" data-target="#myModal"/><br />
            <div class='social-items'>
                ...
            </div>
            <br />
            <div class='clearfix'></div>
            <div class='comment'>
                ...
            </div>
            <div class='clearfix'></div>
            {% for comment in obj.comments %}
                ...
                <div class='clearfix'></div>
            {% endfor %}
        </div>
        <br />
    </div>
{% endfor %}

Your help is much appreciated. 非常感谢您的帮助。

the address is http://instadashapp.com/ 地址是http://instadashapp.com/

Masonry javascript插件是专门为创建内容网格而编写的,如果您不反对根据需要添加其他插件,则可以填充尽可能多的空格。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM