1. 06 Oct, 2019 1 commit
    • Evonne's avatar
      Bug 1845104 Various theme fixes part 4 · c0cc88de
      Evonne authored
      Fixing plans blocktype markup, inbox blocktype redundant classes,
      alignment of add blocks button, modal thumbnail not floating right,
      resume attachment inconsistencies (to be continued)
      
      behatnotneeded
      
      Change-Id: Ic7c0cc5498dbd3f95f140581cc71b175e944a0d9
      c0cc88de
  2. 04 Oct, 2019 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1813987: Accessibility settings and layout · 25082988
      Cecilia Vela Gurovic authored
      - Added an option to set the profile to accessible.
      This can be set in account preferences and
      enables one extra field in the settings
      of a view, in the basic settings section, to make
      the layout accessible.
      
      - by default, if the user account is accessible then
      the pages will be crated as accessible.
      To have a non accessible page, the option un view settings
      needs to be set as 'No'
      
      - Accessible layout only allows to add blocks with width=12
      that is the same with of the grid.
      This makes the blocks show as a sequence one on top of the other
      like a list. The user can only reorder the position
      they have in the list.
      
      - When a page is accessible, the adding a block
      by drag & drop is disabled
      
      - Reordering of blocks is accessible by keyborad
      
      - The 'add block' button is reachable by keyboard
      
      - add an intro to the page for the screen reader
      to explain how the page works
      
      - add identification to each block for screen reader,
      blocktype and title (if it’s set)
      
      TODO
      * When adding a block to the bottom or the top of the page,
      the page should be scrolled to that block
      
      * Floating menu: should have a way to be recognized as a menu
      by the screen reader. Check the access keys for the menu.
      
      behatnotneeded
      
      Change-Id: I08417f0f11d747a67900c88c2f675ef5f85b7499
      25082988
  3. 04 Aug, 2019 1 commit
  4. 31 Jul, 2019 1 commit
    • Kristina Hoeppner's avatar
      Bug 1811904: Font Awesome icon adjustments · 0a9c9356
      Kristina Hoeppner authored
      A few icons required adjusting to use only
      free icons. Additionally, icons in the
      card header in the "Primary School" theme
      were changed or added in the first place.
      
      Needed to update the card icons to use the correct font awesome family
      
      behatnotneeded
      
      Change-Id: Ief8f4b4393b1becfb18a8c39d3ef6b8966bbe9eb
      0a9c9356
  5. 25 Jun, 2019 1 commit
    • Rebecca Blundell's avatar
      Bug 1811904: Fontawesome: more name changes · 7db2c719
      Rebecca Blundell authored
      icon-arrows     -> icon-arrows-alt
      icon-shield     -> icon-shield-alt
      icon-refresh        -> icon-sync-alt
      icon-clock-o        -> icon-clock
      icon-pie-chart      -> icon-chart-pie
      icon-area-chart     -> icon-chart-area
      icon-commenting-o   -> icon-comment-dots
      icon-arrows     -> icon-arrows-alt
      icon-question-circle-o  -> icon-question-circle
      
      behatnotneeded
      
      Change-Id: I4fb3feebc11cc335f5dde05cc6e45c50b29359a6
      7db2c719
  6. 26 Feb, 2019 1 commit
  7. 16 Dec, 2015 2 commits
  8. 24 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Display icons for 3rd-party blocktypes plugins · 4f849ed2
      Aaron Wells authored
      Bug 1510421
      
      Defines a new static PluginBlocktype method, get_css_icon(), which
      fetches the name of the CSS icon to use for this blocktype. It returns
      false by default, which tells the theme to "fall back" to the old
      thumbnail.png instead. 3rd-party plugins can override this to
      specify a particular icon to use.
      
      All the core blocktypes have been refactored to extend
      MaharaCoreBlocktype, which uses the blocktype name as the name
      of the CSS icon to use. I also deprecated the "SystemBlocktype"
      class while I was at it.
      
      PluginBlocktype::get_blocktypes_for_category() now returns both
      the results of get_css_icon() and the thumbnail.png path, so that
      themes can decide which they want to use. (And of course
      thumbnail.png is served via thumbnail.php, so 3rd party themes
      can provide their own custom image files if they wish.)
      
      behatnotneeded: Requires installing third-party plugins to test
      
      Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0
      4f849ed2
  9. 19 Oct, 2015 1 commit
  10. 03 Sep, 2015 1 commit
    • Jono Mingard's avatar
      Fix descriptions in Add block accordion (Bug #1482461) · 0daa91c6
      Jono Mingard authored
      - Move the description after the title, to make the flow more
        logical for screen reader users
      - Also add the description as the title attribute of the link, so
        it can be accessed by mouse users
      
      behatnotneeded
      
      Change-Id: I1c0369a1dcbe8216a244d24438e52fadfba39c10
      0daa91c6
  11. 15 Jun, 2015 5 commits
  12. 07 Jan, 2015 1 commit
  13. 15 May, 2014 1 commit
  14. 03 Feb, 2014 1 commit
    • Jono Mingard's avatar
      Allow blocks to be added in the page editor using the keyboard (Bug #1262933) · ed8785f1
      Jono Mingard authored
      
      
      Adds a dialog for adding and moving blocks, activated when the user pressed Space/Enter
      with a blocktype focused, or activates the new "Move block" button. The user can select
      which cell (row/column) to put the block in and where in the cell to place the new
      block.
      The "Move block" button is hidden unless it gains keyboard focus meaning the interface isn't
      any more cluttered for mouse users.
      
      Change-Id: I9a3ced66c0947756f1f80b0dacff82de201c2142
      Signed-off-by: default avatarJono Mingard <jonom@catalyst.net.nz>
      ed8785f1
  15. 30 Aug, 2013 1 commit
  16. 21 Aug, 2013 1 commit
  17. 19 Jul, 2013 1 commit
  18. 27 Sep, 2011 1 commit
  19. 26 Jul, 2011 1 commit
  20. 04 Jul, 2010 1 commit
  21. 04 May, 2010 1 commit
  22. 20 Aug, 2009 1 commit
  23. 09 May, 2009 2 commits
  24. 15 Sep, 2008 1 commit
  25. 21 Jan, 2008 1 commit
  26. 24 Oct, 2007 1 commit
    • Nigel McNie's avatar
      Explicitly set the height and width of the blocktype images. · a64fe46c
      Nigel McNie authored
      This is necessary because when the javascript to create the clones is being run, the images may not have been downloaded, so the height the clone will be set to will be only the height of the title and description. This leads to blocks that you can only drag from the top part.
      
      This was hard to track down because subsequent requests had the cached images ready to insert.
      a64fe46c
  27. 16 Oct, 2007 4 commits