mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
Top bar functions improvements
* Change Submit layer link into a button * Ensure tools dropdown menu doesn't show on layer submit/edit page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
c2e36cda11
commit
b5074ed2aa
|
@ -186,3 +186,7 @@ padding: 8px;
|
|||
.breadcrumb {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav-spacer {
|
||||
margin-left: 10px;
|
||||
}
|
|
@ -56,7 +56,13 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<ul class="nav pull-right">
|
||||
{% block submitlink %}<li><a href="{% url submit_layer %}">Submit layer</a></li>{% endblock %}
|
||||
<li class="divider-vertical"></li>
|
||||
</ul>
|
||||
{% block topfunctions %}
|
||||
<div class="pull-right nav-spacer">
|
||||
<a class="btn btn-info" href="{% url submit_layer %}">Submit layer</a>
|
||||
</div>
|
||||
<ul class="nav pull-right">
|
||||
{% if user.is_authenticated %}
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
|
@ -68,9 +74,9 @@
|
|||
<li><a href="{% url duplicates 'master' %}">Duplicates</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="divider-vertical"></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div> <!-- end of "container" -->
|
||||
</div> <!-- "end of "navbar-inner" -->
|
||||
</div> <!-- end of "navbar" -->
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
{% block title_append %} - edit layer{% endblock %}
|
||||
-->
|
||||
|
||||
{% block submitlink %}
|
||||
<!-- Remove submit link added by base.html, otherwise clicking it may lose changes -->
|
||||
{% block topfunctions %}
|
||||
<!-- Remove submit link/tools drop-down added by base.html, otherwise clicking it may lose changes -->
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user