From 4b83d3792ee5a93d682287f25f34b5dc17d4c5fe Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 6 Jul 2019 01:49:44 +0300 Subject: [PATCH] Finishing touches --- royalnet/web/royalprints/diarioview/__init__.py | 4 ++-- .../diarioview/templates/diarioview_page.html | 10 ++++++++-- royalnet/web/royalprints/home/templates/home.html | 2 +- royalnet/web/royalprints/tglogin/__init__.py | 2 +- royalnet/web/royalprints/wikiedit/__init__.py | 2 +- royalnet/web/royalprints/wikiview/__init__.py | 2 +- royalnet/web/static/ryg.css | 9 +++++++-- royalnet/web/static/ryg.css.map | 2 +- royalnet/web/static/ryg.less | 10 ++++++++-- royalnet/web/templates/base.html | 1 + 10 files changed, 31 insertions(+), 13 deletions(-) diff --git a/royalnet/web/royalprints/diarioview/__init__.py b/royalnet/web/royalprints/diarioview/__init__.py index 07ffbc66..b3c81030 100644 --- a/royalnet/web/royalprints/diarioview/__init__.py +++ b/royalnet/web/royalprints/diarioview/__init__.py @@ -7,13 +7,13 @@ from ....database.tables import Royal, Diario tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates') -rp = Royalprint("diarioview", __name__, url_prefix="/diarioview", template_folder=tmpl_dir, +rp = Royalprint("diarioview", __name__, url_prefix="/diario", template_folder=tmpl_dir, required_tables={Royal, Diario}) @rp.route("/", defaults={"page": 1}) @rp.route("/") -def diarioview_index(page): +def diarioview_page(page): alchemy, alchemy_session = f.current_app.config["ALCHEMY"], f.current_app.config["ALCHEMY_SESSION"] if page < 1: return "Page should be >1", 404 diff --git a/royalnet/web/royalprints/diarioview/templates/diarioview_page.html b/royalnet/web/royalprints/diarioview/templates/diarioview_page.html index b6728577..3480aadd 100644 --- a/royalnet/web/royalprints/diarioview/templates/diarioview_page.html +++ b/royalnet/web/royalprints/diarioview/templates/diarioview_page.html @@ -6,11 +6,14 @@ {% block content %}
+ {% if page > 1 %} + Pagina precedente + {% endif %} {% for entry in entries %}
{% if entry.media_url %} - Caricamento immagine fallito + Caricamento immagine fallito {% endif %} {% if entry.text %} "{{ entry.text }}" @@ -33,8 +36,11 @@
Salvato da {{ entry.creator.username }}
{% endif %} - #{{ entry.diario_id }} + #{{ entry.diario_id }}
{% endfor %} + {% if entries|length == 1000 %} + Pagina successiva + {% endif %}
{% endblock %} diff --git a/royalnet/web/royalprints/home/templates/home.html b/royalnet/web/royalprints/home/templates/home.html index 268a36a4..e9f55117 100644 --- a/royalnet/web/royalprints/home/templates/home.html +++ b/royalnet/web/royalprints/home/templates/home.html @@ -10,7 +10,7 @@ Under construction
- Non c'è ancora niente qui. O quasi. C'è solo la wiki in sola lettura e il login con Telegram... + Lentamente, su questo sito stanno apparendo nuove features. Come il diario!
{% endblock %} \ No newline at end of file diff --git a/royalnet/web/royalprints/tglogin/__init__.py b/royalnet/web/royalprints/tglogin/__init__.py index 8f75af47..1fac857f 100644 --- a/royalnet/web/royalprints/tglogin/__init__.py +++ b/royalnet/web/royalprints/tglogin/__init__.py @@ -9,7 +9,7 @@ from ....database.tables import Royal, Telegram tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates') -rp = Royalprint("tglogin", __name__, url_prefix="/tglogin", required_tables={Royal, Telegram}, +rp = Royalprint("tglogin", __name__, url_prefix="/login/telegram", required_tables={Royal, Telegram}, template_folder=tmpl_dir) diff --git a/royalnet/web/royalprints/wikiedit/__init__.py b/royalnet/web/royalprints/wikiedit/__init__.py index bf5264cb..d903c8ee 100644 --- a/royalnet/web/royalprints/wikiedit/__init__.py +++ b/royalnet/web/royalprints/wikiedit/__init__.py @@ -9,7 +9,7 @@ from ....database.tables import Royal, WikiPage, WikiRevision tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates') -rp = Royalprint("wikiedit", __name__, url_prefix="/wikiedit", template_folder=tmpl_dir, +rp = Royalprint("wikiedit", __name__, url_prefix="/wiki/edit", template_folder=tmpl_dir, required_tables={Royal, WikiPage, WikiRevision}) diff --git a/royalnet/web/royalprints/wikiview/__init__.py b/royalnet/web/royalprints/wikiview/__init__.py index 12334100..70a77e97 100644 --- a/royalnet/web/royalprints/wikiview/__init__.py +++ b/royalnet/web/royalprints/wikiview/__init__.py @@ -10,7 +10,7 @@ from ....database.tables import Royal, WikiPage, WikiRevision tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates') -rp = Royalprint("wikiview", __name__, url_prefix="/wikiview", template_folder=tmpl_dir, +rp = Royalprint("wikiview", __name__, url_prefix="/wiki/view", template_folder=tmpl_dir, required_tables={Royal, WikiPage, WikiRevision}) diff --git a/royalnet/web/static/ryg.css b/royalnet/web/static/ryg.css index c2aa33f1..0622a526 100644 --- a/royalnet/web/static/ryg.css +++ b/royalnet/web/static/ryg.css @@ -648,11 +648,16 @@ button[disabled=""] { grid-row: 1; grid-column-start: 1; grid-column-end: 4; - margin-top: 2px; - margin-bottom: 2px; } .diario .diario-content .diario-img { color: red; + margin-top: 2px; + margin-bottom: 2px; + max-height: 400px; +} +.diario .diario-content .diario-text { + margin-top: 2px; + margin-bottom: 2px; } .diario .diario-quote { grid-row: 2; diff --git a/royalnet/web/static/ryg.css.map b/royalnet/web/static/ryg.css.map index b252ebd8..3b64b2c3 100644 --- a/royalnet/web/static/ryg.css.map +++ b/royalnet/web/static/ryg.css.map @@ -1 +1 @@ -{"version":3,"sources":["ryg.less"],"names":[],"mappings":"AAuBA;EACI,aALS,SAAS,4BAKlB;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,I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;AAXZ,mBACI,KAaI;AAdR,mBACI,KAaQ;AAdZ,mBACI,KAaY;AAdhB,mBACI,KAagB;AAdpB,mBACI,KAaoB;AAdxB,mBACI,KAawB;EAChB,kBAAA;EACA,qBAAA;;AAKZ;EACI,aAAA;EACA,mCAAA;;AAFJ,OAII;EACI,WAAA;EACA,oBAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AATR,OAII,gBAOI;EACI,UAAA;;AAZZ,OAgBI;EACI,WAAA;EACA,oBAAA;EACA,kBAAA;EACA,gBAAA;EACA,eAAA;EACA,kBAAA;;AAtBR,OAgBI,cAQI;EACI,kBAAA;;AAzBZ,OA6BI;EACI,WAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AAlCR,OAqCI;EACI,WAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,kBAAA;;AA3CR,OA8CI;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","file":"ryg.css"} \ No newline at end of file +{"version":3,"sources":["ryg.less"],"names":[],"mappings":"AAuBA;EACI,aALS,SAAS,4BAKlB;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;EACA,iBAA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AdpB,mBACI,KAaoB;AAdxB,mBACI,KAawB;EAChB,kBAAA;EACA,qBAAA;;AAKZ;EACI,aAAA;EACA,mCAAA;;AAFJ,OAII;EACI,WAAA;EACA,oBAAA;EACA,kBAAA;;AAPR,OAII,gBAKI;EACI,UAAA;EACA,eAAA;EACA,kBAAA;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","file":"ryg.css"} \ No newline at end of file diff --git a/royalnet/web/static/ryg.less b/royalnet/web/static/ryg.less index 60c49e50..1f011f65 100644 --- a/royalnet/web/static/ryg.less +++ b/royalnet/web/static/ryg.less @@ -792,11 +792,17 @@ table { grid-row: 1; grid-column-start: 1; grid-column-end: 4; - margin-top: 2px; - margin-bottom: 2px; .diario-img { color: red; + margin-top: 2px; + margin-bottom: 2px; + max-height: 400px; + } + + .diario-text { + margin-top: 2px; + margin-bottom: 2px; } } diff --git a/royalnet/web/templates/base.html b/royalnet/web/templates/base.html index dc5be072..876e0f3c 100644 --- a/royalnet/web/templates/base.html +++ b/royalnet/web/templates/base.html @@ -27,6 +27,7 @@ Wiki + Diario