Skip to content

Commit

Permalink
Jinja template
Browse files Browse the repository at this point in the history
  • Loading branch information
hsrai authored Nov 26, 2023
1 parent 2db08cb commit eb14dad
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions ORM/raiMe.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{% from "frappe/templates/includes/avatar_macro.html" import avatar %}
{% extends "templates/web.html" %}

{% block title %}
{{ _("Title of page Rai HS") }}
{% endblock %}

{% block page_content %}
<div class="my-account-container">
<div class="row account-info d-flex flex-column">
<div class="col d-flex justify-content-between align-items-center">
<div>
<span class="my-account-avatar">
{{avatar(current_user.name)}}
</span>
<span class="my-account-name ml-4">
{{current_user.full_name}}
</span>
</div>
</div>
</div>
<h3 class="my-account-header">{{_("Institutes offering academic programs") }}</h3>
<hr>
{% for record in Rai %}
<div>
<p> {{ record[0] }}</p>
</div>
{% endfor %}
</div>

{% endblock %}

0 comments on commit eb14dad

Please sign in to comment.