diff --git a/swh/web/templates/content.html b/swh/web/templates/content.html index 32225f1c..193871f1 100644 --- a/swh/web/templates/content.html +++ b/swh/web/templates/content.html @@ -1,41 +1,126 @@ {% extends "browse.html" %} {% load static %} {% block header %} {% endblock %} {% block swh-browse-main-panel-content %} {% include "includes/top-navigation.html" %}
{% if "inode/x-empty" == mimetype %} File is empty {% elif "text/" in mimetype %}
     {{ content }}
   
{% elif "image/" in mimetype and content %} {% else %} Content with mime type {{ mimetype }} can not be displayed {% endif %}
{% endblock %} diff --git a/swh/web/templates/layout.html b/swh/web/templates/layout.html index 7e97ead2..54ad9ff0 100644 --- a/swh/web/templates/layout.html +++ b/swh/web/templates/layout.html @@ -1,79 +1,81 @@ {% load static %} {% block title %}{% endblock %} + + {% block header %}{% endblock %} - +
{% block content %}{% endblock %}
back to top