summaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0041-build-Allow-PLUGINS-override.patch
blob: acbbc11ca7b49569197ba02a9e9a78fda93a6962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}
{% block content %}
<script>
function edit_resource(pk){
    var csrf = $('input[name="csrfmiddlewaretoken"]').val();
    $.ajax({
        type: "POST",
        url: "/",
        data: { "target": pk, "create": 1, "csrfmiddlewaretoken": csrf},
        beforeSend: function(request)
class="o">="detail_card"> <ul> <li>id: {{resource.id}}</li> <li>name: {{resource.name}}</li> <li>description: {{resource.description}}</li> </ul> <div class="detail_btn_group"> <button style="display: none" class="btn btn-primary" onclick="edit_resource({{resource.id}});">Edit</button> </div> </div> {% endfor %} {% endblock %}