*** replaceafill has joined #novawebdev | 09:42 | |
*** mr_german has joined #novawebdev | 11:27 | |
mr_german | good morning | 11:33 |
---|---|---|
replaceafill | good morning mr_german | 11:37 |
mr_german | replaceafill, I want to work on something so, I'd like to take an issue from gitlab | 11:40 |
replaceafill | mr_german, you never showed me anything on the issue you said you'd take | 11:41 |
replaceafill | mr_german, i mean this: https://gitlab.com/novawebdevelopment/helios-aea/issues/6 | 11:42 |
mr_german | replaceafill, ok | 11:42 |
replaceafill | mr_german, have a few minutes to chat? 10-15? | 12:02 |
mr_german | yes | 12:02 |
replaceafill | mr_german, i have an idea that maybe you can help us with | 12:02 |
replaceafill | mr_german, so, we have several pieces in our "product" right? | 12:03 |
replaceafill | mr_german, tendenci | 12:03 |
mr_german | yes | 12:03 |
replaceafill | mr_german, helios | 12:03 |
replaceafill | mr_german, and usually a static php site | 12:03 |
mr_german | yep | 12:03 |
replaceafill | mr_german, let's use aea as an example | 12:03 |
replaceafill | mr_german, their site is the static one ported to php | 12:03 |
replaceafill | mr_german, you designed it iirc | 12:04 |
replaceafill | mr_german, it has some templates split into header, content, footer | 12:04 |
mr_german | yep | 12:04 |
replaceafill | mr_german, then we have tendenci | 12:04 |
replaceafill | mr_german, which you know a bit from the nea4or theme days | 12:04 |
replaceafill | mr_german, the goal is usually to have a tendenci theme | 12:05 |
replaceafill | mr_german, that "mimics" the static site | 12:05 |
replaceafill | mr_german, we usually copy the html structure | 12:05 |
mr_german | really? | 12:05 |
replaceafill | mr_german, and try to reuse the css/js/image assets | 12:05 |
replaceafill | mr_german, yeah, see the ourrevolutionarlington theme for tendenci | 12:06 |
replaceafill | mr_german, it tries to recreate the same html you created for the php version | 12:06 |
replaceafill | mr_german, inserting tendenci pieces inside | 12:07 |
replaceafill | mr_german, but keeping the html structure | 12:07 |
replaceafill | mr_german, so far so good? | 12:07 |
mr_german | yeah, I think that was hard for you to make it? | 12:08 |
mr_german | right? | 12:08 |
replaceafill | mr_german, what was hard? | 12:09 |
mr_german | create the theme for tendenci using my html | 12:09 |
mr_german | o not? | 12:09 |
replaceafill | mr_german, well, that's the point of this conversation really | 12:09 |
replaceafill | mr_german, but let's talk helios now | 12:09 |
replaceafill | mr_german, since helios is split between booth (js) and the django part | 12:10 |
replaceafill | mr_german, the task becomes a bit harder | 12:10 |
replaceafill | mr_german, you still try to recreate the html structure | 12:10 |
replaceafill | mr_german, you did that with your own design | 12:10 |
replaceafill | mr_german, remember? | 12:10 |
mr_german | yes | 12:11 |
replaceafill | mr_german, so | 12:12 |
replaceafill | mr_german, my dream would be to design a theme that works for all the apps (static website, tendenci and helios) | 12:13 |
replaceafill | mr_german, one advantage is that tendenci and part of helios is django | 12:13 |
replaceafill | mr_german, and they use django templates (jinja-ish) for that | 12:13 |
replaceafill | mr_german, jelkner and i have been discussing moving the static sites away from php... again | 12:14 |
mr_german | replaceafill, it would be possible but, hard to get there. | 12:14 |
replaceafill | mr_german, how do you think it's possible? | 12:15 |
mr_german | I meant your dream to create a theme that works for all the apps or am I wrong? | 12:16 |
replaceafill | mr_german, well, that's what i'd like to have | 12:16 |
replaceafill | mr_german, but i have no idea how to get there :S | 12:16 |
replaceafill | mr_german, but i'd like to do some experiments | 12:16 |
replaceafill | mr_german, and you know all the components at this point | 12:17 |
replaceafill | mr_german, you have set up all of them at least once | 12:17 |
mr_german | replaceafill, yes, Id like to work with you on that if it is possible | 12:17 |
replaceafill | mr_german, it would have to be something like this | 12:19 |
replaceafill | mr_german, create a very simple app in flask using jinja templates | 12:19 |
replaceafill | mr_german, just a homepage | 12:19 |
mr_german | oh | 12:19 |
replaceafill | mr_german, with some dummy navigation links | 12:19 |
mr_german | like nova, elizanbeth guzman | 12:20 |
mr_german | etc | 12:20 |
replaceafill | mr_german, put the templates/css/js in a separate directory | 12:20 |
replaceafill | mr_german, like "shared" that you used for your helios branch | 12:21 |
replaceafill | mr_german, and try to create a tendenci theme from it | 12:21 |
mr_german | I understand | 12:21 |
replaceafill | mr_german, but i'd have to be exactly the same template | 12:22 |
replaceafill | mr_german, hold on | 12:22 |
mr_german | ok | 12:22 |
replaceafill | mr_german, see what we did with zOnny for ORA: https://gitlab.com/novawebdevelopment/tendenci-theme-ora/blob/master/templates/base.html | 12:23 |
replaceafill | mr_german, it's mostly html with just line 100 being jinja | 12:23 |
mr_german | replaceafill, yeah, I can see that | 12:23 |
replaceafill | mr_german, well that and some dynamic parts of the menu | 12:23 |
mr_german | its looks like a simple template | 12:23 |
replaceafill | mr_german, if we could at least share the "base.html" template between the flask app and the tendenci theme | 12:24 |
replaceafill | mr_german, then we're in business :) | 12:24 |
replaceafill | mr_german, the ORA theme already uses a separate submodule for the shared assets | 12:25 |
replaceafill | mr_german, anyway, that's all i wanted to share | 12:26 |
replaceafill | mr_german, it's just an idea at this point | 12:26 |
replaceafill | mr_german, if you're interested in spending **** A COUPLE OF HOURS **** experimenting with that | 12:26 |
replaceafill | mr_german, i think you could get a prototype or even demonstrate it's a dumb idea | 12:27 |
mr_german | replaceafill, using flask? | 12:27 |
replaceafill | mr_german, yes | 12:27 |
replaceafill | mr_german, again | 12:27 |
replaceafill | mr_german, we're assuming that flask's jinja is very similar to django templates | 12:28 |
replaceafill | mr_german, but if you focus on flask just using something like line 100 | 12:28 |
replaceafill | mr_german, just a {% block content %}{% endblock %} | 12:28 |
mr_german | replaceafill, well, I'll work on the helios issues and then I'll create a simple flask site to start with this | 12:29 |
replaceafill | mr_german, and maybe one for the page title like the ORA template | 12:29 |
replaceafill | mr_german, you'll need tendenci too and a theme for it | 12:29 |
replaceafill | mr_german, but i think you know how to do that already, right? | 12:29 |
mr_german | yes! | 12:29 |
replaceafill | mr_german, cool, but don't waste too much time on it | 12:30 |
mr_german | replaceafill, If I get stuck with something I'll call u | 12:30 |
replaceafill | mr_german, and it doesn't have to be a full fledged application/theme | 12:30 |
mr_german | replaceafill, k | 12:30 |
replaceafill | mr_german, just <body><nav><main><h1>hello world</....> | 12:31 |
replaceafill | mr_german, nav with a few options ofc | 12:31 |
mr_german | some colors | 12:31 |
mr_german | etc | 12:31 |
mr_german | ? | 12:31 |
replaceafill | mr_german, no | 12:31 |
replaceafill | mr_german, we just care about sharing the html structure at this point | 12:31 |
mr_german | Oh | 12:31 |
mr_german | ok | 12:31 |
mr_german | got it | 12:31 |
replaceafill | mr_german, we care about the link to the stylesheet, that's all | 12:32 |
replaceafill | mr_german, the stylesheet may be emtpy | 12:32 |
replaceafill | mr_german, same with some js script | 12:32 |
replaceafill | mr_german, just insert a <link /> to it | 12:32 |
replaceafill | mr_german, and put an empty .js file in place | 12:32 |
mr_german | k | 12:32 |
replaceafill | mr_german, then make tendenci to reuse EXACTLY THE SAME folder | 12:33 |
replaceafill | mr_german, the flask app and tendenci may add their own templates/css | 12:33 |
replaceafill | mr_german, but the goal is that they share at least the base.html | 12:33 |
mr_german | ok | 12:33 |
replaceafill | mr_german, ok, that's all i have | 12:33 |
replaceafill | mr_german, thanks! | 12:33 |
mr_german | replaceafill, thanks for ur time | 12:37 |
mr_german | replaceafill, one question | 12:37 |
replaceafill | replaceafill, yes? | 12:37 |
mr_german | replaceafill, its about the embassy | 12:37 |
replaceafill | replaceafill, yes? | 12:37 |
mr_german | replaceafill, when we should meet or talk about my interview | 12:38 |
mr_german | ? | 12:38 |
replaceafill | mr_german, does thursday 10 our time work for you? | 12:38 |
mr_german | yes | 12:38 |
mr_german | replaceafill, it works for me | 12:39 |
replaceafill | mr_german, your interview is next wednesday, right? | 12:39 |
replaceafill | mr_german, the 7th? | 12:39 |
mr_german | yep | 12:39 |
mr_german | at 7:40am | 12:39 |
replaceafill | mr_german, cool, thursday works then | 12:39 |
mr_german | replaceafill, k | 12:40 |
replaceafill | ACTION goes to get lunch, bb in ~1h | 14:50 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!