kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added edit/delete buttons in processing node template
rodzic
fad6fd365a
commit
dc8a15abe2
|
@ -19,6 +19,8 @@
|
|||
color: white;
|
||||
text-decoration: none;
|
||||
background-color: #2c3e50; }
|
||||
#navbar-top ul#side-menu li {
|
||||
word-break: break-word; }
|
||||
#navbar-top .navbar-top-links li a.dropdown-toggle {
|
||||
height: 50px; }
|
||||
#navbar-top .user-profile {
|
||||
|
@ -32,6 +34,8 @@ ul#side-menu.nav a {
|
|||
|
||||
.content {
|
||||
clear: both; }
|
||||
.content h1, .content h2, .content h3, .content h4, .content h5 {
|
||||
padding-top: 4px; }
|
||||
|
||||
.top-buffer {
|
||||
margin-top: 15px; }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": 3,
|
||||
"mappings": "AAAA,WAAW;EACP,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,IAAI;EAChB,gBAAgB,EAAE,OAAO;EAEzB,yBAAa;IACT,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,GAAG;EAEhB,wBAAY;IACR,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,GAAG;EAGpB,8BAAkB;IACd,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;EAIrB,+CAAiB;IACb,KAAK,EAAE,KAAK;EAGhB,qHAAyB;IACrB,gBAAgB,EAAE,OAAO;EAM7B,kEAAgB;IACZ,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,OAAO;EAIjC,kDAAsC;IAClC,MAAM,EAAE,IAAI;EAGhB,yBAAa;IACT,OAAO,EAAE,KAAK;IAEd,gCAAM;MACF,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;;AAMnB,kBAAC;EACG,KAAK,EAAE,IAAI;;AAInB,QAAQ;EACJ,KAAK,EAAE,IAAI;;AAGf,WAAY;EACR,UAAU,EAAE,IAAI;;AAGpB,eAAe;EACX,gBAAgB,EAAE,KAAK;;AAG3B,MAAM;EACF,aAAa,EAAE,IAAI;;AAInB,yCAAc;EACV,WAAW,EAAE,IAAI",
|
||||
"mappings": "AAAA,WAAW;EACP,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,IAAI;EAChB,gBAAgB,EAAE,OAAO;EAEzB,yBAAa;IACT,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,GAAG;EAEhB,wBAAY;IACR,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,GAAG;EAGpB,8BAAkB;IACd,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;EAIrB,+CAAiB;IACb,KAAK,EAAE,KAAK;EAGhB,qHAAyB;IACrB,gBAAgB,EAAE,OAAO;EAM7B,kEAAgB;IACZ,KAAK,EAAE,KAAK;IACZ,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,OAAO;EAG7B,2BAAE;IACE,UAAU,EAAE,UAAU;EAI9B,kDAAsC;IAClC,MAAM,EAAE,IAAI;EAGhB,yBAAa;IACT,OAAO,EAAE,KAAK;IAEd,gCAAM;MACF,SAAS,EAAE,GAAG;MACd,KAAK,EAAE,IAAI;;AAMnB,kBAAC;EACG,KAAK,EAAE,IAAI;;AAInB,QAAQ;EACJ,KAAK,EAAE,IAAI;EACX,+DAAc;IACV,WAAW,EAAE,GAAG;;AAIxB,WAAY;EACR,UAAU,EAAE,IAAI;;AAGpB,eAAe;EACX,gBAAgB,EAAE,KAAK;;AAG3B,MAAM;EACF,aAAa,EAAE,IAAI;;AAInB,yCAAc;EACV,WAAW,EAAE,IAAI",
|
||||
"sources": ["main.scss"],
|
||||
"names": [],
|
||||
"file": "main.css"
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
text-decoration: none;
|
||||
background-color: #2c3e50;
|
||||
}
|
||||
|
||||
li{
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-top-links li a.dropdown-toggle{
|
||||
|
@ -58,6 +62,9 @@ ul#side-menu.nav{
|
|||
|
||||
.content{
|
||||
clear: both;
|
||||
h1,h2,h3,h4,h5{
|
||||
padding-top: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.top-buffer {
|
||||
|
|
|
@ -29,6 +29,12 @@
|
|||
<td><div id="processing_node_json"></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
{% if user.is_superuser %}
|
||||
<div class="text-center">
|
||||
<button class="btn btn-default" onclick="location.href='{% url "admin:nodeodm_processingnode_change" processing_node.id %}';"><span class="glyphicon glyphicon-pencil"></span> {% trans "Edit" %}</button>
|
||||
<button class="btn btn-danger" onclick="location.href='{% url "admin:nodeodm_processingnode_delete" processing_node.id %}';"><span class="glyphicon glyphicon-trash"></span> {% trans "Delete" %}</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
<script>
|
||||
$(function(){
|
||||
// TODO: we'll need a prettier console library to display stuff like
|
||||
|
|
Ładowanie…
Reference in New Issue