Skip to content

Commit

Permalink
structuring css in files #34 #29 change remove button to red
Browse files Browse the repository at this point in the history
  • Loading branch information
Tullingemarcus committed Apr 22, 2021
1 parent d6a1f42 commit 36d5820
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
if(!isset($_SESSION['access_token']))
{
//Create a URL to obtain user authorization.
$login_button = '<a href="'.$google_client->createAuthUrl().'"><p>Login</p></a>';
$login_button = '<a href="'.$google_client->createAuthUrl().'"><img src="website_structure/img/btn_google_signin_dark_normal_web.png"></a>';
}

$email_template_temp = str_replace($_SESSION['given_name'], '§given_name§', $email_template);
Expand Down
4 changes: 2 additions & 2 deletions website/user_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
margon-bottom: 1vw;
grid-gap: .5vw;
grid-template-rows: 1fr 1fr;
grid-template-columns: 3fr 4fr 3fr 20fr 10fr;
grid-template-columns: 3fr 6fr 3fr 20fr 8fr;
grid-template-areas:
"grid_name grid_email grid_rank . grid_added_by"
". grid_delete_form grid_update_form grid_update_form grid_update_form";
Expand Down Expand Up @@ -174,7 +174,7 @@
<div class="grid_user_'.$user['id'].'_delete_form">
<form action="scripts/delete_user-script.php" method="post">
<input type="hidden" name="id" value="'.$user['id'].'">
<button type="submit" name="delete_user-submit"><p>REMOVE USER</p></button>
<button type="submit" name="delete_user-submit" class="remove_user_button"><p>REMOVE USER</p></button>
</form>
</div>
<div class="grid_user_'.$user['id'].'_update_form">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion website/website_structure/root.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*{
margin: 0;
padding: 0;
font-size: 14px;
font-size: 1vw;
text-decoration: none;
}
6 changes: 6 additions & 0 deletions website/website_structure/user_list.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.remove_user_button{
background-color: red;
}
.remove_user_button p{
font-weight: bold;
}

0 comments on commit 36d5820

Please sign in to comment.