<commit_before><%inherit file="base.mako"/>
<%def name="title()">Project Settings</%def>
<%def name="content()">
<div mod-meta='{"tpl": "project/base.mako", "replace": true}'></div>

<!-- Delete node -->
<button id="delete-node" class="btn primary">Delete ${node_category}</button>
<script type="text/javascript">
    $('#delete-node').on('click', function() {
        bootbox.prompt(
            '<div>Delete this ${node_category} and all non-project children</div>' +
                '<div style="font-weight: normal; font-size: medium; line-height: normal;">If you want to continue, type the project title below and click OK</div>',
            function(result) {
                if (result === '${node_title}') {
                    window.location.href = '${node_url}remove/';
                }
            }
        )
    });
</script>

##<!-- Show API key settings -->
##<div mod-meta='{
##        "tpl": "util/render_keys.mako",
##        "uri": "${node_api_url}keys/",
##        "replace": true,
##        "kwargs": {
##            "route": "${node_url}"
##        }
##    }'></div>
</%def><commit_msg>Button styling for delete project<commit_after><%inherit file="base.mako"/>
<%def name="title()">Project Settings</%def>
<%def name="content()">
<div mod-meta='{"tpl": "project/base.mako", "replace": true}'></div>

<!-- Delete node -->
<button id="delete-node" class="btn btn-danger">Delete ${node_category}</button>
<script type="text/javascript">
    $('#delete-node').on('click', function() {
        bootbox.prompt(
            '<div>Delete this ${node_category} and all non-project children? This is IRREVERSIBLE.</div>' +
                '<div style="font-weight: normal; font-size: medium; line-height: normal;">If you want to continue, type the project title below and click OK</div>',
            function(result) {
                if (result === '${node_title}') {
                    window.location.href = '${node_url}remove/';
                }
            }
        )
    });
</script>

##<!-- Show API key settings -->
##<div mod-meta='{
##        "tpl": "util/render_keys.mako",
##        "uri": "${node_api_url}keys/",
##        "replace": true,
##        "kwargs": {
##            "route": "${node_url}"
##        }
##    }'></div>
</%def>
{'fraction_non_alphanumeric': 0.21208112874779542, 'fraction_numerical': 0.0, 'mean_word_length': 2.578864353312303, 'pattern_counts': {'":': 14, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7575653', 'n_tokens_mistral': 699, 'n_tokens_neox': 684, 'n_words': 154}