Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions base/templates/base/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,20 @@
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="{% url 'dataedit:topic-list' %}">Database</a>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle"
href="#"
id="navbarDropdownDatabase"
role="button"
data-bs-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">Database</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownDatabase">
<a class="dropdown-item" href="{% url 'dataedit:topic-list' %}">Database</a>
<a class="dropdown-item" href="{% url 'dataedit:wizard_create' %}">
Add dataset
</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle"
Expand Down
11 changes: 4 additions & 7 deletions base/templates/base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h3>Open Energy Platform</h3>
<img src="{% static 'img/welcome/OpenEnergyFamily_Logo_OpenEnergyDatabase_icon.svg' %}"
alt="OEDB" />
{% comment %}
<a role="button" class="btn btn-primary" href="{% url 'dataedit:topic-list' %}">Database</a>
<a role="button" class="btn btn-primary" href="{% url 'dataedit:topic-list' %}">Database</a>
{% endcomment %}
<div class="inner-index-tile">
<div class="panel-description">
Expand Down Expand Up @@ -61,15 +61,11 @@ <h2>Scenario Bundles</h2>
style="font-size: 16px"
href="{% url 'factsheet:factsheets_index' %}">Scenario Bundles</a>
</div>
{# <div class="index-tile index-tile-colored index-tile-color-3">#}
{# <img src="{% static 'img/welcome/bundles.png' %}" alt="">#}
{# <a role="button" class="btn btn-primary" href="{{ EXTERNAL_URLS.github_openenergyplatform_oeplatform_issues_568 }}">Bundles</a>#}
{# </div>#}
<div class="index-tile index-tile-colored index-tile-color-3">
<img src="{% static 'img/welcome/OpenEnergyFamily_Logo_OpenEnergyOntology_icon.svg' %}"
alt="OEO" />
{% comment %}
<a role="button" class="btn btn-primary" href="{% url 'ontology:index' %}">Ontology</a>
<a role="button" class="btn btn-primary" href="{% url 'ontology:index' %}">Ontology</a>
{% endcomment %}
<div class="inner-index-tile">
<div class="panel-description">
Expand Down Expand Up @@ -141,7 +137,8 @@ <h2>Academy</h2>
</span>
<a role="button"
class="btn btn-primary btn-sm"
href="{{ EXTERNAL_URLSgithub_openenergyplatform }}">Learn more</a>
href="{{ EXTERNAL_URLSgithub_openenergyplatform }}">Learn
more</a>
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions dataedit/templates/dataedit/dataedit_topiclist.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,9 @@ <h1 class="main-header__title">
{% endfor %}
</div>
</div>
<script type="text/javascript">
function open_wizzard() {
location.href = "{% url 'dataedit:wizard_create' %}";
}
</script>
{% endblock %}
3 changes: 3 additions & 0 deletions versions/changelogs/current.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ SPDX-License-Identifier: CC0-1.0
percentage and auto-select and -scroll to next field.
[(#2342)](https://github.com/OpenEnergyPlatform/oeplatform/pull/2342)

- Fix "Add data set" button in database section
[(#2359)](https://github.com/OpenEnergyPlatform/oeplatform/pull/2359)

## Documentation updates

- Updated the OE Family Steering Committee
Expand Down
Loading