增加团队管理页面
This commit is contained in:
parent
1886b51d18
commit
6eb4743176
@ -549,7 +549,7 @@ const GitManager: React.FC = () => {
|
|||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<div className="flex flex-col h-full p-6 space-y-4">
|
<div className="flex flex-col h-full p-6 space-y-4">
|
||||||
{/* 顶部标题栏 */}
|
{/* 顶部标题栏 */}
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between flex-shrink-0">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-3xl font-bold">Git 仓库管理</h1>
|
<h1 className="text-3xl font-bold">Git 仓库管理</h1>
|
||||||
<p className="text-sm text-muted-foreground mt-1">
|
<p className="text-sm text-muted-foreground mt-1">
|
||||||
@ -589,7 +589,7 @@ const GitManager: React.FC = () => {
|
|||||||
|
|
||||||
{/* 统计卡片 */}
|
{/* 统计卡片 */}
|
||||||
{statistics && (
|
{statistics && (
|
||||||
<div className="grid grid-cols-3 gap-4">
|
<div className="grid grid-cols-3 gap-4 flex-shrink-0">
|
||||||
<Card className="border-l-4 border-l-blue-500">
|
<Card className="border-l-4 border-l-blue-500">
|
||||||
<CardHeader className="flex flex-row items-center justify-between pb-2">
|
<CardHeader className="flex flex-row items-center justify-between pb-2">
|
||||||
<CardTitle className="text-sm font-medium">仓库组</CardTitle>
|
<CardTitle className="text-sm font-medium">仓库组</CardTitle>
|
||||||
@ -621,10 +621,10 @@ const GitManager: React.FC = () => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* 三栏布局 */}
|
{/* 三栏布局 */}
|
||||||
<div className="flex-1 grid grid-cols-12 gap-4 min-h-0">
|
<div className="flex-1 grid grid-cols-12 gap-4 min-h-0 overflow-hidden">
|
||||||
{/* 左栏:仓库组树 */}
|
{/* 左栏:仓库组树 */}
|
||||||
<Card className="col-span-3 flex flex-col">
|
<Card className="col-span-3 flex flex-col min-h-0">
|
||||||
<CardHeader className="border-b">
|
<CardHeader className="border-b flex-shrink-0">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<CardTitle className="text-base">仓库组</CardTitle>
|
<CardTitle className="text-base">仓库组</CardTitle>
|
||||||
<Button
|
<Button
|
||||||
@ -668,8 +668,8 @@ const GitManager: React.FC = () => {
|
|||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
{/* 中栏:项目列表 */}
|
{/* 中栏:项目列表 */}
|
||||||
<Card className="col-span-5 flex flex-col">
|
<Card className="col-span-5 flex flex-col min-h-0">
|
||||||
<CardHeader className="border-b">
|
<CardHeader className="border-b flex-shrink-0">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<CardTitle className="text-base">
|
<CardTitle className="text-base">
|
||||||
项目 {selectedGroup && `(${filteredProjects.length})`}
|
项目 {selectedGroup && `(${filteredProjects.length})`}
|
||||||
@ -781,8 +781,8 @@ const GitManager: React.FC = () => {
|
|||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
{/* 右栏:分支列表 */}
|
{/* 右栏:分支列表 */}
|
||||||
<Card className="col-span-4 flex flex-col">
|
<Card className="col-span-4 flex flex-col min-h-0">
|
||||||
<CardHeader className="border-b">
|
<CardHeader className="border-b flex-shrink-0">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<CardTitle className="text-base">
|
<CardTitle className="text-base">
|
||||||
分支 {selectedProject && `(${filteredBranches.length})`}
|
分支 {selectedProject && `(${filteredBranches.length})`}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user