Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
requested changes made: renamed to 'Import cURL' and moved the html code inside a pw-section
Nityananda Gohain1038b4b349bc
diff --git a/pages/index.vue b/pages/index.vueindex bab8dd41d..bb528a758 100644--- a/pages/index.vue+++ b/pages/index.vue@@ -1,10 +1,10 @@<template><div class="page">- <pw-section class="blue" label="Request" ref="request">+ <pw-section class="blue" label="Import" ref="import"><button id="show-modal" @click="showModal = true">IMPORT</button><import-modal v-if="showModal" @close="showModal = false"><div slot="header">- <h2>IMPORT CURL</h2>+ <h2>Import cURL</h2></div><div slot="body"><textarea id="import-text" style="height:20rem">@@ -14,6 +14,8 @@<button class="modal-default-button" @click="handleImport">OK</button></div></import-modal>+ </pw-section>+ <pw-section class="blue" label="Request" ref="request"><ul><li><label for="method">Method</label>