Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

6.9 KB
Raw Blame
<div class="flex justify-center items-center h-screen hidden" id="editValuesDialogTpl">
    <div>
        <!-- Modal Overlay -->
        <div class="fixed inset-0 px-2 z-[11] overflow-hidden flex items-center justify-center">
            <div
                class="__overlay absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity ease-out duration-300 opacity-25">
            </div>
            <!-- Modal Content -->
            <div class="__dialog smyth-dialog p-2 bg-white shadow-xl max-w-2xl w-full max-h-screen z-50 transition-all ease-out duration-300 transform scale-0 border-solid border-white rounded-xl overflow-y-auto scroll-smooth">
                <!-- Modal Header -->
                <div class="text-[#1e1e1e] pt-4 px-4 flex justify-between">
                    <h2 class="__title text-xl font-semibold"></h2>


                    <button class="__btnClose w-8 h-8 p-2 hover:bg-gray-100 rounded-lg transition-colors duration-200 focus:outline-none -mr-2 -mt-2" aria-label="Close modal">
                        <svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path
                                d="M20.7457 3.32851C20.3552 2.93798 19.722 2.93798 19.3315 3.32851L12.0371 10.6229L4.74275 3.32851C4.35223 2.93798 3.71906 2.93798 3.32854 3.32851C2.93801 3.71903 2.93801 4.3522 3.32854 4.74272L10.6229 12.0371L3.32856 19.3314C2.93803 19.722 2.93803 20.3551 3.32856 20.7457C3.71908 21.1362 4.35225 21.1362 4.74277 20.7457L12.0371 13.4513L19.3315 20.7457C19.722 21.1362 20.3552 21.1362 20.7457 20.7457C21.1362 20.3551 21.1362 19.722 20.7457 19.3315L13.4513 12.0371L20.7457 4.74272C21.1362 4.3522 21.1362 3.71903 20.7457 3.32851Z"
                                fill="#0F0F0F"
                            />
                        </svg>
                    </button>

                </div>
                <!-- Modal Body -->
                <div class="__content">
                </div>
                <!-- Modal Footer -->
                <div class="__actions px-4 pb-4 flex justify-end space-x-2">
                    <!-- <button
                        class="__btnCancel px-3 py-1 bg-gray-400 text-white transition-opacity rounded-md w-full sm:w-auto hover:opacity-75">
                        Cancel </button>
                    <button
                        class="__btnAccept px-3 py-1 bg-emerald-500 text-white transition-opacity rounded-md w-full sm:w-auto hover:opacity-75">
                        Save </button> -->
                </div>
            </div>
        </div>
    </div>
</div>


<div data-role="dialog" class="dialog smyth-dialog shadow-on bg-white rounded-md shadow dark:bg-gray-700"
    data-width="600" id="smyth-dialog" data-overlay="false">
    <div class="dialog-title flex items-start justify-between px-2 py-0 border-b rounded-t dark:border-gray-600">Dialog
        Title</div>
    <div class="dialog-content px-2 py-3 max-h-[60vh] overflow-y-auto">Dialog Content</div>
    <div class="dialog-actions flex space-x-4 justify-center items-center py-4">
        <button
            class="text-gray-700 text-center text-sm font-medium py-2 px-3 w-40 rounded-lg border border-gray-700 hover:opacity-75 focus:ring-4 focus:outline-none js-dialog-close btn-cancel">
            Cancel
        </button>

        <button
            class="text-white text-center text-sm font-medium py-2 px-3 w-40 bg-smyth-emerald-400 rounded-lg border border-smyth-emerald-400 hover:opacity-75 focus:ring-4 focus:outline-none btn-submit">
            Save
        </button>
    </div>
</div>

<div class="flex justify-center items-center h-screen hidden" id="tweditValuesDialogTpl">
    <div>
        <!-- Modal Overlay -->
        <div class="fixed inset-0 px-2 z-[11] overflow-hidden flex items-center justify-center">
            <div class="__overlay absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity ease-out duration-300 opacity-25"></div>
            <!-- Modal Content -->
            <div class="__dialog smyth-dialog bg-white rounded-xl shadow-xl max-w-2xl min-w-[550px] p-2 z-50 transition-all ease-out duration-300 transform scale-0 border-solid border-white border-2 max-h-screen overflow-y-auto scroll-smooth"">
                <!-- Modal Header -->
                <div class="bg-white text-[#1E1E1E] px-4 py-2 flex justify-between items-center">
                    <h2 class="__title text-xl font-semibold"></h2>
                    <button class="__btnClose p-2 hover:bg-gray-100 rounded-lg transition-colors duration-200 focus:outline-none" aria-label="Close modal">
                        <svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                            <path
                                d="M20.7457 3.32851C20.3552 2.93798 19.722 2.93798 19.3315 3.32851L12.0371 10.6229L4.74275 3.32851C4.35223 2.93798 3.71906 2.93798 3.32854 3.32851C2.93801 3.71903 2.93801 4.3522 3.32854 4.74272L10.6229 12.0371L3.32856 19.3314C2.93803 19.722 2.93803 20.3551 3.32856 20.7457C3.71908 21.1362 4.35225 21.1362 4.74277 20.7457L12.0371 13.4513L19.3315 20.7457C19.722 21.1362 20.3552 21.1362 20.7457 20.7457C21.1362 20.3551 21.1362 19.722 20.7457 19.3315L13.4513 12.0371L20.7457 4.74272C21.1362 4.3522 21.1362 3.71903 20.7457 3.32851Z"
                                fill="#0F0F0F"
                            />
                        </svg>
                    </button>
                </div>
                <!-- Modal Body -->
                <div class="__content max-h-[60vh] overflow-y-auto scroll-smooth px-4">
                </div>
                <!-- Modal Footer -->
                <div class="__actions px-4 py-2 flex justify-center">
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 
  Note: Flowbite tooltips require static HTML elements to function properly.
  Dynamic tooltips created via JavaScript will not work correctly.
  This tooltip must be defined in the HTML template directly.
-->
<div
    href="#"
    class="inline-block align-text-bottom ml-2 hidden"
    id="add-skill-input-info-icon"
    data-tooltip-target="add-skill-input-info-tooltip"
    data-tooltip-placement="top"
>
    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
        <path d="M3 12C3 16.9699 7.02908 21 12 21C16.9709 21 21 16.9699 21 12C21 7.02908 16.9709 3 12 3C7.02908 3 3 7.02908 3 12Z" stroke="#757575" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
        <path d="M12.0057 15.6932V11.3936M12 8.35426V8.29102" stroke="#757575" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
    </svg>
</div>

<div
    id="add-skill-input-info-tooltip"
    role="tooltip"
    class="absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-950 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700 w-64"
>
A skill input, also known as an API endpoint parameter, is an input provided to your agent skill that you will use in your workflow.
</div>