From: Ciro Scognamiglio Date: Thu, 27 Feb 2014 17:52:35 +0000 (+0100) Subject: new layouts X-Git-Tag: myslice-1.1~270 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=04cb74ce02214694d967c9927f75fd684d3797ea;hp=-c;p=myslice.git new layouts --- 04cb74ce02214694d967c9927f75fd684d3797ea diff --git a/portal/templates/layout.html b/portal/templates/layout.html new file mode 100644 index 00000000..41723005 --- /dev/null +++ b/portal/templates/layout.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block base_content %} +
+ {% block content %} + {% endblock %} +
+{% endblock %} diff --git a/portal/templates/layout_wide.html b/portal/templates/layout_wide.html new file mode 100644 index 00000000..f456a0f4 --- /dev/null +++ b/portal/templates/layout_wide.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block base_content %} +
+ {% block content %} + {% endblock %} +
+{% endblock %} diff --git a/ui/static/img/icon_user_small.png b/ui/static/img/icon_user_small.png new file mode 100644 index 00000000..725455ef Binary files /dev/null and b/ui/static/img/icon_user_small.png differ diff --git a/ui/static/img/icon_users_small.png b/ui/static/img/icon_users_small.png new file mode 100644 index 00000000..6cf3888b Binary files /dev/null and b/ui/static/img/icon_users_small.png differ diff --git a/ui/templates/base.html b/ui/templates/base.html index a79c6b49..d11babfe 100644 --- a/ui/templates/base.html +++ b/ui/templates/base.html @@ -1,6 +1,6 @@ {# This is required by insert_above #}{% insert_handler %} -MySlice - {{ title }} +MySlice - {{ section }} {# This is where insert_str will end up #}{% media_container prelude %} @@ -21,19 +21,18 @@ {% insert_str prelude "js/mustache.js" %} {% insert_str prelude "js/plugin.js" %} {% insert_str prelude "js/manifold.js" %} -{% insert_str prelude "js/topmenu.js" %} -{% insert_str prelude "css/layout-unfold.css" %} {% insert_str prelude "css/manifold.css" %} {% insert_str prelude "css/plugin.css" %} - + {% block container %} {% block topmenu %} {% include theme|add:"__widget-topmenu.html" %} {% endblock topmenu %} -{% include 'messages-transient.html' %} - {% block base_content%}{% endblock %} + {% include 'messages-transient.html' %} + {% block base_content %} + {% endblock %} {% endblock container %}