Giter Club home page Giter Club logo

py.html's People

Contributors

andrentfs avatar felipekatao avatar gitter-badger avatar paulinhomacedo avatar sivakumarjsl avatar trickpsv avatar w1llss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

py.html's Issues

Create new functions for console Py.Html

Create news functions for PyHtmlConsole.py
Targets: https://github.com/FelipeKatao/Py.Html/blob/master/PyHtmlConsole.py and https://github.com/FelipeKatao/Py.Html/blob/master/Framework/StyleTools.py

How add new function for console Py.Html
First add the new command to the command list in the PyHtmlConsole.py module.
LISTCOMMAND= ["help","create.html","exit","create.html.menu","create.html.form","set.path","link.css","create.element","create.html.responsive"]

After inside the ExecuteCommand method, add an if with the new command you created.
if command == "create.html.form": pass

Following are the commands you should add to the list and variable:

  • create.css
  • create.css.rule.class
  • create.css.rule.id
  • responsive.create

After creating these commands, later we will implement their use.

Back and not implements in Pyhtml

The PyHtmlBackEnd.py is one module create backend functions , its module not have functions. create backEnd with Flask Framework and SQL functions for DataBase.

Create Menu component

Create the Menu components with HTML and JS, with intaractive with user drop down style, for default with 4 itens.

The Console App wuth less functions

Craate new functions for app console, the console create soimetimes Html files and add new elements Div, the Console App can create menus and Css files or components. I know relacionaments with pyhtml.py and cssTool.py

Encoding text not is UTF-8

The py code save HTML or others files no in nUTF-8 encoding.

Problem: special character not is show in browser.
Solution: Insert code in block saves or edit code HTML or CSS:

 `OUTPUT_CODEC= "utf-8"
  with open(local,'r',encoding=OUTPUT_CODEC) as f:
        text=f.readlines()
        f.close()
        pass
    with open(local,'w',encoding=OUTPUT_CODEC) as f:
        LineIndex-=1
        text[LineIndex]=divNav
        for line in text:
            f.write(line)
        pass`

This solution its works! But will aplicate in all funcions Py.html

demo application

I'd like to suggest that you create a demo application to show how Py.Html is used.

For example, lots of frameworks contribute demo applications to http://todomvc.com as in the screenshot below.

The idea is that my looking at the code for a demo application, I can get a good idea of if I like the framework or not.

Screen Shot 2019-06-02 at 9 25 44 AM

Create new focus the Py.Html

improve the criate tags functions and Rules for CSS, in atual stage the functions works with broken functions, or bad performace

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.