Commit Graph

29524 Commits

Author SHA1 Message Date
David Anderson b7b2f2e349 web: tweak in top user page 2016-12-05 13:44:47 -08:00
David Anderson e7fce16107 web: tweak site search appearance 2016-12-05 13:36:45 -08:00
David Anderson 9d673e1c93 web: appearance tweaks
- 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
2016-12-04 21:04:23 -08:00
David Anderson 107b170ae1 web: finish job of making headings blue in striped tables
i.e. use row_heading() or row_heading_array() to generate the heading
2016-12-02 23:25:01 -08:00
David Anderson b2a93ac843 web: various tweaks
- 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
2016-12-02 12:24:20 -08:00
David Anderson fa06cb7b10 web: fix appearance of project-specific prefs in grid mode 2016-11-29 23:32:06 -08:00
David Anderson 58c4d02b5d web: tweaks to project-specific prefs 2016-11-29 15:41:44 -08:00
David Anderson 5df6cda994 web: fix list=1 bbcode function 2016-11-29 13:00:21 -08:00
David Anderson c5a743baf4 web: if web stopped, show home page anyway 2016-11-29 12:59:38 -08:00
David Anderson 91b4dcdc37 web: make some strings translatable
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.
2016-11-29 00:34:26 -08:00
David Anderson 58be631b7c web tweaks; make BOINC page strings translatable 2016-11-28 16:45:24 -08:00
David Anderson 3c654716d7 web: small fixes; add custom CSS files 2016-11-28 15:22:17 -08:00
David Anderson 1140ec069d web: always use secure URL base if available. 2016-11-28 14:25:46 -08:00
David Anderson 3a4521e9a0 web: fixed problems w/ profile pages 2016-11-28 13:25:31 -08:00
David Anderson 1d1c9eb444 web: tweaks for bootstrap
A bunch of little things.
Also new BOINC front page, by accident.
2016-11-28 00:47:25 -08:00
David Anderson e81fe674a7 web: thread titles not in bold 2016-11-25 23:07:36 -08:00
David Anderson 5ea948224e web: make $master_url a global var 2016-11-25 20:41:09 -08:00
David Anderson 7be1f5d894 web: tweaks
- highlight admins in msg boards using green stripe
- show code in posts without scrollbars
- default button size: sm
2016-11-25 01:11:04 -08:00
David Anderson 28a8014df0 web tweaks
- 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.
2016-11-24 20:32:01 -08:00
David Anderson a22b1e3136 web: various tweaks
- 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>
2016-11-24 18:01:41 -08:00
David Anderson 2cb7633acd web: fix forum color 2016-11-23 18:20:32 -08:00
David Anderson 9b6d26ce4c web: fix layout of report-post page 2016-11-23 17:18:21 -08:00
David Anderson 7463938995 web: more fixes for dark themes 2016-11-23 02:35:28 -08:00
David Anderson 02fed20833 web: fix forum jump-to-post 2016-11-22 15:51:55 -08:00
David Anderson 7a492cedf3 project web: various enhancements:
- 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
2016-11-22 01:20:07 -08:00
David Anderson df8e221287 web: various tweaks
Please enter the commit message for your changes. Lines starting
2016-11-20 15:38:19 -08:00
David Anderson eacd111d75 web: allow customization of navbar "brand" (leftmost item in navbar) 2016-11-14 21:58:12 -08:00
David Anderson 9e5c8c7eb0 web: add optional left-column width arg to grid() 2016-11-14 14:47:40 -08:00
David Anderson 3df12e48a1 web: tweaks. disable "friends and family email" (abused by spammers) 2016-11-11 20:10:12 -08:00
David Anderson b33c463cf3 web: various bug fixes
- 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()
2016-11-11 19:11:57 -08:00
David Anderson c5b948020d Initial commit for Bootstrap 2016-11-11 12:36:27 -08:00
David Anderson 05f61ea1d7 Merge branch 'master' of github.com:BOINC/boinc 2016-11-10 22:53:32 -08:00
tristanolive 3bbc53c129 Merge pull request #1705 from brevilo/harden-team-rpc
Drupal: harden team email list RPC wrapper
2016-11-09 22:41:41 -05:00
Oliver Bock e2f0f1b9fd Drupal: harden team email list RPC wrapper 2016-11-09 14:58:17 +01:00
David Anderson 54d12f7650 BOINC web site: tweak GPUgrid platform list 2016-11-08 14:57:39 -08:00
Tristan Olive eed66cc916 Drupal: Fix additional omission in signature display logic
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
2016-11-04 11:32:07 -04:00
tristanolive 90a89b95d3 Merge pull request #1696 from BOINC/drupal_fix_signatures
Drupal: show signatures in comments again
2016-11-04 11:22:09 -04:00
Christian Beer 891537cfe1 Drupal: show signatures in comments again
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.
2016-11-03 14:03:27 +01:00
tristanolive 5d91fd67c2 Merge pull request #1695 from drshawnkwang/drupal_fix-linksorder
Drupal: Changed order of comment/forum topic links.
2016-11-02 17:23:12 -04:00
Shawn Kwang 7bdc66ef8a Drupal: Changed order of comment/forum topic links.
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
2016-11-02 09:43:13 -05:00
tristanolive be18e67fae Merge pull request #1694 from drshawnkwang/drupal_fix-bugforumread
Drupal: Fix bug where "Mark forums as read" link led to Access Denied.
2016-11-01 16:11:47 -04:00
tristanolive f1da9e882c Merge pull request #1693 from drshawnkwang/drupal_fix-teampanel
Drupal: Fix bug where team view panel could view any node.
2016-11-01 16:10:34 -04:00
tristanolive 46f8549eec Merge pull request #1691 from drshawnkwang/drupal_fix-nolinks
Drupal: Fix bug- handle case where no $links generator
2016-11-01 16:09:27 -04:00
Shawn Kwang 384f527758 Drupal: Fix bug where team view panel could view any node.
Added test to make sure node content is of type==team.

https://dev.gridrepublic.org/browse/DBOINCP-333
2016-11-01 14:21:11 -05:00
Shawn Kwang 0f263df9ee Drupal: Modified CSS to adjust space around comment links. 2016-11-01 13:52:19 -05:00
Shawn Kwang 2f5dcd0157 Drupal: Reordered comment links, new function to add "first" to moderator links.
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.
2016-11-01 13:49:39 -05:00
Shawn Kwang 1c11997f6a Drupal: Fix bug where "Mark forum as read" link led to Access Denied.
https://dev.gridrepublic.org/browse/DBOINCP-332
2016-11-01 11:34:49 -05:00
Shawn Kwang ec3dd7f705 Drupal: Fix bug- when no $links are generated, the function _boinc_create_moderator_links() should exit without doing anything.
https://dev.gridrepublic.org/browse/DBOINCP-316
2016-10-31 08:03:53 -05:00
Charlie Fenton 49275b0727 client: consolidate comments in GPU code 2016-10-28 19:55:24 -07:00
David Anderson bdbbb0b193 Web: don't show email addrs to team owners.
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.
2016-10-28 02:59:08 -07:00