From 4106b88993eb1db2651a639718076d787ce7d846 Mon Sep 17 00:00:00 2001 From: ahmishra Date: Sat, 3 Jul 2021 11:53:00 +0530 Subject: [PATCH] UI FIXES --- main/__pycache__/forms.cpython-37.pyc | Bin 5266 -> 5337 bytes main/__pycache__/models.cpython-37.pyc | Bin 3417 -> 3343 bytes main/__pycache__/routes.cpython-37.pyc | Bin 9973 -> 9973 bytes main/forms.py | 3 +- main/models.py | 6 +-- main/static/main.css | 10 +++++ main/templates/new-post.html | 4 +- main/templates/post-detail.html | 14 +++++- main/templates/post-update.html | 4 +- main/templates/posts.html | 57 +++++++++++++++++++------ 10 files changed, 74 insertions(+), 24 deletions(-) diff --git a/main/__pycache__/forms.cpython-37.pyc b/main/__pycache__/forms.cpython-37.pyc index 8cdffe9d4215f76fd45ce031924730c752ebf0d9..cabeb1589e69a158ef3c3fdfdc21b1059f4bc0e9 100644 GIT binary patch delta 322 zcmbQFc~g_uiIyX=pg{6OLD9`|TvAMoxsxk-8pX|lVu?Up z%mGy`!pOl?WWHIDx13SZ0w`7sk_7n^WRw)pAQ`42i_Hu9W-u|%+iWEm&d9iG@+6^F w##@smgbi6OfeQO4`w2@jT29UozRe9Xz6fMYk>zAVVe!eSA{wkh0x|+Z02qr;1^@s6 delta 288 zcmcbqIZ2b(iI10Pll0`r94ZQ_tj!FmY$?pmjOk1%EWJ!o zT&dhC?9Gf(JSiN(44Ryi6**hwL_#u3bCdECGjlXNa}(236+(l2G;gs4gZq=R(F5R-im{lu!y+3U>=blyC}9FoP!VWCN~JmM@G943l4TeP+y= ne4pEk(R#8Lj~b)R+j^8V*wjGD~L+0WQFc`m1eBx?#s3TH2K6jv%s7Ap{Q zr?95-WbvkOPX5BFD9N>uF@-gS4Ja>^!kxm?!Vo2#!W+z>$v0V#tJLiUGXq1FLq$cX+chYVoI@oK~7?FYDRueN@|gA zW^Q77s$M}}`sC$YpBW1#&*t`Gw3_^kTaD3rGB1y-h#1hx9PBJi0*oSzEQ}nCOpF}N JlM{H>0|43;J23zN diff --git a/main/__pycache__/routes.cpython-37.pyc b/main/__pycache__/routes.cpython-37.pyc index d384e3fc38d068c69c22fabea7bb3f5139853d8b..a0ceb3c4d65bdc184bd7913db5759f35aefb1cd1 100644 GIT binary patch delta 26 gcmezB`_-4riIR+{hKj!sxO&lch%q0CHCd2LJ#7 delta 26 gcmezB`_-4riI -
+
{{ form.title.label(class="form-control-label") }} @@ -33,7 +33,7 @@
-
+
{{ form.thumbnail.label(class="form-control-label") }} diff --git a/main/templates/post-detail.html b/main/templates/post-detail.html index 334dcfd..e0cce50 100644 --- a/main/templates/post-detail.html +++ b/main/templates/post-detail.html @@ -27,10 +27,20 @@

{{ post.title }}

- Posted By- {{ post.author.username }} + + +
-

{{ post.content|markdown }}

{{ post.date_posted.replace(microsecond = 0) }} + +
+ +

{{ post.content|markdown }}

diff --git a/main/templates/post-update.html b/main/templates/post-update.html index 3b6fd48..120a215 100644 --- a/main/templates/post-update.html +++ b/main/templates/post-update.html @@ -15,7 +15,7 @@
-
+
{{ form.title.label(class="form-control-label") }} @@ -33,7 +33,7 @@
-