From 02d141920451d234e7116ff19fe870902e2abb87 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 3 Aug 2019 12:28:27 +0200 Subject: [PATCH] Telegram login improvements --- royalnet/web/royalprints/tglogin/__init__.py | 4 +-- .../tglogin/templates/tglogin_index.html | 32 ++++++++++--------- royalnet/web/static/ryg.css | 11 +++++++ royalnet/web/static/ryg.css.map | 2 +- royalnet/web/static/ryg.less | 14 ++++++++ royalnet/web/templates/base.html | 2 +- 6 files changed, 46 insertions(+), 19 deletions(-) diff --git a/royalnet/web/royalprints/tglogin/__init__.py b/royalnet/web/royalprints/tglogin/__init__.py index 780a8ddf..115cac70 100644 --- a/royalnet/web/royalprints/tglogin/__init__.py +++ b/royalnet/web/royalprints/tglogin/__init__.py @@ -16,8 +16,8 @@ rp = Royalprint("tglogin", __name__, url_prefix="/login/telegram", required_tabl @rp.route("/") def tglogin_index(): - if f.request.url_root != "https://ryg.steffo.eu/": - return error(404, "Il login tramite Telegram non è possibile su questo dominio.") + #if f.request.url_root != "https://ryg.steffo.eu/": + # return error(404, "Il login tramite Telegram non è possibile su questo dominio.") f.session.pop("royal", None) return f.render_template("tglogin_index.html") diff --git a/royalnet/web/royalprints/tglogin/templates/tglogin_index.html b/royalnet/web/royalprints/tglogin/templates/tglogin_index.html index 03a5e3b3..20b38606 100644 --- a/royalnet/web/royalprints/tglogin/templates/tglogin_index.html +++ b/royalnet/web/royalprints/tglogin/templates/tglogin_index.html @@ -12,26 +12,28 @@
+

- Facendo il login su questo sito, acconsenti a ricevere due biscottini che memorizzino l'account con cui hai fatto il login.
+ Per fare il login, devi aver syncato il tuo account sul gruppo Telegram Royal Games!

-

- Essi avranno il seguente formato: -

-
session["royal"] = {
-"uid": [il tuo id Royalnet]
-"username": [il tuo username Royalnet],
-"avatar": [il tuo avatar Royalnet],
-"role": [il tuo ruolo Royalnet]
+            
+

+ Facendo il login su questo sito, acconsenti a ricevere due biscottini che memorizzino l'account con cui hai fatto il login.
+

+

+ Essi avranno il seguente formato: +

+
session["royal"] = {
+    "uid": [il tuo id Royalnet]
+    "username": [il tuo username Royalnet],
+    "avatar": [il tuo avatar Royalnet],
+    "role": [il tuo ruolo Royalnet]
 }
 
 session["login_date"] = [la data e l'ora di adesso]
-

- -

-

- Nota: per fare il login, devi aver syncato il tuo account sul gruppo Telegram Royal Games! -

+
{% endblock %} diff --git a/royalnet/web/static/ryg.css b/royalnet/web/static/ryg.css index 3fd0fe90..986e1105 100644 --- a/royalnet/web/static/ryg.css +++ b/royalnet/web/static/ryg.css @@ -336,6 +336,13 @@ form.full label.label-big * { .disabled { opacity: 0.3; } +/*** Modifiers ***/ +.tiny { + font-size: xx-small; +} +.center { + margin: auto; +} /*** Custom elements ***/ .CodeMirror { font-family: "Consolas", monospace !important; @@ -751,4 +758,8 @@ form.full label.label-big * { .profile .profile-stats .stats-value { font-weight: bold; } +.tg-login-container { + width: 238px; + height: 40px; +} /*# sourceMappingURL=ryg.css.map */ \ No newline at end of file diff --git a/royalnet/web/static/ryg.css.map b/royalnet/web/static/ryg.css.map index 8882cdba..e22f0413 100644 --- a/royalnet/web/static/ryg.css.map +++ b/royalnet/web/static/ryg.css.map @@ -1 +1 @@ -{"version":3,"sources":["ryg.less"],"names":[],"mappings":";;AA2BA;EACI,aAPS,SAAS,4BAOlB;EACA,yBAAA;EACA,cAAA;EACA,sBAAA;;AAGJ;EACI,cAAA;EACA,qBAAA;;AAEA,CAAC;EACG,cAAA;;AAGJ,CAAC;EACG,YAAA;;AAOA,CAFH,IAAI,UAEA;EACG,aAAa,qBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAVH,IAAI,UAUA,sBAAsB;EACnB,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAlBH,IAAI,UAkBA,iCAAiC;AAAU,CAlB/C,IAAI,UAkB4C,0BAA0B;EACnE,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;E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AAA;EACA,iBAAA;;AAbZ,OAII,gBAYI;EACI,eAAA;EACA,kBAAA;;AAlBZ,OAsBI;EACI,WAAA;EACA,oBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;EACA,kBAAA;;AA5BR,OAsBI,cAQI;EACI,kBAAA;;AA/BZ,OAmCI;EACI,WAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAxCR,OA2CI;EACI,WAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAjDR,OAoDI;EACI,WAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAGJ,OAAC;EACG,kBAAA;EACA,0CAAA;EACA,8BAAA;;AAEA,OALH,eAKI;EACG,cAAA;;;AASZ;EACI,aAAA;EAEA,qCAAA;EACA,qBAAA;EAEA,mBAAA;;AANJ,cAQI;EACI,cAAA;EACA,iBAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;;AAbR,cAQI,eAOI;EACI,WAAA;EACA,YAAA;;AAjBZ,cAqBI;EACI,iBAAA;EAEA,cAAA;EACA,mBAAA;EACA,WAAA;;AA1BR,cAqBI,kBAOI;EACI,cAAA;;AA7BZ,cAqBI,kBAWI;EACI,cAAA;;AAjCZ,cAqCI;EACI,cAAA;EACA,mBAAA;EACA,WAAA;;AAxCR,cA2CI;EACI,cAAA;EACA,iBAAA;EACA,WAAA;;AA9CR,cAiDI;EACI,cAAA;EACA,iBAAA;EACA,WAAA;;AAIR,QAEI,eAEI;EACI,aA/4BM,YAAY,4BA+4BlB;;AALZ,QAEI,eAMI;EACI,cAAA;;AATZ,QAaI,eAEI;EACI,iBAAA","file":"ryg.css"} \ No newline at end of file +{"version":3,"sources":["ryg.less"],"names":[],"mappings":";;AA2BA;EACI,aAPS,SAAS,4BAOlB;EACA,yBAAA;EACA,cAAA;EACA,sBAAA;;AAGJ;EACI,cAAA;EACA,qBAAA;;AAEA,CAAC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;;AAxCR,cA2CI;EACI,cAAA;EACA,iBAAA;EACA,WAAA;;AA9CR,cAiDI;EACI,cAAA;EACA,iBAAA;EACA,WAAA;;AAIR,QAEI,eAEI;EACI,aAx5BM,YAAY,4BAw5BlB;;AALZ,QAEI,eAMI;EACI,cAAA;;AATZ,QAaI,eAEI;EACI,iBAAA;;AAKZ;EACI,YAAA;EACA,YAAA","file":"ryg.css"} \ No newline at end of file diff --git a/royalnet/web/static/ryg.less b/royalnet/web/static/ryg.less index a006d6ab..5b76d1f2 100644 --- a/royalnet/web/static/ryg.less +++ b/royalnet/web/static/ryg.less @@ -418,6 +418,15 @@ form.full { } +/*** Modifiers ***/ +.tiny { + font-size: xx-small; +} + +.center { + margin: auto; +} + /*** Custom elements ***/ @@ -946,3 +955,8 @@ form.full { } } } + +.tg-login-container { + width: 238px; + height: 40px; +} diff --git a/royalnet/web/templates/base.html b/royalnet/web/templates/base.html index c22151c3..9d1f0949 100644 --- a/royalnet/web/templates/base.html +++ b/royalnet/web/templates/base.html @@ -46,7 +46,7 @@ {% else %}