Coder Social home page Coder Social logo

uralbash / pyramid_elfinder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aleksandr-rakov/elfinder-pyramid

2.0 3.0 1.0 5.45 MB

elfinder connector for pyramid framework

Python 1.08% CSS 6.44% JavaScript 92.03% Makefile 0.02% HTML 0.44%

pyramid_elfinder's Introduction

Build Status Coveralls Stories in Ready

Forked from elfinder-pyramid writed by Aleksandr Rakov

connector.py

This is conector for elfinder file manager, written for pyramid framework. Based on original https://github.com/Studio-42/elfinder-python/blob/master/connector.py and https://github.com/Studio-42/elfinder-python/blob/master/elFinder.py

Now you can find connector there http://github.com/ITCase/elfinder

How to try it:

In your virtualenv run:

$ git clone https://github.com/ITCase/pyramid_elfinder.git
$ cd pyramid_elfinder/example
$ python pyramid_elfinder_example.py

And open http://127.0.0.1:6543/ in your browser. Done!

Install to app:

add to config:

config.include('pyramid_elfinder')

goto http://localhost:6543/elfinder/

TinyMCE:

<script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
{% include 'elfinder/tinymce.jinja2' %}
<script>
  tinymce.init({
    selector:'textarea.tinymce',
    browser_spellcheck : true,
    content_css: ["/static_extra/css/tu.css", "/static_extra/css/mytiny.css"],
    plugins: "image link code contextmenu fullpage fullscreen "+
            "hr insertdatetime lists media paste preview "+
            "print table textcolor "+
            "visualchars wordcount",
    toolbar1: "fullpage preview print forecolor backcolor inserttable",
    toolbar2: "styleselect formatselect fontselect fontsizeselect cut copy paste  removeformat subscript superscript",
    toolbar3: "undo redo | bold italic underline strikethrough | bullist numlist outdent indent blockquote | alignleft aligncenter alignright alignjustify |",
    file_browser_callback: elFinderBrowser,
  });
</script>
<textarea class="tinymce"></textarea>

Notes:

  • This connector support only v.1 protocol
  • requires PIL for thumbnail generator

pyramid_elfinder's People

Contributors

aleksandr-rakov avatar changesomecode avatar uralbash avatar waffle-iron avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

timgates42

pyramid_elfinder's Issues

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.