askvortsov1 / dynamic-django-forms

A simple, reusable Django app that allows you to build (and respond to) dynamic forms. Perfect for surveys, position applications, etc.
MIT License
44 stars 12 forks source link

Grappelli support #20

Open Mte90 opened 2 years ago

Mte90 commented 2 years ago

So I integrated this package with https://grappelliproject.com/ As doesn't use bootstrap some things are broken, this css fix it:

        td a {
            position: relative;
            top: 1px;
        }
        table.grp-table tbody tr td {
            font-size: 12px;
            font-weight: bold;
        }
        .field-title {
            min-width:200px;
        }
        .btn {
            background-color: #28728a;
            min-width:50px;
            padding: 0 !important;
        }
        .btn-danger {
            background-color: #e8c923;
            min-width:50px;
        }
        .cb-wrap.pull-right {
            inset: 0px !important;
        }
askvortsov1 commented 1 year ago

Sorry for the late reply. just put this on the README (a bit too late, tbh), but I'm not using Django in any projects, and am open to someone else taking over maintenance of this package. I don't really have the time or need to push new features at the moment.