-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add experimental support for ajax endpoints
- Loading branch information
1 parent
1833756
commit 7db7970
Showing
2 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>RockFrontend AJAX Debugger</title> | ||
<link rel="stylesheet" type="text/css" href="{$config->versionUrl('/wire/modules/AdminTheme/AdminThemeUikit/uikit/dist/css/uikit.min.css')}" /> | ||
<script type="text/javascript" src="{$config->versionUrl('/wire/modules/AdminTheme/AdminThemeUikit/uikit/dist/js/uikit.min.js')}"></script> | ||
<script type="text/javascript" src="{$rockfrontend->getLiveReloadFile(true)}"></script> | ||
</head> | ||
|
||
<body> | ||
<section class="uk-section-small uk-container"> | ||
<div class="uk-alert"> | ||
<p>Endpoint: <strong>{$endpoint}</strong></p> | ||
</div> | ||
<div class="uk-alert"> | ||
<div class="uk-text-bold">Raw response:</div> | ||
<div class="uk-margin-small uk-background-default">{$response|noescape}</div> | ||
</div> | ||
<div class="uk-alert"> | ||
<div class="uk-text-bold">Formatted response:</div> | ||
<div class="uk-margin-small uk-background-default"> | ||
<pre class="tracy-dump" style="max-height:500px;">{$formatted}</pre> | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
|
||
</html> |