We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to create a custom view for an app and I'm showing the data in a generic table tag. Is it possible to inherit the styles from JET?
{% extends "admin/base_site.html" %} {% load static %}
{% compress css %} <link href="{% static 'jet/css/_tables.scss' %}" rel="stylesheet" type="text/x-scss"> {% endcompress %}
<link href="{% static 'jet/css/_tables.scss' %}" rel="stylesheet" type="text/x-scss">
{% block content %}
<table class="table" border="1"> <thead> <th>Sample head</th> </thead> <tbody> {% for row in rows %} <tr> <td>{{ row.attribute }}</td> </tr> {% endfor %} </tbody> </table>
{% endblock %}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I need to create a custom view for an app and I'm showing the data in a generic table tag. Is it possible to inherit the styles from JET?
{% extends "admin/base_site.html" %}
{% load static %}
{% compress css %}
<link href="{% static 'jet/css/_tables.scss' %}" rel="stylesheet" type="text/x-scss">
{% endcompress %}
{% block content %}
{% endblock %}
The text was updated successfully, but these errors were encountered: