BITS-Periodical-Society / freelunch

Code repository for a new website design
http://www.freelunch.co.in/
5 stars 3 forks source link

Modify CSS template for columns #69

Closed ighosh98 closed 5 years ago

ighosh98 commented 5 years ago

Modify Columns in such a way that we can automate the process of postioning the image.

You can drop me a message or comment below for further clarifications.

ighosh98 commented 5 years ago

Note : This is a very urgent issue. Needs to be sorted out first and foremost.

ighosh98 commented 5 years ago

@Ak-shay is the solution we discussed working? If yes, commit the code to #68 .

Ak-shay commented 5 years ago

That column issue is solved but now I need a solution to div row class after 3 loops..

ighosh98 commented 5 years ago

Commit the code. We can have a look at it and try to figure out a solution

ighosh98 commented 5 years ago

@Ak-shay will commit the code and add a comment here with details on the code and database structure. @HimanshuAgarwal022 @JessePinkman7

  1. Work on the branch templates-backend.
  2. So as of now we have a blog.css(flapp/static/css/blog.css). Look for the classes column1,column2 and column3. They govern the position of the images. Task: We need to automate the transfer of data from sqllite dbs to the webpage. @Ak-shay has managed to figure out how to automate adding to the columns in a cyclic manner. However, we need to change the row(see row class in blog.css) after the third column is filled for obvious reasone. Your task is to ensure this functionality is implemented. In the end you must have a function which adds images to the three columns and then moves to the next row. Ideas: You could either modfiy the CSS or write a JS to track when one cycle is finished and move to the next row. Skills Required : JS/jQuery
ighosh98 commented 5 years ago

@HimanshuAgarwal022 comments have been added to the issue. Look at #68 . The last commit.

ighosh98 commented 5 years ago

Merging #68

ighosh98 commented 5 years ago

Row issues still need to be sorted. @HimanshuAgarwal022 @JessePinkman7 Make a PR once that is done. I would then close this issue

ighosh98 commented 5 years ago

Card template is fixed. Refer to #77 .