mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 21:54:06 +00:00
Correct invalid table markup
- Add required <tr> within <thead> - Add implicit <tbody> after <thead>
This commit is contained in:
parent
097470bb0c
commit
1f31c1c80d
37 changed files with 330 additions and 291 deletions
|
|
@ -7,10 +7,11 @@
|
|||
.well
|
||||
%table.datatable#event_registrations
|
||||
%thead
|
||||
%th ID
|
||||
%th Conference
|
||||
%th Title
|
||||
%th Attended
|
||||
%tr
|
||||
%th ID
|
||||
%th Conference
|
||||
%th Title
|
||||
%th Attended
|
||||
%tbody
|
||||
- @user.events_registrations.each do |event_registration|
|
||||
- event = event_registration.event
|
||||
|
|
|
|||
|
|
@ -6,13 +6,14 @@
|
|||
.well
|
||||
%table.datatable#submissions
|
||||
%thead
|
||||
%th ID
|
||||
%th Conference
|
||||
%th Title
|
||||
%th State
|
||||
%th Type
|
||||
%th Rating
|
||||
%th Created At
|
||||
%tr
|
||||
%th ID
|
||||
%th Conference
|
||||
%th Title
|
||||
%th State
|
||||
%th Type
|
||||
%th Rating
|
||||
%th Created At
|
||||
%tbody
|
||||
- @user.events.each do |event|
|
||||
%tr
|
||||
|
|
|
|||
|
|
@ -12,13 +12,14 @@
|
|||
.col-md-12.table-responsive
|
||||
%table.datatable#users{ data: { source: admin_users_path(format: :json) } }
|
||||
%thead
|
||||
%th{ width: '0' } ID
|
||||
%th{ width: '0' } Confirmed?
|
||||
%th{ width: '0' } Email
|
||||
%th{ width: '50%' } Name
|
||||
%th{ width: '0' } Conferences Attended
|
||||
%th{ width: '50%' } Roles
|
||||
%th{ width: '0' } Actions
|
||||
%tr
|
||||
%th{ width: '0' } ID
|
||||
%th{ width: '0' } Confirmed?
|
||||
%th{ width: '0' } Email
|
||||
%th{ width: '50%' } Name
|
||||
%th{ width: '0' } Conferences Attended
|
||||
%th{ width: '50%' } Roles
|
||||
%th{ width: '0' } Actions
|
||||
%tbody
|
||||
|
||||
:javascript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue