forked from utsavll0/calorieApp_server
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
759ef71
commit f9142a4
Showing
4 changed files
with
70 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends "layout.html" %} | ||
{% block content %} | ||
|
||
<div id="dashboard-data card"> | ||
<h5 class="card-header">Your Activities</h5> | ||
<div class="card-body"> | ||
<p class="border-bottom mb-4 h6" id="enroll_legend">Enrolled Plans</p> | ||
<p class="card-text" id="enroll"> | ||
{% set unique_plans = [] %} | ||
{% for plan in enrolled_plans %} | ||
{% if plan['Status'] not in unique_plans %} | ||
{{ plan['Status'] }}<br> | ||
{% set _ = unique_plans.append(plan['Status']) %} | ||
{% endif %} | ||
{% endfor %} | ||
</p> | ||
<br> | ||
<p class="border-bottom mb-4 h6" id="calories_legend"></p> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |