From 21a13a6b55a18eaf548d3f9318a2c86f5b37e56d Mon Sep 17 00:00:00 2001 From: dreptin Date: Fri, 1 Oct 2021 13:32:55 +0200 Subject: [PATCH] feat(cleaned-fulltext): changed to cleaned fulltext icon to be the TXT icon with a banner saying "cleaned" --- img/mimetypes/cleaned.png | Bin 7396 -> 0 bytes js/config.js | 2 +- js/views/resultRow.html | 3 +++ less/istex/main.less | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) delete mode 100644 img/mimetypes/cleaned.png diff --git a/img/mimetypes/cleaned.png b/img/mimetypes/cleaned.png deleted file mode 100644 index 4a7750404ce2d241f1ecb8f56d69668915bdb2d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7396 zcmeHKc|6o@*B@IbT2z!w#-NgA7G}mwWSg;%Y+16@m>CRaX=WI*B%zQ}S&Jk~qEt6h zq|F|c2+5MHAt6OYyg%CR-nY-^eeUOdpZ}Vf-^^U+I_G=N^}WuymMBXLBk|?Z%RwNJ zxQQ{|8u*1QJ|fG2Z_a@O??E8p-UGG{Tx${!!eTSsX+Bg4H-JTjQ2lA{AdvryE6I+D zooF$_!mVhPLu)lvj`U&M^%B!pnC|vl)xy}Jbc+yu!5FlvBJg_r?@(dv7E`rL zIh0RT()mnoba}{FXIkt~NXUFh)zsPjQ$epbE-!j@KxO#c!UoT2|Z-B5MPx>A8lvcbh~)H8PT#sk`wfZ}1yhfviwu)RL|M^o<)5~cskg-3 zjjYR)lZNUW#N zyhB#jDKn+wq7iRMuo)56X6;RnC2ms2++mn|UYXr|;7yawlk)do2R7Y&a@4?3Iw0Q4 z=xj)&$(FOUK}YvA`mG4%D>o_G3HFY@#j*Kg*ZLCE{Lp1@N;}pTZ)#oD#ymgBcs8eJ zx^-}?*RjDlhX*v=nkuo%ATH>fo_Hn8r>a3xD$~Ayow`$95oK@qIw21nK}@iZ?Rq27 zjVJGMt#={pY~4W5;DR#SFk^NLTXz4fSaG`rN>o@*+yIp)j+Y&`r`^#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F5tSS>_L1u8Bw< z3$@NpXq4ciPO8McJ1$}QJR#Jv$f9uLzP+NV5^>gQdqf+=pW}76$CTYe^E)U&e31L1 zLW>am-etOn;&_drwi0rJI_G9n`gG>PJH~obT5B}l`(n;w(ATwO`cF)b2F34OraREI zny$LP;MnoW;iMW`@Xe^to+zU`<5kjx$|nWf%H z)bx~YKcu&1YMH(%V{pa$RW8{dPHsV0wnDSAhTaDNXivL%(sGK2D>7x~rxon4#-0Rk zpge?|3#T$7hntuNwyGZ=4n1*|4cd_G4V;*4fqiO@Uj?06z^8 zF%9d4OqJa7#}&J}1RAQhs}dmVNq5sHI|XeF`I71h*Bw&79F1F7by;*T0UNltTU2+U z5l+UigC-w|zKfteb}2n(8y)yIFJs0hQK>>#gmy(hUuh(>rBd4d-HQ%k$KL%@?@yn| z9F?B!p4||7gLnd&fblO5);XCspmF(V7eNAKuQ=B!>H;c~cEU$CMNi)`OZN3c{e`|Hc^f {{#if quality}} {{fixQuality quality.rate}}% {{/if}} + {{#ifEquals mimetype "text/cleaned"}} + cleaned + {{/ifEquals}} {{~/fulltext}} diff --git a/less/istex/main.less b/less/istex/main.less index d3ef88e..494998d 100644 --- a/less/istex/main.less +++ b/less/istex/main.less @@ -502,6 +502,11 @@ textarea { margin-left: auto; } +// Banner for cleaned fulltexts (same style as .ocr-quality, it's a separate class just for semantics) +.cleaned { + .ocr-quality(); +} + // Pager #topResultPager { margin-bottom: 5px;