From ddac13d308f867d07dc319c108641438efc23f77 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 7 Jan 2021 14:17:06 -0600 Subject: [PATCH] Account backups --- app/soapbox/actions/backups.js | Bin 0 -> 1108 bytes app/soapbox/features/backups/index.js | Bin 0 -> 2863 bytes app/soapbox/features/ui/index.js | Bin 23591 -> 23706 bytes .../features/ui/util/async-components.js | Bin 7172 -> 7279 bytes app/soapbox/reducers/backups.js | Bin 0 -> 686 bytes app/soapbox/reducers/index.js | Bin 3249 -> 3293 bytes app/styles/application.scss | 1 + app/styles/components/backups.scss | 13 +++++++++++++ 8 files changed, 14 insertions(+) create mode 100644 app/soapbox/actions/backups.js create mode 100644 app/soapbox/features/backups/index.js create mode 100644 app/soapbox/reducers/backups.js create mode 100644 app/styles/components/backups.scss diff --git a/app/soapbox/actions/backups.js b/app/soapbox/actions/backups.js new file mode 100644 index 0000000000000000000000000000000000000000..844c55ce597f165ac084db32dfebe81f9d93d303 GIT binary patch literal 1108 zcmcIiy>5dr7~FY^Z^K9k)HNuT2y)b_9ohhMUO0tAKf*)C`^ebY&8`9KePo6|V7}pBxKE0Vs+4Dt zFh%z(LO%+TBMXiOfMlwW8K7O73!+gQ-kAy&QOttn{b>up8AL}=KY}erZm_gGt=MYn zt4FPvqrZ?@)xrI`bHyjq1tIQR?ZvblwPzX9`a7b?0-FC&c1+CLX!5i>?AlLhIkcJ$ zF)6wH8*5gv%F%|JbsnyMm!46!t#0$BlIh^;fNzp-zfU@jiGT&q|1aTwF>exar>heg F{{n_-QfdGI literal 0 HcmV?d00001 diff --git a/app/soapbox/features/backups/index.js b/app/soapbox/features/backups/index.js new file mode 100644 index 0000000000000000000000000000000000000000..7b161cc35e68e735650dcc8cd23bc0ed0ec56287 GIT binary patch literal 2863 zcmaJ?O>f&c5WV|X%wmB`0&IEDUMuY;y%gINLEGD6VbBsCb1jitk!lhc`tKcbNQrXX z_+(OVX5PH{plDjv8TiUsY2eVQ29nPHPySp8`gDd;Ny+i^5Cc{nulna0R`G+7{GMyg z9=TqEkpH38Cu!;nOMzFD;isnQ4cpiJq3`&e!l07N8JCp^kX4JART)5&lZQ^V-(Om; zJ;fH!D`PJv%$=(HMtVS=uY0i`J?ZtH8^gO@=|Gdwc>!?Xraa!V^3=C_iRTg(GMp}! zi=c{Dtlg{UHHs&cM2BQBx%yUis;+IOpM?$y2CImP9&x)Gfs=!>W?Fw?&6uUTkoE#W z3oH}5#e>ry3YZrpwW%CAtAu>qz!^lffrQe{1J|XsVSR0U6%pa{PGFc)AI-g8?sLvb zndFL_JEs|tfp^B6*1U|7Jfq;!ecbtMu6g{Tyf>`5>SdL~nP?1G-2df@@{0E?h|l6$ zEYBW06Qp{2?*p`4&cqDV{rxpZ4`kvT4B1pP)_ybCQ{RTlrB29wh8i#a|ou!I|X)iv+&_CW8sIdYkz1(t^>0XQ?wjq8CF z2VqL?z-rCG*2;dzb zG$jp2WDp5o7msp76QlG|J^4OC%qT0odly3Fr7vJn6!3=^gF?jXiS~z8)u+2nR!>GS(M6l{+^8~;!uamV8HMAy(?`tYYL6U%k+#@x3qZFscnORSauJTU6(`6r;Ht}cy4~fBW@0g)37Ep zc;x+pIly}e4L&pJyBb4)VI4j}MY7x1OrDaP8D{p*4BODSHhlPPoLo0=wxgFM8}QMN jHMw+;x?g5F*I>K8fMk(K+x5JQgRAYD28zyM^$&}m4TPK1 literal 0 HcmV?d00001 diff --git a/app/soapbox/features/ui/index.js b/app/soapbox/features/ui/index.js index 6a556510c203cbca2bef6af5c1ae63a76bf7ceeb..010ee253f1acc4ff9a51d7c6cb4c4efe60b3e984 100644 GIT binary patch delta 51 zcmZ3!gK^eQ#tlEY*qsuSvr7w#H-F_4P-aU4b0$wzRbv5(PktaJF*!g&VKb|qk{$pK Ca}sj^ delta 19 bcmbQWlX3YD#tlEYHnVW^C~vONQ_=$fQQrpw diff --git a/app/soapbox/features/ui/util/async-components.js b/app/soapbox/features/ui/util/async-components.js index bc0c98ca8f44e4437360bac50d14b3f582e64466..52400138f67c59756bb8029f7348d648df2cffe0 100644 GIT binary patch delta 52 zcmZp%cyF=6Qk=~xF*&=mVDd!{Q;8%nvsg(%OJ7}2PalXNB9j%kBsN=$pJo97*%A=f delta 12 TcmaEF(PFW|Qhf6g@zX2-Bu@n) diff --git a/app/soapbox/reducers/backups.js b/app/soapbox/reducers/backups.js new file mode 100644 index 0000000000000000000000000000000000000000..913038ee8d81a233aecf88f159ff2e75b6a11ece GIT binary patch literal 686 zcmZuv%Wi`(5WMphdjllo+#97*f~eY5k*Yd5BZrvADlf5%+N$E;Yiyi=$^{wE?#|4P zRoT=n!LJ9f+s3b_H=aHv$M`wrr#MbHk0wC;o@|fF9qA!&>k@p%Rw5%+SGYQh?6Ygo zUwdjC3Nf;`ad#_dk$`ba-eSXGChbuRf?1-I0=%lnY9Puy~?oc46CjR za43(!$_QceXq>f@y0!uXGL#fpoPFq{uPT%+$xAB84{xn&uU{m=e=N96^QGu|(2mVs zg3-GZ1fxP^dEF)=yN-$m+%C>qa(y>h+Brb4zk@pYZL+(_TyzCN-c=?AH`^{l>z%GL z0vlCm7K2))Cbw6Nei~`-Gl6pXJv?as89ILy0}L?kd+G#TG{ckGb4O`|z|i;_jm&14 J%#7*5@*f><;xYgL literal 0 HcmV?d00001 diff --git a/app/soapbox/reducers/index.js b/app/soapbox/reducers/index.js index 00db40b1ef8b6c3ee90fb79ddb33d5e9912e9946..e8cb4821b974902c28cf061b7968c3c2f0f0726a 100644 GIT binary patch delta 58 zcmdlec~^47BX+sW+=Bd~5{0D1cZ>CG#+IGF&N CofU-u delta 17 ZcmcaBxlwY%BlgYA94DAIU*lqD0suq827Ukl diff --git a/app/styles/application.scss b/app/styles/application.scss index 91f5ec1926..366b7fcae7 100644 --- a/app/styles/application.scss +++ b/app/styles/application.scss @@ -80,6 +80,7 @@ @import 'components/accordion'; @import 'components/server-info'; @import 'components/admin'; +@import 'components/backups'; // Holiday @import 'holiday/halloween'; diff --git a/app/styles/components/backups.scss b/app/styles/components/backups.scss new file mode 100644 index 0000000000..57f1144f7f --- /dev/null +++ b/app/styles/components/backups.scss @@ -0,0 +1,13 @@ +.backup { + padding: 15px; + border-bottom: 1px solid var(--brand-color--faint); + + a { + color: var(--brand-color--hicontrast); + } + + &--pending { + font-style: italic; + color: var(--primary-text-color--faint); + } +}