Skip to content

Instantly share code, notes, and snippets.

@fabricekabongo
Last active August 29, 2015 14:20
Show Gist options
  • Save fabricekabongo/1445452332b8b3f23589 to your computer and use it in GitHub Desktop.
Save fabricekabongo/1445452332b8b3f23589 to your computer and use it in GitHub Desktop.
A good way to show a media content on your application using the api (this gist only cover the rendering theme, using bootstrap 2.6)
<div class="media">
<a class="pull-left" href="#">
<img src="" style="width: 64px; height: 64px;" alt="64x64" class="media-object">
</a>
<div class="media-body">
<div class="thumbnail row">
<div class="row">
<img src="" class="span12" />
</div>
<div class="row">
<div class="caption span12">
<h3>Thumbnail label</h3>
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
</div>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment