Changeset 17174


Ignore:
Timestamp:
25 Nov 2022, 08:42:37 (22 months ago)
Author:
Henrik Bettermann
Message:

Make submit button invisible in auto submit forms.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/layout/static/css/base.css

    r13936 r17174  
    123123    font-weight: bold;
    124124    line-height: 36px;
     125}
     126
     127.invisible {
     128    background-color: white;
     129    border-color: white;
     130    color: white;
     131    font-size: 0px;
    125132}
    126133
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/layout.py

    r16120 r17174  
    8989            self.tooltip = ' data-toggle="tooltip" title="%s"' % tooltip
    9090        if self.style:
    91             style = ' class="btn btn-%s"' % self.style
     91            if self.style == 'invisible':
     92                style = ' class="invisible"'
     93            else:
     94                style = ' class="btn btn-%s"' % self.style
    9295        else:
    9396            style = ' class="btn btn-default"'
Note: See TracChangeset for help on using the changeset viewer.