|
|
@ -330,22 +330,6 @@ export function Header() { |
|
|
/> |
|
|
/> |
|
|
</svg> |
|
|
</svg> |
|
|
</button> |
|
|
</button> |
|
|
<button |
|
|
|
|
|
onClick={() => setShowWorkflowSaveModal(true)} |
|
|
|
|
|
className="p-1.5 text-neutral-400 hover:text-neutral-200 hover:bg-neutral-800 rounded transition-colors" |
|
|
|
|
|
title={t("header.saveWorkflow")} |
|
|
|
|
|
> |
|
|
|
|
|
<svg |
|
|
|
|
|
className="w-4 h-4" |
|
|
|
|
|
fill="none" |
|
|
|
|
|
viewBox="0 0 24 24" |
|
|
|
|
|
stroke="currentColor" |
|
|
|
|
|
strokeWidth={1.7} |
|
|
|
|
|
> |
|
|
|
|
|
<path strokeLinecap="round" strokeLinejoin="round" d="M12 16.5V4.5m0 0-4 4m4-4 4 4" /> |
|
|
|
|
|
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 14.25v3.75A1.5 1.5 0 0 0 6 19.5h12a1.5 1.5 0 0 0 1.5-1.5v-3.75" /> |
|
|
|
|
|
</svg> |
|
|
|
|
|
</button> |
|
|
|
|
|
{saveDirectoryPath && !isBrowserFileSystemPath(saveDirectoryPath) && ( |
|
|
{saveDirectoryPath && !isBrowserFileSystemPath(saveDirectoryPath) && ( |
|
|
<button |
|
|
<button |
|
|
onClick={handleOpenDirectory} |
|
|
onClick={handleOpenDirectory} |
|
|
@ -367,25 +351,6 @@ export function Header() { |
|
|
</svg> |
|
|
</svg> |
|
|
</button> |
|
|
</button> |
|
|
)} |
|
|
)} |
|
|
<button |
|
|
|
|
|
onClick={handleOpenFile} |
|
|
|
|
|
className="p-1.5 text-neutral-400 hover:text-neutral-200 hover:bg-neutral-800 rounded transition-colors" |
|
|
|
|
|
title={t("header.openProject")} |
|
|
|
|
|
> |
|
|
|
|
|
<svg |
|
|
|
|
|
className="w-4 h-4" |
|
|
|
|
|
fill="none" |
|
|
|
|
|
viewBox="0 0 24 24" |
|
|
|
|
|
stroke="currentColor" |
|
|
|
|
|
strokeWidth={2} |
|
|
|
|
|
> |
|
|
|
|
|
<path |
|
|
|
|
|
strokeLinecap="round" |
|
|
|
|
|
strokeLinejoin="round" |
|
|
|
|
|
d="M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z" |
|
|
|
|
|
/> |
|
|
|
|
|
</svg> |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
{settingsButtons} |
|
|
{settingsButtons} |
|
|
@ -416,41 +381,6 @@ export function Header() { |
|
|
/> |
|
|
/> |
|
|
</svg> |
|
|
</svg> |
|
|
</button> |
|
|
</button> |
|
|
<button |
|
|
|
|
|
onClick={() => setShowWorkflowSaveModal(true)} |
|
|
|
|
|
className="p-1.5 text-neutral-400 hover:text-neutral-200 hover:bg-neutral-800 rounded transition-colors" |
|
|
|
|
|
title={t("header.saveWorkflow")} |
|
|
|
|
|
> |
|
|
|
|
|
<svg |
|
|
|
|
|
className="w-4 h-4" |
|
|
|
|
|
fill="none" |
|
|
|
|
|
viewBox="0 0 24 24" |
|
|
|
|
|
stroke="currentColor" |
|
|
|
|
|
strokeWidth={1.7} |
|
|
|
|
|
> |
|
|
|
|
|
<path strokeLinecap="round" strokeLinejoin="round" d="M12 16.5V4.5m0 0-4 4m4-4 4 4" /> |
|
|
|
|
|
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 14.25v3.75A1.5 1.5 0 0 0 6 19.5h12a1.5 1.5 0 0 0 1.5-1.5v-3.75" /> |
|
|
|
|
|
</svg> |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
onClick={handleOpenFile} |
|
|
|
|
|
className="p-1.5 text-neutral-400 hover:text-neutral-200 hover:bg-neutral-800 rounded transition-colors" |
|
|
|
|
|
title={t("header.openProject")} |
|
|
|
|
|
> |
|
|
|
|
|
<svg |
|
|
|
|
|
className="w-4 h-4" |
|
|
|
|
|
fill="none" |
|
|
|
|
|
viewBox="0 0 24 24" |
|
|
|
|
|
stroke="currentColor" |
|
|
|
|
|
strokeWidth={2} |
|
|
|
|
|
> |
|
|
|
|
|
<path |
|
|
|
|
|
strokeLinecap="round" |
|
|
|
|
|
strokeLinejoin="round" |
|
|
|
|
|
d="M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z" |
|
|
|
|
|
/> |
|
|
|
|
|
</svg> |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
{settingsButtons} |
|
|
{settingsButtons} |
|
|
|