Commit 67bf3744 by Oláh István Gergely

dashboard: fix css menu, changing node status

parent 399b45f6
......@@ -263,3 +263,32 @@ a.hover-black {
.font-awesome-font {
font-family: "FontAwesome";
}
.dropdown-menu
{
position:absolute;
display:none;
z-index: 1;
}
.dropdown-toggle:focus + .dropdown-menu
{
display: block;
}
.dropdown-toggle:focus
{
outline:none;
}
.dropdown-menu:hover{
display: block;
}
......@@ -18,7 +18,6 @@
<script src="{{ STATIC_URL}}dashboard/bootstrap-slider/bootstrap-slider.js"></script>
<link rel="stylesheet" href="{{ STATIC_URL }}dashboard/bootstrap-slider/slider.css"/>
<link href="{{ STATIC_URL }}dashboard/dashboard.css" rel="stylesheet">
<link href="{{ STATIC_URL }}dashboard/node.css" rel="stylesheet">
<script src="{{ STATIC_URL }}dashboard/dashboard.js"></script>
</head>
......
{% extends "dashboard/base.html" %}
{% load i18n %}
{% block content %}
<div class="body-content">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="no-margin">
{% if title %}
{{ title }}
{% else %}
Status changing confirmation
{% endif %}
</h3>
</div>
<div class="panel-body">
{% if text %}
{{ text }}
{% else %}
{%blocktrans with object=object%}
Are you sure you want to change <strong>{{ object }}</strong> status?
{%endblocktrans%}
{% endif %}
<div class="pull-right">
<form action="" method="POST">
{% csrf_token %}
<a class="btn btn-default">Back</a>
<input type="hidden" name="new_status" value="{{ status }}"/>
<button class="btn btn-warning">Yes, {{ status }}</button>
</form>
</div>
</div>
</div>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment