Commit Graph

29 Commits

Author SHA1 Message Date
David Anderson dfe7261cda web: improve button colors and appearance
principles:
- primary action buttons are green (btn-success)
- secondary action buttons are blue (btn-primary)
- potentially risky action buttons are yellow (btn-warning)
- if there are a lot of buttons (e.g. forum posts) use btn-xs
2017-08-20 01:17:21 -07:00
Christian Beer 11a37bd1d0 Web: add extra space around placeholders
Our current translation system (Transifex) introduced a new editor feature which autodetects C-style placeholders in PO files. This wrongly detects our placeholders in the web code where a word immediately follows the digit. This leads to wrong translations if the placeholder is copied using this new transifex feature. The feature can not be globally disabled for our project. Instead every translator would need to use "raw" mode to disable it which is hard to communicate. Instead I added a space around problematic placeholders which is possing a smaller problem than wrong translations.
2017-07-04 13:13:01 +02:00
David Anderson c054358a6e web: tweaks to fix Scrutinizer complaints; few visible effects 2016-12-07 11:32:25 -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 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 ad5014dd67 user web: change banish period options per Jord's request 2015-08-15 10:31:14 -07:00
David Anderson a26f310f1e web: optionally use stopforumspam.com to check email addresses
if the constant USE_STOPFORUMSPAM is set to true (in project.inc)
BOINC will check a database of known spammers before creating an account.
2014-10-19 20:12:07 -07:00
David Anderson e6ecb981b3 web: change CSS usage to partly match Twitter Bootstrap. From Christian Beer. 2014-10-02 12:15:54 -07:00
David Anderson af99251e79 web: let projects disable forums
Do this by putting
define("DISABLE_FORUMS", true);
in your html/project/project.inc.

If this is set, admin users can still see enough forum functionality
to post and edit news items
(this is linked to from the Admin web interface).

Other users, or non-logged-in access, sees news but no forums
or forum-related info.
2014-04-18 15:54:28 -07:00
David Anderson 7c9b5a6b56 web: lets project admins delete posts and threads
Spam needs to be deleted, not hidden.
Add buttons for deleting posts and threads.
For now, these are available only to admins
(ADMIN, DEV, SCIENTIST privileges).
2014-04-16 22:54:17 -07:00
David Anderson 4d45dda3d9 - validator: update credit statistics even if credit_from_wu
is being used.
- web: make almost everything translatable.  From Christian Beer.


svn path=/trunk/boinc/; revision=24048
2011-08-25 22:12:48 +00:00
David Anderson 45ddf393fe - user web: bug fixes
svn path=/trunk/boinc/; revision=23023
2011-02-11 18:32:47 +00:00
David Anderson d27af6214d - user web: finish dealing with get args spam
svn path=/trunk/boinc/; revision=23010
2011-02-09 22:11:34 +00:00
David Anderson 9baf78fe5f - web: added copyright and license info to PHP files
svn path=/trunk/boinc/; revision=15758
2008-08-05 22:43:14 +00:00
David Anderson 5229a414f2 - web: clean up moderation emails for post hide/unhide.
TODO: other moderation emails
- web: fix small bug in host merge function

svn path=/trunk/boinc/; revision=14316
2007-11-28 17:40:28 +00:00
David Anderson a49608a028 - user web: allow teams to create their own "team message board".
Team founder and admins have moderator power.
    Anyone can view a team message board,
    but only team members can write to it.
    Users cannot be banished from team message boards
    (due to database limitations).

svn path=/trunk/boinc/; revision=14218
2007-11-15 22:51:05 +00:00
David Anderson a18dfc55a7 - user web: revise forum code to use new-style DB interface
svn path=/trunk/boinc/; revision=14160
2007-11-12 20:57:15 +00:00
Rytis Slatkevičius a3e53a0004 Updated banishing feature
svn path=/trunk/boinc/; revision=12268
2007-03-24 14:57:30 +00:00
Rytis Slatkevičius aa396080c0 Fix XSS vulnerability in the forum
svn path=/trunk/boinc/; revision=12055
2007-02-08 19:54:05 +00:00
Matt Lebofsky 3668fdf345 *** empty log message ***
svn path=/trunk/boinc/; revision=11152
2006-09-13 15:52:53 +00:00
David Anderson 0328bd2122 *** empty log message ***
svn path=/trunk/boinc/; revision=10867
2006-08-08 20:32:37 +00:00
David Anderson 091b57c6c1 *** empty log message ***
svn path=/trunk/boinc/; revision=10380
2006-06-16 23:53:56 +00:00
Rom Walton c83f31e03e *** empty log message ***
svn path=/trunk/boinc/; revision=10166
2006-05-21 21:04:58 +00:00
Rom Walton d630478bb6 *** empty log message ***
svn path=/trunk/boinc/; revision=9788
2006-04-03 19:59:04 +00:00
Janus B. Kristensen b221a57b2d Checking input parameters
svn path=/trunk/boinc/; revision=5454
2005-02-17 11:43:49 +00:00
David Anderson a7320942ad *** empty log message ***
svn path=/trunk/boinc/; revision=5422
2005-02-13 21:33:02 +00:00
Janus B. Kristensen a5986e276d Added "double post" to the list of possible reasons
svn path=/trunk/boinc/; revision=5413
2005-02-12 09:50:42 +00:00
Janus B. Kristensen b15132830b Initial test-version of moderation system
svn path=/trunk/boinc/; revision=5133
2005-01-18 13:00:38 +00:00