Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sandbox UI/UX #5205

Merged
merged 3 commits into from Oct 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 28 additions & 5 deletions sandbox/client.html
@@ -1,19 +1,39 @@
<!doctype html>
<html>
<head>
<title>axios</title>
<title>AXIOS | Sandbox</title>
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"/>
<style type="text/css">
pre {
min-height: 39px;
overflow: auto;
}
.header{
display: flex;
flex-direction: row;
}
.box{
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 25px;
}
@media screen and (max-width: 1000px) {
.box {
grid-template-columns: 1fr;
}
}

</style>
</head>
<body class="container">
<h1>axios</h1>

<div class="well">
<div class="header">
<img src="https://axios-http.com/assets/logo.svg" alt="axios" width="130" height="60">

<h1> &nbsp;| Sandbox</h1>
</div>

<div class="box">
<div class="well">
<h3>Input</h3>
<form role="form" onsubmit="return false;">
<div class="form-group">
Expand Down Expand Up @@ -47,7 +67,8 @@ <h3>Input</h3>
</form>
</div>

<div class="well">
<div class="response">
<div class="well">
<h3>Request</h3>
<pre id="request">No Data</pre>
</div>
Expand All @@ -61,6 +82,8 @@ <h3>Response</h3>
<h3>Error</h3>
<pre id="error">None</pre>
</div>
</div>
</div>

<script src="/axios.js"></script>
<script>
Expand Down