put stuff in divs

This commit is contained in:
2025-12-19 12:12:16 -08:00
parent 82d6a70a68
commit 02120b78b2
2 changed files with 36 additions and 29 deletions
+5 -1
View File
@@ -9,10 +9,13 @@
<link rel="stylesheet" href="styles.css"> <link rel="stylesheet" href="styles.css">
</head> </head>
<body> <body>
<div class="container">
<h2>Query GPOs by Group</h2> <h2>Query GPOs by Group</h2>
This tool allows you to query Group Policy Objects in Active Directory by Restricted Group.<br> This tool allows you to query Group Policy Objects in Active Directory by Restricted Group.<br>
Search is case insensitive and supports partial match. <br> Search is case insensitive and supports partial match. <br>
Once you have the GPO name, you can locate this in the GPO management snap-in and find what OUs it links to.<br><p> Once you have the GPO name, you can locate this in the GPO management snap-in and find what OUs it links to.<br><p>
</div>
<div class="container">
<?php if (isset($_GET['group'])) : ?> <?php if (isset($_GET['group'])) : ?>
<form action="index.php" method="GET"> <form action="index.php" method="GET">
<label for="group">Group Name:</label> <label for="group">Group Name:</label>
@@ -103,7 +106,8 @@ if (isset($_GET['group'])) {
else { else {
echo "<p>No group specified.</p>"; echo "<p>No group specified.</p>";
} }
echo "<p>Source code can be found <a target='_blank' rel='noopener noreferrer' href='https://gitea.matt-cloud.com/matt/gpo_lookup'>here</a>.<p>"; echo "</div>";
//echo "<p>Source code can be found <a target='_blank' rel='noopener noreferrer' href='https://gitea.matt-cloud.com/matt/gpo_lookup'>here</a>.<p>";
?> ?>
</body> </body>
+14 -11
View File
@@ -8,24 +8,27 @@ body {
color: #bdc3c7; /* Dimmer text color */ color: #bdc3c7; /* Dimmer text color */
} }
/* unvisited link */ a,
a:link { a:link,
color: rgb(184, 44, 44);
}
/* visited link */
a:visited { a:visited {
color: rgb(42, 176, 42); color: #3498db; /* Default link color (blue) */
text-decoration: none;
transition: color 0.2s ease;
} }
/* mouse over link */ /* Visited links (distinct yet in the same palette) */
a:visited {
color: #9b59b6; /* Soft purple */
}
/* Hover state bright, engaging, and contrasting */
a:hover { a:hover {
color: rgb(154, 84, 119); color: #1abc9c; /* Turquoisegreen */
} }
/* selected link */ /* Active state immediate feedback */
a:active { a:active {
color: rgb(96, 96, 196); color: #e74c3c; /* Warm red */
} }
.hidden-info { .hidden-info {