1
0
forked from baron/baron-sso

i18n refresh and frontend fixes

This commit is contained in:
Lectom C Han
2026-02-10 19:15:51 +09:00
parent 2441c64598
commit b6d3b69cda
44 changed files with 8603 additions and 1760 deletions

View File

@@ -1,11 +1,11 @@
import { useParams } from "react-router-dom";
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
import { useState } from "react";
import { useParams } from "react-router-dom";
import {
createIdpConfigForClient,
listIdpConfigsForClient,
} from "../../../lib/devApi";
import type { IdpConfigCreateRequest, IdpConfig } from "../../../lib/devApi";
import { useState } from "react";
import type { IdpConfig, IdpConfigCreateRequest } from "../../../lib/devApi";
// Proper Modal Component with Form
const CreateIdpModal = ({
@@ -185,6 +185,7 @@ export function ClientFederationPage() {
<div className="mb-4">
<button
type="button"
onClick={() => setCreateModalOpen(true)}
className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
>
@@ -244,10 +245,16 @@ export function ClientFederationPage() {
</span>
</td>
<td className="py-2 px-4 border-b">
<button className="text-blue-500 hover:underline mr-2">
<button
type="button"
className="text-blue-500 hover:underline mr-2"
>
Edit
</button>
<button className="text-red-500 hover:underline">
<button
type="button"
className="text-red-500 hover:underline"
>
Delete
</button>
</td>