omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Editing CSS files

    Pythonista
    6
    8
    6024
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kenbo01
      Kenbo01 last edited by

      I'm using Framework7 with Pythonista to create applications that have a proper ios7 look-and-feel. It's working quite well, and I'm happy to share examples if anyone's interested.

      One frustration I'm having though is that I can't edit .css files from with the Pythonista editor. This means I have to edit them on my computer and then re sync to Pythonista using Dropbox. Only takes a few seconds, but relies on me having my PC or laptop nearby.

      I know that .js and .html files can be edited directly, so not sure why .css editing is not supported. Accidental?

      Any fixes or workarounds?

      Thanks

      Ken

      1 Reply Last reply Reply Quote 0
      • briarfox
        briarfox last edited by

        @Kenbo01 I'd really like to see an example. sounds great.

        @omz I'd also like to add to the list .cfg and .tpl for the included bottle module. I usually have to append .txt to the end to allow viewing.

        1 Reply Last reply Reply Quote 0
        • derickfay
          derickfay last edited by

          Editorial 1.1 added the ability to specify additional editable file types - perhaps this is coming in Pythonista 1.5?

          1 Reply Last reply Reply Quote 0
          • bee18
            bee18 last edited by

            What is Framework7?

            1 Reply Last reply Reply Quote 0
            • omz
              omz last edited by

              I think @Kenbo01 is referring to this:

              http://www.idangero.us/framework7

              1 Reply Last reply Reply Quote 0
              • Kenbo01
                Kenbo01 last edited by

                Yes, @omz is right. Basically you use bottle as a webserver. Then statically serve the files comprising Framework7 (open source) including .css and .js along with pages dynamically generated in Pythonista. I've only done a very basic POC but you could get some very good results with a bit of effort. Even has pull to refresh implemented in Javascript.

                1 Reply Last reply Reply Quote 0
                • Pablo
                  Pablo last edited by

                  @Kenbo01: i'd like to see an example of this, and to have more details as to what your workflow is and how you integrate framework7 with pythonista.

                  Thanks in advance.

                  1 Reply Last reply Reply Quote 0
                  • Kenbo01
                    Kenbo01 last edited by

                    Ok, can put something up on Github later today.

                    It will basically look and respond identically to this:

                    http://www.idangero.us/framework7/dist/

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB Forums | Contributors