{% extends "frontend/base.html" %}
{% block "content" %}

                    <div class="card shadow mb-4">
                        <div class="card-header py-3">
                            <h6 class="m-0 font-weight-bold text-primary">Your Activities</h6>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive">
                                <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
                                    <thead>
                                        <tr>
                                            <th>Name</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        {% for activity in object_list %}
                                        <tr onclick="window.location.href='{% url "mood:activity_edit" activity.id %}'">
                                            <td><i data-order="{{ activity }}" style="color:{{ activity.color }};" class="{{ activity.icon }}"></i> {{ activity }}</td>
                                        </tr>
                                        {% endfor %}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>

{% endblock %}