|
| 1 | +{% extends 'base.html' %} |
| 2 | +{% load staticfiles %} |
| 3 | + |
| 4 | +{% block add_css_files %} |
| 5 | + <link rel="stylesheet" href="{% static 'css/contributors.css' %}"> |
| 6 | + <link rel="stylesheet" href="{% static 'css/mentors.css' %}"> |
| 7 | +{% endblock %} |
| 8 | + |
| 9 | +{% block add_js_files %} |
| 10 | + <script src="{% static 'js/mentors.js' %}"></script> |
| 11 | +{% endblock %} |
| 12 | + |
| 13 | +{% block main-content %} |
| 14 | + |
| 15 | + <div class="web-page-details apply-flex center-content"> |
| 16 | + <h3 style="padding-right: 15px">~</h3> |
| 17 | + <h3 class="page-name"> |
| 18 | + {{ gsoc_section_name }} |
| 19 | + </h3> |
| 20 | + <h3 style="padding-left: 15px">~</h3> |
| 21 | + </div> |
| 22 | + |
| 23 | + <div class="apply-flex-center"> |
| 24 | + <p class="container web-page-description"> |
| 25 | + Thank You! Mentors for mentoring the potential contributors to get |
| 26 | + there work completed on time by helping them out in their project & |
| 27 | + reviewing their works too. <i class="fa fa-smile-o"></i> |
| 28 | + </p> |
| 29 | + </div> |
| 30 | + |
| 31 | + <div class="organization-mentors"> |
| 32 | + <div class="program-input-field"> |
| 33 | + <label for="program">Program-</label> |
| 34 | + <select id="program"> |
| 35 | + <option value="{{ gsoc_section_name }}">Google Summer of Code</option> |
| 36 | + <option value="{{ gci_section_name }}">Google Code-In</option> |
| 37 | + </select> |
| 38 | + </div> |
| 39 | + <div class="gsoc-mentors mentors-list apply-flex center-content"> |
| 40 | + {% for mentor in gsoc_mentors %} |
| 41 | + <div class="contributor-card"> |
| 42 | + <div class="contributor-image"> |
| 43 | + <img src="//github.com/{{ mentor.username }}.png/?size=210" |
| 44 | + alt="mentor-image"> |
| 45 | + </div> |
| 46 | + <div class="contributor-details"> |
| 47 | + <a class="bold-text large-font" href="//github.com/{{ mentor.username }}" target="_blank"> |
| 48 | + {% if contributor.name %} |
| 49 | + {{ mentor.name }} |
| 50 | + {% else %} |
| 51 | + {{ mentor.username }} |
| 52 | + {% endif %} |
| 53 | + </a> |
| 54 | + </div> |
| 55 | + </div> |
| 56 | + {% empty %} |
| 57 | + <h6 class="bold-text custom-green-color-font"> |
| 58 | + Note: They are currently no mentor records in our database. |
| 59 | + </h6> |
| 60 | + {% endfor %} |
| 61 | + {% if gsoc_previous_mentors %} |
| 62 | + <h6 class="bold-text custom-green-color-font"> |
| 63 | + Note: They are currently no mentors for upcoming Google Summer of |
| 64 | + Code. |
| 65 | + </h6> |
| 66 | + {% endif %} |
| 67 | + </div> |
| 68 | + <div class="gci-mentors mentors-list apply-flex center-content display-none"> |
| 69 | + {% for mentor in gci_mentors %} |
| 70 | + <div class="contributor-card"> |
| 71 | + <div class="contributor-image"> |
| 72 | + <img src="//github.com/{{ mentor.username }}.png/?size=210" |
| 73 | + alt="mentor-image"> |
| 74 | + </div> |
| 75 | + <div class="contributor-details"> |
| 76 | + <a class="bold-text large-font" href="//github.com/{{ mentor.username }}" target="_blank"> |
| 77 | + {% if contributor.name %} |
| 78 | + {{ mentor.name }} |
| 79 | + {% else %} |
| 80 | + {{ mentor.username }} |
| 81 | + {% endif %} |
| 82 | + </a> |
| 83 | + </div> |
| 84 | + </div> |
| 85 | + {% empty %} |
| 86 | + <h6 class="bold-text custom-green-color-font"> |
| 87 | + Note: They are currently no mentor records in our database. |
| 88 | + </h6> |
| 89 | + {% endfor %} |
| 90 | + {% if gsoc_previous_mentors %} |
| 91 | + <h6 class="bold-text custom-green-color-font"> |
| 92 | + Note: They are currently no mentors for upcoming Google Code-In. |
| 93 | + </h6> |
| 94 | + {% endif %} |
| 95 | + </div> |
| 96 | + </div> |
| 97 | +{% endblock %} |
0 commit comments