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

Let add database fields dialogues use Bootstrap to look like other pages

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_404_STABLE
    • MDL-70384-main_take2
    • Hide
      1. As teacher, add a database activity to a course
      2. Add a field of each type to that database. Alternatively, you can download the attached MDL-70384.featureand run the following command to create a database with a field of each type and then edit these fields one by one:

        php admin/tool/generator/cli/runtestscenario.php --feature="/full/path/to/MDL-70384.feature"

      3. Verify the adding/editing a database field page does look good.

      Fallback for database fields without mustache

      1. Install the https://moodle.org/plugins/datafield_linkedcheckbox database field under mod/data/fields/linkedcheckbox.
      2. Add a field of the Linked checkbox type.
      3. Verify the adding a database field dialogue does look good.
      Show
      As teacher, add a database activity to a course Add a field of each type to that database. Alternatively, you can download the attached MDL-70384.feature and run the following command to create a database with a field of each type and then edit these fields one by one: php admin/tool/generator/cli/runtestscenario.php --feature= "/full/path/to/MDL-70384.feature" Verify the adding/editing a database field page does look good. Fallback for database fields without mustache Install the https://moodle.org/plugins/datafield_linkedcheckbox database field under mod/data/fields/linkedcheckbox. Add a field of the Linked checkbox type. Verify the adding a database field dialogue does look good.

      The UI elements where you add fields to a database do use HTML tables.
      This proposal rewrites those to use Bootstrap classes so they look like settings tables elsewhere.

        1. MDL-70384.feature
          2 kB
        2. MDL-70384.png
          MDL-70384.png
          113 kB
        3. MDL-70384-1.png
          MDL-70384-1.png
          1.20 MB

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Mathew May Mathew May
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 2 hours, 19 minutes
                4d 2h 19m

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