File tree Expand file tree Collapse file tree 4 files changed +39
-33
lines changed
Expand file tree Collapse file tree 4 files changed +39
-33
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < link rel ="icon " href ="data:;base64,, " />
5+ < link rel ="stylesheet " href ="/assets/reset-zone.regular.css ">
6+ < title > {% block title -%}{{ title }}{%- endblock %} - Skjera</ title >
7+ {% block head %}{% endblock %}
8+ </ head >
9+ < body >
10+ < div id ="content ">
11+ {% block content %}< p > Placeholder content</ p > {% endblock %}
12+ </ div >
13+ </ body >
14+ </ html >
Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
2- < html >
3- < head >
4- < link rel ="icon " href ="data:;base64,, " />
5- < link rel ="stylesheet " href ="/assets/reset-zone.regular.css ">
6- < title > Skjera - {{ employee.name }}</ title >
7- </ head >
8- < body >
1+ {% extends "_base.html" %}
2+
3+ {% block title %}{{ employee.name }}{% endblock %}
4+
5+ {% block content %}
96< h1 > Skjera - {{ employee.name }}</ h1 >
107Date of birth: {{ Self::dob(self) }}
11- </ body >
12- </ html >
8+ {% endblock %}
Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
2- < html >
3- < head >
4- < link rel ="icon " href ="data:;base64,, " />
5- < link rel ="stylesheet " href ="/assets/reset-zone.regular.css ">
6- </ head >
7- < body >
1+ {% extends "_base.html" %}
2+
3+ {% block title %}Skjera?!{% endblock %}
4+
5+ {% block content %}
86{% if let Some(user) = user %}
97< p >
108 Hello {{ user.name }}!
@@ -39,5 +37,4 @@ <h2>Employees</h2>
3937 {% endfor %}
4038</ table >
4139{% endif %}
42- </ body >
43- </ html >
40+ {% endblock %}
Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
2- < html >
3- < head >
4- < link rel =" icon " href =" data:;base64,, " />
5- < link rel =" stylesheet " href =" /assets/reset-zone.regular.css " >
6- < style >
7- tr th {
8- vertical-align : top;
9- }
10- </ style >
11- </ head >
12- < body >
1+ {% extends "_base. html" %}
2+
3+ {% block title %}Edit Profile{% endblock %}
4+ {% block head %}
5+ < style >
6+ tr th {
7+ vertical-align : top;
8+ }
9+ </ style >
10+ {% endblock %}
11+
12+ {% block content %}
1313< h1 > Edit profile</ h1 >
1414< form action ="/me " method ="POST ">
1515< table >
@@ -125,5 +125,4 @@ <h3>Add SoMe Account</h3>
125125</ table >
126126</ form >
127127
128- </ body >
129- </ html >
128+ {% endblock %}
You can’t perform that action at this time.
0 commit comments