Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jperitz-dev #41

Merged
merged 4 commits into from
Oct 23, 2018
Merged

jperitz-dev #41

merged 4 commits into from
Oct 23, 2018

Conversation

jperitz
Copy link
Contributor

@jperitz jperitz commented Oct 4, 2018

Fixes

Added skeleton for the login page front-end with basic CSS.
Updated other html files to reflect changes.

Related Issues

#37

@mirdaki mirdaki self-requested a review October 5, 2018 02:16
Copy link
Member

@mirdaki mirdaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jperitz thank you for submitting! The login page overall looks good.

I guess the initial issue didn't emphasize this well enough, but this isn't a normal login page. The idea is this is a sign in students will use when they come to club events. As a result we wont be using a password (the backend will just ignore repeated requests). So you can remove the password related elements. It also might make more since to call it a sign-in as opposed to a log-in.

Other than that I had a few questions about styling (specifically why there is Angular stuff in it).

It's a good first pass! Nice job. Look through the other comments I've made and let me know if you have any question.

@@ -43,3 +43,6 @@ function showSlides(n) {
dots[slideIndex-1].className += " active";
timeOut = setTimeout(() => plusSlides(1), 5000); //Increments slide every 5 seconds automatically, timer is reset whenever a slide is manually selected
}

//Functions for the login page

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something I need to change about the other pages. The plan with the scripts folder is to treat it like the styles folder (so there will be a unified script for the header functions, and then each page would make it's own script if it needs it). I'll make those changes soon, just wanted to let you know.

website/login.html Outdated Show resolved Hide resolved

<div class="field"> <!-- Email field -->
<label><b> Email</b></label>
<input type="email" id="email" placeholder="[email protected]" ng-model="email" required class="ng-valid ng-valid-email ng-dirty ng-touched">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the place holder with the "ufl.edu" to prompt them to use that email!

</div>

<div class="field"> <!-- password field -->
<b><label> Password</label></b>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally it's best practice to not use <b> in HTML, because it unintentionally changes the styling that CSS applies. You could make a class in the login.css page to make these bold (or whatever else you think makes them look nice).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright cool I didn't know that.

@@ -20,6 +20,7 @@
<!-- Page links -->
<div class="topnav-right">
<div class="topnav-placeholder"></div>
<a class="topnav-link" href="login.html">Login</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good thinking adding a link to the topnav (I forgot it in the original issue haha).


/* Full-width inputs */
input[type=email], input[type=password] {
width: 100%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

100% width looks fine on mobile, but a little weird on desktop. Consider using media queries to have the properties change on different sized devices.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do.

}

/* Avatar image */
img.avatar {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably won't be using avatars for the sign in (see my summary comment as to why), so we won't need this.

@jperitz
Copy link
Contributor Author

jperitz commented Oct 5, 2018

Thanks for the review! Yeah, when I started working on this, I had the requirements in mind, but then I was busy and stepped away for a week and evidently kind of forgot about them. I should have time this weekend to make the changes you suggested.

@mirdaki mirdaki self-requested a review October 23, 2018 14:04
Copy link
Member

@mirdaki mirdaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I'll merge it into dev so others can see/work on it too. Can't wait to see another update from you!

@mirdaki mirdaki merged commit 3431d8e into dev Oct 23, 2018
@mirdaki mirdaki deleted the mydev branch February 17, 2019 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants