This commit is contained in:
jakani24
2024-01-15 17:00:34 +01:00
parent 9821dede1e
commit 20d2730349
2 changed files with 3 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ session_start();
<label for="password">Password:</label> <label for="password">Password:</label>
<input type="password" class="form-control" id="password" name="password" required> <input type="password" class="form-control" id="password" name="password" required>
</div> </div>
<br>
<button type="submit" class="btn btn-primary btn-block">Login</button> <button type="submit" class="btn btn-primary btn-block">Login</button>
</form> </form>
<br> <br>

View File

@@ -71,10 +71,11 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<label for="perms">Permissions:</label> <label for="perms">Permissions:</label>
<input type="text" class="form-control" id="perms" name="perms" value="<?php echo($perms); ?>" required readonly> <input type="text" class="form-control" id="perms" name="perms" value="<?php echo($perms); ?>" required readonly>
</div> </div>
<br>
<button type="submit" class="btn btn-primary btn-block">Update</button> <button type="submit" class="btn btn-primary btn-block">Update</button>
<?php <?php
if(isset($_GET["update"])){ if(isset($_GET["update"])){
echo '<div class="alert alert-success" role="alert"> echo '<br><div class="alert alert-success" role="alert">
Information updated successfully! Information updated successfully!
</div>'; </div>';
} }