π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: formatting
mngshmcf6cd23ea450
diff --git a/infra/staff/src/App.css b/infra/staff/src/App.cssindex ec7df397e9..1ebb973048 100644--- a/infra/staff/src/App.css+++ b/infra/staff/src/App.css@@ -1,8 +1,8 @@.container {- max-width: 1200px;- height: auto;- align-items: center;- margin: 0 auto;+ max-width: 1200px;+ height: auto;+ align-items: center;+ margin: 0 auto;}.center-table {@@ -290,33 +290,29 @@/* Mobile */@media screen and (max-width: 475px) {- .link-text {- font-size: 25px;- text-align: center;- }- .input-form {- max-width: 400px;- align-items: center;- gap: 20px;- flex-direction: row;- }- .text-field-token {-- }- .horizontal-group {- width: 500px;- flex-direction: column;- }+ .link-text {+ font-size: 25px;+ text-align: center;+ }+ .input-form {+ max-width: 400px;+ align-items: center;+ gap: 20px;+ flex-direction: row;+ }+ .text-field-token {+ }+ .horizontal-group {+ width: 500px;+ flex-direction: column;+ }}@media screen and (max-width: 576px) {-}@media screen and (max-width: 900px) {-}@media screen and (max-width: 1200px) {-}diff --git a/infra/staff/src/App.tsx b/infra/staff/src/App.tsxindex cecbeca28f..98e1725ac2 100644--- a/infra/staff/src/App.tsx+++ b/infra/staff/src/App.tsx@@ -234,66 +234,69 @@ const App: React.FC = () => {return (<div className="container">- <div>- <form className="input-form" onKeyPress={handleKeyPress}>- <div className="horizontal-group">- <a- href="https://staff.ente.sh"- target="_blank"- rel="noopener noreferrer"- className="link-text"- >- staff.ente.sh- </a>+ <div>+ <form className="input-form" onKeyPress={handleKeyPress}>+ <div className="horizontal-group">+ <a+ href="https://staff.ente.sh"+ target="_blank"+ rel="noopener noreferrer"+ className="link-text"+ >+ staff.ente.sh+ </a>- <TextField- label="Token"- value={localToken}- onChange={(e) => {- setLocalToken(e.target.value);- setToken(e.target.value);- }}- size="medium"- className="text-field-token"- style={{ maxWidth: "parent" }}- />- <TextField- label="Email"- value={localEmail}- onChange={(e) => {- setLocalEmail(e.target.value);- setEmail(e.target.value);- }}- size="medium"- className="text-field-email"- style={{ width: "parent" }}- />- <div className="fetch-button-container">- <Button- variant="contained"- onClick={() => {- fetchData().catch((error: unknown) =>- console.error("Fetch data error:", error),- );+ <TextField+ label="Token"+ value={localToken}+ onChange={(e) => {+ setLocalToken(e.target.value);+ setToken(e.target.value);}}- className="fetch-button"- style={{- padding: "0 16px",+ size="medium"+ className="text-field-token"+ style={{ maxWidth: "parent" }}+ />+ <TextField+ label="Email"+ value={localEmail}+ onChange={(e) => {+ setLocalEmail(e.target.value);+ setEmail(e.target.value);}}- >- FETCH- </Button>+ size="medium"+ className="text-field-email"+ style={{ width: "parent" }}+ />+ <div className="fetch-button-container">+ <Button+ variant="contained"+ onClick={() => {+ fetchData().catch((error: unknown) =>+ console.error(+ "Fetch data error:",+ error,+ ),+ );+ }}+ className="fetch-button"+ style={{+ padding: "0 16px",+ }}+ >+ FETCH+ </Button>+ </div></div>- </div>- </form>+ </form></div><div className="content-container">{loading ? (<CircularProgress- sx={{- color: "black",- top: "200px",- position: "fixed"+ sx={{+ color: "black",+ top: "200px",+ position: "fixed",}}/>) : error ? (