Skip to main content
Glama

Controtto

by contre95
newPairForm.html3.12 kB
<form id="pair-form" class="p-5 bg-white dark:bg-neutral-700 w-full divide-y divide-gray-200 border border-neutral-200 rounded-md dark:border-neutral-700 dark:divide-gray-700 animate__animated animate__fadeIn"> <div class="flex flex-wrap -mx-3 mb-6"> <div class="w-full md:w-1/2 px-3 mb-6 md:mb-0"> <label class="block uppercase tracking-wide text-gray-700 dark:text-gray-200 text-xs font-bold mb-2" for="grid-state"> Base </label> <div class="relative"> <select _="on change set x to my.options[my.options.selectedIndex].attributes.atype.value then if x is equal to 'Stock' then remove .hidden from #advice else add .hidden to #advice end" class="block appearance-none w-full bg-gray-200 border border-neutral-200 text-gray-700 dark:text-gray-200 dark:bg-neutral-600 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-neutral-500" name="base"> {{ range .Assets }} <option style="color: {{ .Color }};" atype="{{ .Type }}" value="{{ .Symbol }}">{{ .Symbol }} | {{ .Name }} </option> {{ end }} </select> <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 dark:text-gray-200"> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z" /> </svg> </div> </div> <small id="advice" class="hidden text-red-500 text-xs italic"> Stock markets are usually traded in your local broker currency. </small> </div> <div class="w-full md:w-1/2 px-3"> <label class="block uppercase tracking-wide text-gray-700 dark:text-gray-200 text-xs font-bold mb-2" for="grid-state"> Quote </label> <div class="relative"> <select class="block appearance-none w-full bg-gray-200 border border-neutral-200 text-gray-700 dark:text-gray-200 dark:bg-neutral-600 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-neutral-500" name="quote"> {{ range .Assets }} <option style="color: {{ .Color }};" value="{{ .Symbol }}">{{ .Symbol }} | {{ .Name }}</option> {{ end }} </select> <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 dark:text-gray-200"> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z" /> </svg> </div> </div> </div> </div> <div class="flex border-none"> <button type="button" hx-post="/pairs" hx-include="#pair-form" hx-target="#mitoast" class="px-8 py-2.5 leading-5 text-white transition-colors duration-300 transform bg-gray-700 rounded-md dark:text-gray-800 dark:bg-neutral-200 hover:bg-gray-600 focus:outline-none focus:bg-gray-600"> Create </button> </div> </form>

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/contre95/controtto'

If you have feedback or need assistance with the MCP directory API, please join our Discord server