Update markup of templates to Bootstrap 5 (#173)

* Update markup of all buttons, forms and input elements to Bootstrap 4

* Add documentByLine in the card-header. Add commentBody in the card-body

* Update CHANGES.txt

* Update @@manage-comments.pt moderation interface with Bootstrap 4

* bs5 form updates

* add bootstrap icon from resolver

* update bindings for button

* update markup for bootstrap 5

* turn configlet portlets into menu

* turn configlet portlets into menu (2)

* bootstrap b1 changes

* major version bump

Co-authored-by: Peter Holzer <peter.holzer@agitator.com>
Co-authored-by: Jens W. Klein <jk@kleinundpartner.at>
Co-authored-by: Peter Mathis <peter.mathis@kombinat.at>
This commit is contained in:
André Gonçalves
2021-02-13 09:56:21 +01:00
committed by GitHub
co-authored by Peter Holzer Jens W. Klein Peter Mathis
parent e5568c32af
commit 5d0d97a432
8 changed files with 217 additions and 187 deletions
+2 -2
View File
@@ -140,9 +140,9 @@ class CommentForm(extensible.ExtensibleForm, form.Form):
def updateActions(self):
super(CommentForm, self).updateActions()
self.actions['cancel'].addClass('standalone')
self.actions['cancel'].addClass('btn btn-secondary')
self.actions['cancel'].addClass('hide')
self.actions['comment'].addClass('context')
self.actions['comment'].addClass('btn btn-primary')
def get_author(self, data):
context = aq_inner(self.context)