thomasboimah | Good morning Damon | 10:56 |
---|---|---|
thomasboimah | good morning daniel__ | 10:56 |
daniel__ | Good morning thomasboimah | 10:58 |
gabriel_jetro | Greetings family | 10:58 |
daniel__ | Greeting Gabriel | 10:58 |
thomasboimah | good morning gabriel_jetro | 10:58 |
daniel__ | Yesterday after washing my clothes, I started reading on how to file the federal tax return form for the LLC Company, and the IRS form for the nonprofit Company. Today, I plan to continue and do one of my UoPeople activities. No blocker. | 11:00 |
thomasboimah | Yesterday as requested by Jelkner, I updated the code to change the default todo view to only show incomplete tasks and added an option button to show completed tasks. I pushed this work to Codeberg and it's now ready for review by Chris before merging to main. Today I have a meeting with Sahnun. No blockers. | 11:00 |
daniel__ | ACTION DONE | 11:00 |
thomasboimah | ACTION done | 11:00 |
mulbah | Yesterday I watch Linux+ exam question and answer from YouTube today I plan to complete it | 11:01 |
mulbah | NO blocker | 11:01 |
mulbah | ACTION done | 11:01 |
svaye_ | Yesterday I try doing research on the tax system of the U.S. today I will continue editing the business plan. No blockers | 11:02 |
svaye_ | ACTION done | 11:02 |
gabriel_jetro | Firstly I'm sorry for missing yesterday meeting, I slept off that's why, but during the day I was reading more on html and came across some new tag that I decided to add to the hope bridge Liberia site, hopefully next week Wednesday I'll be submitting the full html of the website and taking some feedback from you'll, there's no blocker for now. | 11:02 |
gabriel_jetro | ACTION done | 11:03 |
thomasboimah | Bye guys | 11:04 |
thomasboimah | ACTION sign off until 4:00pm | 11:05 |
gabriel_jetro | Oh nothing much to discuss? | 11:05 |
*** thomasboimah has quit (Quit: Leaving) | 11:05 | |
gabriel_jetro | Ohk bye all | 11:05 |
*** mulbah has quit (Quit: Leaving) | 11:05 | |
daniel__ | ACTION leaving | 11:06 |
*** daniel__ has left #jetrowebdev (None) | 11:07 | |
svaye_ | ACTION signs off | 11:10 |
*** svaye_ has left #jetrowebdev (None) | 11:10 | |
*** gabriel_jetro has quit (Quit: Connection closed for inactivity) | 13:07 | |
thomasboimah | Hi sahnun | 15:47 |
sahnun | Hi Thomas | 15:54 |
sahnun | Please give me a few minutes. | 15:54 |
sahnun | In the meantime, please think of any questions you have about web development. | 15:54 |
thomasboimah | sahnun, did you see Jeff respond to the email we be sending one another?? | 15:57 |
thomasboimah | *been* | 15:57 |
sahnun | yes I saw. We will discuss it shortly. | 15:58 |
thomasboimah | Okay | 15:59 |
sahnun | Thomas, I'm new to Django but familiar with Python. | 16:02 |
sahnun | Jeff has asked us to do two things: discuss the Django that *you* already know and work on some styles a bit. Let's try to knock this out in the next 30m (I took an unexpected trip to NYC and have plans with a friend shortly.) | 16:02 |
sahnun | So, let's start by opening your codeberg for the To Do App. | 16:03 |
sahnun | Let me know when you're readyl. | 16:03 |
thomasboimah | Okay, I thought we could look at the app, and with your front-end expertise, decide what small changes would give us the biggest visual improvement for the least amount of code." | 16:03 |
thomasboimah | here is the link to the app todo.jetrowebdevelopment.org | 16:03 |
thomasboimah | And i also want to ask you question since you are the front-end expert here | 16:04 |
thomasboimah | I am ready but what do you think is the best way to share my screen with you? | 16:05 |
sahnun | I like that plan. | 16:06 |
sahnun | I will look into Django and if questions arise I will ask about them. | 16:06 |
thomasboimah | Okay but i also have a question for you | 16:06 |
sahnun | First of all, besides styling, do you have any questions that would be quicker to answer? | 16:06 |
sahnun | Please ask. | 16:06 |
thomasboimah | If we could only change 2 or 3 things to make this app look more polished, what would you recommend? | 16:07 |
sahnun | What do you think, first, can you name one thing? Think about the apps you use and how it looks different. | 16:07 |
sahnun | Think about the UI in terms of components, or pieces. There are todos, navigation links, etc. | 16:07 |
thomasboimah | is that all | 16:10 |
sahnun | A UI is just a collection of components, or pieces. The HTML is a starting point but it's useful to think a bit more abstractly, like "that's a 'to-do-item' container, that's a navigation link, that's an 'action' link. Then there are things like typography (fonts, size, colors). | 16:10 |
sahnun | Do you see a component you would like to improve the styling for? | 16:11 |
thomasboimah | Yes. the button and add some navbar like you talk about | 16:11 |
sahnun | Please respond sooner or I will have to answer, it's ok if you don't have an answer or the question is not clear. Just give me feedback. | 16:11 |
sahnun | Ok, so let's improve the button first. | 16:12 |
sahnun | What file is that button in? | 16:12 |
thomasboimah | so now we have various templates and most of them have a button in it | 16:13 |
sahnun | Yes but what file is one of the buttons in? Any of the templates. | 16:13 |
sahnun | Good point | 16:13 |
thomasboimah | but here is the best thing about django once you have a static/css/style load the base.html template when you make a changes for one it will affect all | 16:14 |
sahnun | But we do in-line styles right? | 16:14 |
sahnun | In addition to that. | 16:14 |
thomasboimah | Yes. | 16:15 |
sahnun | Imagine if you had a website where you can't have multiple buttons look differently, would that be a nice website? | 16:15 |
sahnun | No, there's a way to modify one button I'm sure :) | 16:15 |
sahnun | Ok, do you have a file that you'd like to choose? | 16:15 |
thomasboimah | yes by given it a class name | 16:15 |
thomasboimah | or an id | 16:15 |
sahnun | Correct. | 16:15 |
thomasboimah | Okay let target the task-list view | 16:16 |
sahnun | Good | 16:16 |
thomasboimah | it is the first page you when you login | 16:17 |
thomasboimah | *see* | 16:17 |
thomasboimah | When you open the code on vscode it can be found in task/template/task-list.html | 16:18 |
sahnun | Those are radio buttons and checkboxes. They're kind of like buttons but not the standard button. | 16:18 |
sahnun | I'm looking at the file already. | 16:18 |
sahnun | Do you see a button on that page that looks like a regular button we're used to, not a special type of button? There's only one. | 16:18 |
thomasboimah | yes the Apply Filters | 16:19 |
sahnun | Good. What file can we find that iin? | 16:19 |
thomasboimah | in that same file | 16:19 |
sahnun | Ah! My mistake. | 16:20 |
sahnun | Ok, so, what we have is a button with no styles. | 16:20 |
thomasboimah | But did you where you are going to write the css code? | 16:20 |
thomasboimah | *know* | 16:20 |
sahnun | Where do you think we should write the css? | 16:20 |
thomasboimah | Now since that we don't have a static/css/style.css file we can do that in the base.html as an in-line css | 16:21 |
sahnun | So, can you explain the diff between base.html and task_list.html? | 16:22 |
thomasboimah | Okay now base.html is a template where you write your basic html code | 16:23 |
thomasboimah | so the base.html is like a parent that is feeding the task_list.html | 16:24 |
sahnun | So I googled it and base.html is for *common* html code, it's not recommended to have in-line styles in base.html. | 16:25 |
sahnun | https://www.irccloud.com/pastebin/n62RQwYl/ | 16:25 |
sahnun | This if from Django documentation. | 16:25 |
thomasboimah | yes sahnun that is what i say basic html | 16:25 |
thomasboimah | *why* | 16:25 |
thomasboimah | look at my explaination | 16:25 |
sahnun | Base.html *could* be used, however, it's only for defining elements we want across ALL pages, like chunks of UI rather than a single button here and there. | 16:25 |
thomasboimah | Sure | 16:26 |
sahnun | Correct, it's a parent. | 16:26 |
thomasboimah | of course | 16:26 |
sahnun | I just want to add the documentation to reinforce it for you :) | 16:26 |
sahnun | So, where should we put the in-line css, base.html or somewhere else? | 16:26 |
thomasboimah | base.html | 16:26 |
sahnun | Why? | 16:26 |
thomasboimah | because it will feed all other templates | 16:27 |
thomasboimah | including the task-list.hmel | 16:27 |
sahnun | What if we put it directly into the task_list.html? | 16:27 |
thomasboimah | so now here is the thing if you write a css for the button tag it will affect all other button | 16:28 |
thomasboimah | so it you only want to target the button in the task-list you need to give it a class or id | 16:28 |
thomasboimah | in the task-list.html | 16:29 |
sahnun | Good. | 16:29 |
sahnun | We don' | 16:29 |
sahnun | We don't know if we want every button to inherit button styles from base.html | 16:29 |
sahnun | We do know we want the task_list view button to look like that. | 16:29 |
thomasboimah | sure then give a class or id | 16:29 |
sahnun | So, do you agree it makes sense to write it in task_list.html? | 16:30 |
thomasboimah | *it* | 16:30 |
thomasboimah | No | 16:30 |
thomasboimah | it will not work sahnun | 16:30 |
sahnun | Why? | 16:30 |
thomasboimah | because the task-list is only inheriting the style for the base.html | 16:31 |
thomasboimah | *from* | 16:31 |
thomasboimah | sahnun, look about template in django doc | 16:32 |
thomasboimah | maybe you will understand it more | 16:32 |
sahnun | So, if that was true, every style in the application would require to be written in base.html right? | 16:32 |
thomasboimah | Yes. it there is no static/css/style.css like ours | 16:33 |
thomasboimah | *if* | 16:33 |
sahnun | Ok, well for homework let's both research if we can add inline styles directly to a template :) | 16:34 |
sahnun | My instinct is it's possible but your experience says it's not, and I don't have experinece. | 16:34 |
thomasboimah | Okay, but trust that will not be the best way to do that | 16:34 |
thomasboimah | *me* | 16:34 |
sahnun | Ok, well we decided not to do it external stylesheet because it's better for learning to do it inline. | 16:36 |
sahnun | I have to go but you're doing well and I'm so glad you're pushing back! | 16:36 |
thomasboimah | Okay but please look at the django doc please | 16:36 |
thomasboimah | When should we meet again | 16:37 |
thomasboimah | ? | 16:37 |
thomasboimah | I think the django documentation will explain it better to then I am | 16:37 |
thomasboimah | *YOU* | 16:37 |
thomasboimah | I will create the static/css/style.css directory today | 16:38 |
thomasboimah | So that we can transfer the in-line css to it | 16:39 |
thomasboimah | sahnun, so there any book you can recommend to me for learn modern css? | 16:39 |
thomasboimah | *learning* | 16:40 |
thomasboimah | ACTION is sign off since sahnun is not responding again | 16:41 |
*** thomasboimah has quit (Quit: Leaving) | 16:43 | |
*** anthony_p has quit (Ping timeout: 480 seconds) | 20:02 | |
*** ubuntourist has quit (Quit: Leaving) | 21:14 | |
*** Damon has quit (Quit: Connection closed for inactivity) | 22:12 | |
*** arya has quit (Quit: Connection closed for inactivity) | 22:12 | |
*** sahnun has quit (Quit: Connection closed for inactivity) | 22:12 | |
*** Amar has quit (Quit: Connection closed for inactivity) | 22:13 | |
*** arbaaz has quit (Quit: Connection closed for inactivity) | 22:13 | |
*** bennet has quit (Quit: Connection closed for inactivity) | 22:15 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!