- use form-control class for text inputs and selects.
This makes them all full-width, but I guess that's OK.
- use success class (green) for action buttons
- right-align table headings where appropriate
- use <small> instead of text-muted.
- tweak custom CSS to fix link and navbar visited colors
- change dark-background link color
- change dark-background colors for <pre>
- fix heading color for striped tables
It turns out that, for striped tables, Bootstrap ignores classes for <tr>.
You have to put them in the <th>.
row_heading() and row_heading_array() do this for you.
- put Preview content into a table w/ heading
Also: on default home page, don't show the big green Join button
if the user is logged in; they're presumably running BOINC
on at least one computer.
However, in this case put a Join item in the Project menu
in case this is a new computer and they forgot where to download from.
- fix display of BBcode links and menus
- change textareas to class form-control
- add color to select so they work with dark and light backgrounds
Note: I'm becoming somewhat less enamored of Bootstrap.
- make selects 240px wide (kludge)
- in navbar, link user name to home page
- add Project to navbar, more Your Account there
- add maximum-scale to <meta>
- change default home page to replace text with a Join button,
which links to a new page saying how to join.
- change default to show image to top of home page
- add form-control class to all <select>s so that text displays
correctly with dark-background themes
- change args to page_head():
- add $is_main; gets passed to project_banner()
- remove $title_plain; not sure what it was for
- add arg for inverse navbar
- fix "jump to first unread post" feature
- use <pre> for bbcode [code]
- don't use table-responsive class for tables.
It does bad/funky things, especially on small displays
- remove start_table_noborder()
Commit 891537c restored functionality inadvertently removed by f64e644, but lacked global declaration of the $user object, so didn't quite work as expected; adding this declaration ensures that the $user object (and thus the current user's preferences) are referenced in the proper scope
Commit f64e644f inadvertently removed a crucial line that prevents signatures from being shown. I also got rid of the commented out comment that gave the impression that this function is not used.
Edit link has been moved into the standard user links. Moderator/Admin links have been reordered.
In addition, some indent and whitespace changes to match Drupal coding standards.
https://dev.gridrepublic.org/browse/DBOINCP-334
Reorders comment links, standard links have QUOTE and REPLY first, followed by the flag-abuse links.
Created private function to add class "first" to first moderator link. This is used because the links are split now manaully split by the theme.
Consensus is that showing team member addrs to team admins is bad for privacy,
even if members can opt out.
So: omit email addr from all forms of member list.
Instead, add a feature where team admins can send a PM to all team members.