GithubHelp home page GithubHelp logo

mwd1993 / quykhtml Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 0.0 28.78 MB

A python library that allows you to quickly and easily generate HTML templates and even create full-on websites.

License: MIT License

Python 100.00%
ajax bootstrap css css3 form formbuilder generated generated-code html html-css-javascript html5 jquery markup-language python python3 template-metaprogramming templating

quykhtml's People

Contributors

mwd1993 avatar

Stargazers

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

Watchers

 avatar

quykhtml's Issues

Deprecated method set_img_src (wrong functionality)

def set_img_src(self, _str):

This method actually tries to set a link, so the functionality of the method is wrong.
Also, we need to update the method doc to let users know this method is Deprecated

Should change the method from:

def set_img_src(self, _str):
            """
            Sets an images source (external url or local url)
            returns: self
            """
            self.add_attribute('src="' + _str + '"')
            return 

To this:

def set_img_src(self, _str):
            """
            (Deprecated - use set_img_background instead)
            Sets an images background
            returns: self
            """
            self.set_img_background(_str)
            return 

Simply rerouting it to the real method 'set_img_background' (though set_img_src is deprecated, we will be keeping it for backwards compatibility)

qhtml.render(set_clip_board=True)

The function to set to a users clipboard may need to be written in pure python instead of relying on a library.
Test on fresh installation?

on_click_show_preview

image scaling

Need to fix image scaling for mobile and other small screened devices.

close preview container mobile

Give mobile users a way to remove the preview container ( button ? )

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.