diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-08-02 17:29:30 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-02 17:29:30 +0200 |
commit | 45c199029a4e9e615c042ca521c50b5aef6fc3db (patch) | |
tree | fcd829257ac4bca4c38c8354f7fbdc0e9d5e82eb /lib | |
parent | ee9498f56bb996332665780f790257bcd010ac3c (diff) | |
download | rpg-45c199029a4e9e615c042ca521c50b5aef6fc3db.tar.gz rpg-45c199029a4e9e615c042ca521c50b5aef6fc3db.tar.bz2 |
improve html structure and styling for add & edit user notes
made necessary by PR#254 which adds content below these notes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/usermanager/admin.php | 12 | ||||
-rw-r--r-- | lib/plugins/usermanager/style.css | 4 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lib/plugins/usermanager/admin.php b/lib/plugins/usermanager/admin.php index 62d3b3e5e..3c8d38c5e 100644 --- a/lib/plugins/usermanager/admin.php +++ b/lib/plugins/usermanager/admin.php @@ -298,11 +298,15 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin { ptln(" </tr>",$indent); ptln(" </tbody>",$indent); ptln(" </table>",$indent); - ptln(" </div>",$indent); - - foreach ($notes as $note) - ptln("<div class=\"fn\">".$note."</div>",$indent); + if ($notes) { + ptln(" <ul class=\"notes\">"); + foreach ($notes as $note) { + ptln(" <li><span class=\"li\">".$note."</span></li>",$indent); + } + ptln(" </ul>"); + } + ptln(" </div>",$indent); ptln("</form>",$indent); } diff --git a/lib/plugins/usermanager/style.css b/lib/plugins/usermanager/style.css index ff8e5d9d1..506bd7928 100644 --- a/lib/plugins/usermanager/style.css +++ b/lib/plugins/usermanager/style.css @@ -13,6 +13,10 @@ #user__manager table { margin-bottom: 1em; } +#user__manager ul.notes { + padding-left: 0; + padding-right: 1.4em; +} #user__manager input.button[disabled] { color: #ccc!important; border-color: #ccc!important; |