Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78899

.generaltable for user defined html tables in courses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.2.1
    • HTML and CSS
    • None
    • MOODLE_402_STABLE

      We use .generaltable for custom HTML tables in courses because it formats the table in a simple and attractive way. I don't have to add any information about borders or colors.

      As a simple example:

      <table class="generaltable">
          <tbody>
              <tr>
                  <th>Bezeichnung</th>
                  <th style="width: 150px;">Stand</th>
                  <th style="width: 150px;">Bearbeitung</th>
              </tr>
              <tr>
                  <td>Content</td>
                  <td>2019.06.28</td>
                  <td>User</td>
              </tr>
          </tbody>
      </table>

      Since the last update, the tables are displayed correctly in the editing view (as we were used to), but the column widths in the normal view are no longer good, so that e.g. words or dates can also be wrapped. It's no longer visually appealing.

       

      We don't have access to the CSS section so we used .generaltable. It would be nice if the formatting would work again.

        1. Moodle.png
          Moodle.png
          54 kB
        2. testing.png
          testing.png
          16 kB

            Unassigned Unassigned
            paintdog paintdog
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.