-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from SADiLaR/feature/institutions_view
Feature/institutions view
- Loading branch information
Showing
9 changed files
with
241 additions
and
46 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,41 @@ | ||
{% extends "base.html" %} | ||
{% load static %} | ||
|
||
{% block content %} | ||
|
||
<div class="institution-card w-100"> | ||
{% for institution in institutions %} | ||
<div class="all-cards section"> | ||
<div class="card uni-card"> | ||
<div class="row"> | ||
<div class="col-sm-6"> | ||
<h5 class="card-title">{{ institution.name }}</h5> | ||
<p class="card-text"> | ||
{{ institution.abbreviation }} | ||
</p> | ||
<p class="card-text"> | ||
4 applicable projects | ||
</p> | ||
<br> | ||
</div> | ||
<div class="col-sm-6"> | ||
<p class="card-text">Profile completion:</p> | ||
<div class="profile-icons"> | ||
<i class="bi-star-fill"></i> | ||
<i class="bi-star-fill"></i> | ||
<i class="bi-star-fill"></i> | ||
<i class="bi-star"></i> | ||
<i class="bi-star"></i> | ||
</div> | ||
<br> | ||
<div class="card-logo"> | ||
<img src=" {% static 'img/UP_logo.png' %}" class="uni-logo" alt="university logo"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% endblock content %} |
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 |
---|---|---|
|
@@ -10,10 +10,11 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="{% static 'css/styles.css' %}"> | ||
|
||
</head> | ||
<body> | ||
|
||
<body class="d-flex flex-column min-vh-100"> | ||
<!--header--> | ||
{% block app_header %} | ||
<header> | ||
|
@@ -24,17 +25,17 @@ | |
<div class="nav-menu"> | ||
<ul class="nav nav-pills"> | ||
<li class="nav-item"> | ||
<a class="nav-link active" aria-current="page" href="#">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#">Search</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#">Register</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Admin</a> | ||
</li> | ||
<a class="nav-link {{ home_page }}" aria-current="page" href="{% url 'home' %}">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#">Search</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link {{ institutions_page }}" href="{% url 'institutions' %}">Institutions</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{% url 'admin:index' %}">Admin</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
@@ -47,9 +48,9 @@ | |
|
||
{% endblock content %} | ||
</div> | ||
|
||
<br> | ||
<!-- app footer --> | ||
<footer class="footer my-5"> | ||
<footer class="footer my-5 mt-auto"> | ||
<div class="text-center p-3"> | ||
Developed by <a class="text-white" href="https://sadilar.org">SADiLaR</a> | ||
</div> | ||
|
@@ -58,5 +59,3 @@ | |
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
</body> | ||
|
||
|