From 4ca6ad0937eae51d27d8e68d525dd4679ca95ae5 Mon Sep 17 00:00:00 2001 From: agnijapal <61371637+agnijapal@users.noreply.github.com> Date: Fri, 15 Apr 2022 12:28:48 +0530 Subject: [PATCH 1/6] formatter for indentation --- db.sqlite3 | Bin 131072 -> 139264 bytes templates/index.html | 281 ++++++++++++++++++++++--------------------- 2 files changed, 146 insertions(+), 135 deletions(-) diff --git a/db.sqlite3 b/db.sqlite3 index 8ac810bae8589bbc9a0ce5c35420009d24f2af32..30b69d08100c1060fc1c1a94eff093307e59654c 100644 GIT binary patch delta 889 zcma))O-vI(6vyXvx7&rKJG23dif&twqXD&kl;lR8V|&Sfvd!*TfUT=lX;Uj|4e@K{%{uI&22%@*znObE%k=mBmzgV)BldlGAD;lSxb@Gsg(m4iJG*NbrX{D-FceLj-?N zOguf2OZ`tB{va=e{L8M|FGSTkqOfAd-|z}n@B)5{@8b`Ph3j}m@t)#Xf}=~0_k7}Y zWVI5mePQpenFTN3WVf+|hfd13Me*opH4t8ijZ4Y+gs3LsX(?MWWMAT$4zMiSMz(P= zYM#qGi&2XijDD9NYD;<2IZv*o+!&@1u4gyOHmP@XdxeLpG7pnaNE4wjUe;mlg(TrMbRV+q*RJXc`bgxZP)UjH12Y0x+N z!Dnk`k%G(v~p5QKDhLPXgT&mKTODWQ+lWXwPJC`r*{{RLW1o!{| delta 477 zcmZoTz|qjaF+o~TgMooT0f=G1X`+rXs|JIfO2fvK+58+Lyg&(l9>vM*0`eOhe{*kE zlzGT3G?{^wKZl9`CI2q|9R8*Jt^BPU8zcB9=jcnx^DxVEB$k$B#FrMQ7V%$X5P}&D zp(iiZH<;)sA}-3vtk0N|m6(^FAD^3Bq?}Z+`_hZ@OA8Pz_UVE7jL~8i2AT?f z{vir}p*}tep?;o$p{|<7?9;Qd7>!stc*Pj3CpMZ-*Ysh0&&0TAW8)6S?U(!*jRbWB z7;+dmGdR|=KVbdE>d&%=`2({mLk^Qa;|d-v-fP?@+;6$&0t3KMla0Z0yFmhD3L`&P z5`zd**lb^%$QaJT(wr>EzWrY+V;9r(-M)-M(^>o&&rR3&X8gs%#|gH4``j$XUPhK? hO(XX0dO3`@8Ce(@7{709{LHxN17pB;#siH1?E(E4gEIgC diff --git a/templates/index.html b/templates/index.html index 10f597d1..35bf9179 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,159 +1,170 @@ - - - - - - - - - - - Text Utils - - - - - - - +
+
{% csrf_token %} -
- {% csrf_token %} +
+

+ -
-

+ +

+ 0 Characters + +

+
- exampleFormControlTextarea1.addEventListener("keyup",function(){ - var characters = exampleFormControlTextarea1.value.split(''); - wordCount.innerText = characters.length; - }); - -

-
+
+ + +
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
+
+ + +
+ +
+ + +
+ +
+ + +
- +
+ + +
+ + -
- -
- + +
+
+ + var typed = new Typed('#typed', { + strings: ["You can do anything with your text here!", "Enter your text here and let Text Utils do the magic!"], + backSpeed: 15, + smartBackspace: true, + backDelay: 1200, + startDelay: 1000, + typeSpeed: 25, + loop: false, + + }); + -
-
- © 2019 Textutils.in -
-
- - - - - - - + + + - + + } + + + \ No newline at end of file From 9909210b768c19208c32dad27006c1b0a878a011 Mon Sep 17 00:00:00 2001 From: agnijapal <61371637+agnijapal@users.noreply.github.com> Date: Fri, 15 Apr 2022 13:07:58 +0530 Subject: [PATCH 2/6] purpose section update In case of Multiple changes the last change is showing in the analised page. i have changed a little bit to show all the changes applied in a little bit stylish manner --- templates/analyze.html | 16 ++++++++++++++-- textutils/views.py | 21 +++++++++++++++------ 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/templates/analyze.html b/templates/analyze.html index 4bb031ff..54392ba9 100644 --- a/templates/analyze.html +++ b/templates/analyze.html @@ -67,9 +67,21 @@
-

Your Analyzed Text - {{ purpose }}

+

Your Analyzed Text

+

Applied Changes : Applied Changes is in GREEN color

+
1. Remove Punctuations
+
2. All Capitalised
+
3. Remove New Line
+
4. Remove Extra Spaces
+
5. Remove Numbers
-
+ + +
+ Remove Punctuations +
+ +

-

-
- - -
- - - - - - -
- -

Your Analyzed Text

-

Applied Changes : Applied Changes is in GREEN color

-
1. Remove Punctuations
-
2. All Capitalised
-
3. Remove New Line
-
4. Remove Extra Spaces
-
5. Remove Numbers
+ + + + + + + + + Text Utils-Results + + + + + + + + + + - -
- Remove Punctuations -
-
-

- -

{{ analyzed_text }}

-

-
-
-
- © 2019 Textutils.in + +

Your Analyzed Text

+

Applied Changes : Applied Changes is in GREEN color

+
1. Remove Punctuations
+
2. All Capitalised
+
3. Remove New Line
+
4. Remove Extra Spaces
+
5. Remove Numbers
+ + + +
+ Remove Punctuations +
+ +
+

+ +

{{ analyzed_text }}

+

+
-
- - - - - - - - + + + + - - + + } + + + + \ No newline at end of file