Commit e7c316f1 authored by Vaughn Fajardo's avatar Vaughn Fajardo

feat: base.html was added and other html files were adjusted

parent ecfe9469
h1 {
color: black;
font-weight: bold;
}
p{
color: black;
font-weight: bold;
}
body {
background-color: pink;
}
a{
color: black;
}
\ No newline at end of file
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" type="text/css" href="{% static 'homepage/style.css' %}">
<title>Homepage</title>
</head>
<body>
{% block content %}
{% endblock %}
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Details</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
{% extends "homepage/base.html" %}
{% block content %}
<div class="Details Information">
<ul>
<p>{{details.last_name}}, {{details.first_name}} {{details.middle_name}}</p>
<p>{{ details.id_num }}</p>
<p>{{ details.email }}</p>
<p>{{ details.department.dept_name }}</p>
<p>{{ details.department.home_unit }}</p>
{% load static %}
<img src = "/static/{{ details.file }} ">
</ul>
<ul>
<p>{{details.last_name}}, {{details.first_name}} {{details.middle_name}}</p>
<p>{{ details.id_num }}</p>
<p>{{ details.email }}</p>
<p>{{ details.department.dept_name }}</p>
<p>{{ details.department.home_unit }}</p>
<img src = "/static/{{ details.file }} ">
</ul>
</div>
</body>
</html>
\ No newline at end of file
{% endblock %}
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Homepage</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
{% extends "homepage/base.html" %}
{% block content %}
<div class="Homepage Display">
<h1>Welcome to Widget!</h1>
<p>Widget Users:
<ol>
{% for user in widget_user %}
<h1>Welcome to Widget!</h1>
<p>Widget Users:
<ol>
{% for user in widget_user %}
<li><a href="/users/{{ user.id_num }}/details/">
{{ user.last_name }}, {{ user.first_name }} {{ user.middle_name }}
{{ user.last_name }}, {{ user.first_name }} {{ user.middle_name }}
</a></li>
{% endfor %}
</ol>
</p>
{% endfor %}
</ol>
</p>
</div>
{% endblock %}
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment