BVB Source Codes

django-rest-framework Show list.html Source code

Return Download django-rest-framework: download list.html Source code - Download django-rest-framework Source code - Type:.html
  1. {% load rest_framework %}
  2. <table class="table table-striped">
  3.   <thead>
  4.     <tr>{% for column in columns%}<th>{{ column|capfirst }}</th>{% endfor %}<th></th></tr>
  5.   </thead>
  6.   <tbody>
  7.     {% for row in results %}
  8.       <tr>
  9.         {% for key, value in row|items %}
  10.           {% if key in columns %}
  11.             <td {{ value|add_nested_class }} >
  12.               {{ value|format_value }}
  13.             </td>
  14.           {% endif %}
  15.         {% endfor %}
  16.         <td>
  17.           <a href="{{ row.url }}"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></a>
  18.         </td>
  19.       </tr>
  20.     {% endfor %}
  21.   </tbody>
  22. </table>
  23.  
downloadlist.html Source code - Download django-rest-framework Source code
Related Source Codes/Software:
lectures - Oxford Deep NLP 2017 course 2017-06-10
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Public-APIs - 2017-06-09
angular-starter - 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11

 Back to top