spring2885 / frontend

FrontEnd for Spring2885
0 stars 0 forks source link

move inline css to external stylesheet #295

Open chrismcafee opened 7 years ago

chrismcafee commented 7 years ago

I'm doing this for ea file I touch but could use some help on the following

$ grep -niro "style=" ./frontend/src
frontend/src/templates/navbar/signedOutNav.html:6:style=
frontend/src/templates/navbar/signedOutNav.html:16:style=
frontend/src/views/jobs/_form.html:41:style=
frontend/src/views/jobs/_form.html:44:style=
frontend/src/views/jobs/jobsCreate.html:2:style=
frontend/src/views/jobs/jobsEdit.html:1:style=
frontend/src/views/jobs/jobsIndex.html:23:style=
frontend/src/views/jobs/jobsIndex.html:38:style=
frontend/src/views/jobs/jobsIndex.html:45:style=
frontend/src/views/jobs/jobsIndex.html:68:style=
frontend/src/views/jobs/jobsIndex.html:71:style=
frontend/src/views/jobs/jobsMyJobs.html:5:style=
frontend/src/views/jobs/jobsMyJobs.html:8:style=
frontend/src/views/jobs/jobsShow.html:2:style=
frontend/src/views/newsfeed/newsFeedIndex.html:48:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:6:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:11:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:21:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:34:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:78:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:96:style=
frontend/src/views/newsfeed/newsFeedTmpl.html:116:style=
frontend/src/views/profile/profileEdit.html:2:style=
frontend/src/views/profile/profileEdit.html:4:style=
frontend/src/views/profile/profileEdit.html:8:style=
frontend/src/views/profile/profileIndex.html:5:style=
frontend/src/views/profile/profileShow.html:1:style=
frontend/src/views/profile/profileShow.html:14:style=
frontend/src/views/profile/userSettings.html:16:style=
bryan-besnyi commented 7 years ago

@Wingzxx and I will assist on this @chrismcafee. Neither of us are able to self assign ourselves to the case. Just to be clear, we want to include this on the existing external stylesheet, correct?

chrismcafee commented 7 years ago

@bbez1 and @Wingzxx, yeah we just want to strip the html of inline css and place it in spring-2885.css file. In the file you'll have to define the element it's getting applied to then copy and paste the existing style applied. It'll reduce redundancy and allow us to make sitewide changes in just one file.

chrismcafee commented 7 years ago

Work with one page (view) at a time and test your edits to be sure that all the formatting remains intact and functions as intended.