Skip to content

Commit b29bd2f

Browse files
committed
fix breadcrumb and docs links
1 parent c28169f commit b29bd2f

File tree

4 files changed

+53
-18
lines changed

4 files changed

+53
-18
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ChangeLog
22
===========================
33
PLEASE NOTE THIS IS ONLY A BETA RELEASE. THE OPENNPL API IS STILL UNSTABLE
44

5-
v0.7.0 (09-06-2025)
5+
v0.7.0 (XXX)
66
-------------------
77
* Avro Schemas
88

openNPL/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343

4444

4545
urlpatterns = [
46-
path('admin/', admin.site.urls),
4746
path('admin/doc/', include('django.contrib.admindocs.urls')), #
47+
path('admin/', admin.site.urls),
4848
path('', include('start.urls')), # start URLS
4949
path(r'api/', api_root, name='api_root'), # Overall API root
5050
# NPL Data URL's

start/static/start/css/styling.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,36 @@ div#grp-branding {
1111

1212
#grp-navigation {
1313
background-image: linear-gradient(#7d7d7d, #222);
14+
}
15+
16+
.breadcrumb {
17+
padding: 0.5rem;
18+
background-color: #f9f9f9;
19+
border: 1px solid #ddd;
20+
}
21+
22+
.breadcrumb ul {
23+
display: flex;
24+
list-style-type: none;
25+
margin: 0;
26+
padding: 0;
27+
}
28+
29+
.breadcrumb li {
30+
margin-right: 0.5rem;
31+
}
32+
33+
.breadcrumb li:not(:last-child)::after {
34+
content: ">";
35+
margin-left: 0.5rem;
36+
margin-right: 0.5rem;
37+
}
38+
39+
.breadcrumb a {
40+
text-decoration: none;
41+
color: #007bff;
42+
}
43+
44+
.breadcrumb a:hover {
45+
text-decoration: underline;
1446
}

start/templates/start/front.html

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@
1313
{% endblock %}
1414

1515
{% block breadcrumbs %}
16-
<ul>
17-
<li><a href="/admin">Home</a></li>
18-
<li>FrontPage</li>
19-
</ul>
16+
<div class="breadcrumb">
17+
<ul>
18+
<li><a href="/admin">Home</a></li>
19+
<li>FrontPage</li>
20+
</ul>
21+
</div>
22+
2023
{% endblock %}
2124

2225

@@ -28,9 +31,8 @@ <h3>Welcome to openNPL</h3>
2831
</div>
2932
<div class="card-body">
3033
<p>
31-
openNPL is an open source platform for the management of non-performing loans. It implements detailed European Banking Authority and US Fannie Mae (Data Dynamics) loan templates for NPL data. Click on <a href="/admin">Home</a>to get started!
34+
<b>openNPL</b> is an open source platform for the management of non-performing loans. It implements both detailed European Banking Authority and US Fannie Mae (Data Dynamics) loan templates for NPL data. Click on <a href="/admin">Home</a> to get started!
3235
</p>
33-
3436
</div>
3537
</div>
3638

@@ -39,7 +41,8 @@ <h3>Welcome to openNPL</h3>
3941
<h3>The challenge of Non-Performing Loans</h3>
4042
</div>
4143
<div class="card-body">
42-
<p>Non-Performing loans is a serious and ongoing issue that affects many economies. Developing tools and methodologies that will reduce the burden and improve the ability to manage problem loans is thus an important objective. For more background and previous work see the <a href="https://www.openriskmanagement.com/opennpl-open-source-npl-platform-first-release/">Open Risk Blog Post</a>.</p>
44+
<p>Non-Performing loans is a serious and ongoing issue that affects many economies. Developing open source tools and methodologies that will reduce the burden and improve the ability to manage problem loans is thus an important objective. For more background and previous work see the <a href="https://www.openriskmanagement.com/opennpl-open-source-npl-platform-first-release/">Open
45+
Risk Blog Post</a>.</p>
4346
</div>
4447
</div>
4548

@@ -65,18 +68,18 @@ <h2>What exactly is openNPL?</h2>
6568

6669
<tbody>
6770
<tr>
68-
<td>A user can log-in into the application with their credentials</td>
71+
<td>A user can log-in into the application with their credentials.</td>
6972
</tr>
7073
<tr>
7174
<td>Inspect the available data sets (tables or relations) that capture the EBA Template
72-
recommendations
75+
recommendations.
7376
</td>
7477
</tr>
7578
<tr>
76-
<td>Insert, Update or Delete records (e.g. new counterparty or loan data)</td>
79+
<td>Insert, Update or Delete records (e.g. new counterparty or loan data).</td>
7780
</tr>
7881
<tr>
79-
<td>Consult the documentation as to the meaning and requirements of each data element</td>
82+
<td>Consult the documentation as to the meaning and requirements of each data element.</td>
8083
</tr>
8184
</tbody>
8285
</table>
@@ -90,10 +93,10 @@ <h2>What exactly is openNPL?</h2>
9093

9194
<tbody>
9295
<tr>
93-
<td>An administrator can create users and user groups and assign permissions</td>
96+
<td>An administrator can create users and user groups and assign permissions.</td>
9497
</tr>
9598
<tr>
96-
<td>Perform bulk insertion or deletion of data sets</td>
99+
<td>Perform bulk insertion or deletion of data sets.</td>
97100
</tr>
98101
</tbody>
99102
</table>
@@ -107,10 +110,10 @@ <h2>What exactly is openNPL?</h2>
107110

108111
<tbody>
109112
<tr>
110-
<td>openNPL is based on the well known and loved Python web framework Django</td>
113+
<td>openNPL is based on the well known and loved Python web framework Django.</td>
111114
</tr>
112115
<tr>
113-
<td>Developers can customize and adapt the platform in unlimited ways</td>
116+
<td>Developers can customize and adapt the platform in unlimited ways.</td>
114117
</tr>
115118
</tbody>
116119
</table>
@@ -128,6 +131,6 @@ <h2>Join the openNPL community</h2>
128131
</p>
129132
</div>
130133
</div>
131-
134+
132135

133136
{% endblock %}

0 commit comments

Comments
 (0)