Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
direct.html53 linesDownload Raw Back to debugger
1{% extends "base.html" %}2{% block title %}{{ _('Debugger - ') + title }}{% endblock %}3{% block init_script %}4 5try {6  require(7    ['sources/generated/debugger', 'sources/pgadmin'],8    function(pgDirectDebug, pgAdmin) {9      var pgDebug = window.pgAdmin.Tools.Debugger;10      pgDebug.load(document.getElementById('debugger-main-container'), {{ uniqueId }}, {{ debug_type }}, '{{ function_name_with_arguments }}', '{{layout|safe}}');11    },12    function() {13      console.log(arguments);14    });15} catch (err) {16  console.log(err);17}18{% endblock %}19{% block body %}20<style>21    #debugger-main-container {22        display: flex;23        flex-direction: column;24        height: 100%;25    }26 27    #debugger-main-container:not(:empty) + .pg-sp-container {28        display: none;29    }30</style>31{% if is_desktop_mode and is_linux %}32<style>33    body34</style>35{% endif %}36<div id="debugger-main-container" tabindex="0">37    <div class="pg-sp-container">38        <div class="pg-sp-content">39            <div class="row">40                <div class="col-12 pg-sp-icon"></div>41            </div>42        </div>43    </div>44</div>45{% endblock %}46 47{% block css_link %}48{% for stylesheet in stylesheets %}49<link type="text/css" rel="stylesheet" href="{{ stylesheet }}"/>50{% endfor %}51<link type="text/css" rel="stylesheet" href="{{ url_for('browser.browser_css')}}"/>52{% endblock %}53 
codekingpro/portable-devtools · Team Ai