mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/sky22333/ansible-ui
synced 2026-09-20 08:03:57 +08:00
添加github图标
This commit is contained in:
@@ -15,7 +15,7 @@ import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTr
|
|||||||
import FileUpload from '@/components/FileUpload';
|
import FileUpload from '@/components/FileUpload';
|
||||||
import { Checkbox } from "@/components/ui/checkbox";
|
import { Checkbox } from "@/components/ui/checkbox";
|
||||||
import { useAuth, authStorage } from '@/contexts/AuthContext';
|
import { useAuth, authStorage } from '@/contexts/AuthContext';
|
||||||
import { TerminalIcon } from 'lucide-react';
|
import { TerminalIcon, Github } from 'lucide-react';
|
||||||
import PlaybookExecutor from '@/components/PlaybookExecutor';
|
import PlaybookExecutor from '@/components/PlaybookExecutor';
|
||||||
import { prepareHostData } from '@/utils/crypto';
|
import { prepareHostData } from '@/utils/crypto';
|
||||||
|
|
||||||
@@ -469,7 +469,7 @@ function MainPage() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<SheetFooter>
|
<SheetFooter>
|
||||||
<Button variant="destructive" onClick={handleCleanupAccessLogs}>清理7天前日志</Button>
|
<Button variant="outline" onClick={handleCleanupAccessLogs} className="text-black dark:text-white">清理7天前日志</Button>
|
||||||
<SheetClose asChild>
|
<SheetClose asChild>
|
||||||
<Button variant="outline">关闭</Button>
|
<Button variant="outline">关闭</Button>
|
||||||
</SheetClose>
|
</SheetClose>
|
||||||
@@ -770,6 +770,18 @@ function MainPage() {
|
|||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
||||||
|
{/* GitHub Link */}
|
||||||
|
<div className="text-center mt-6 mb-2">
|
||||||
|
<a
|
||||||
|
href="https://github.com/sky22333/ansible"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="inline-flex items-center gap-1 text-muted-foreground hover:text-foreground transition-colors"
|
||||||
|
title="GitHub仓库"
|
||||||
|
>
|
||||||
|
<Github size={16} />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user