Commit Graph

50 Commits

Author SHA1 Message Date
Douglas Gardner
24d7ad310b Add pull request notification
* Add message when there are pull requests with client side javascript
* Add string for OAOSIDL, for future usage
* Title cased credits
* Removed text transform from random quote
* Shoved commit count to left
* Added lines to top and bottom of ``h2``
* Removed redundant CSS
* Added JQuery
2013-04-30 09:40:42 +00:00
Douglas Gardner
151d0e6fcb Add translations; toggle lowercase; remove testCSS 2013-04-21 14:53:04 +00:00
Douglas Gardner
ad3e597ad2 update translation information
* Remove commented out code
* Covert translationProgress from an array to an object
* Enlargen progress meters
* Add translation table
2013-04-21 14:28:33 +00:00
Douglas Gardner
47d5404f38 Add beginnings of translation progress API
* Add totally legit and optimised code to find the number of strings in
  each language.
* Add this as an API call
* Add strings for ``na'vi``, ``es`` and ``nl`` for their own language
  names
* Optimise CSS a bit
* Add classes for the languages, for testing purposes
2013-04-21 12:18:24 +00:00
Douglas Gardner
295c5ba2bc Move title left a bit to account a tad for curve 2013-04-21 05:11:52 +00:00
Douglas Gardner
e5b2f8c8f2 Add list of authors; shrink tag sizes 2013-04-21 05:06:26 +00:00
Douglas Gardner
7106d4dd8b Merge branch 'master' of https://github.com/reality/depressionbot into gitstatus 2013-04-19 17:16:11 +00:00
Douglas Gardner
a61a2300ab Tidy up the project module some more
## Additions
 + Add current branch to display
 + Pass Github repo through to the page
 + Add link to source
 + Differentiate "progress bar" and "milestone" headers again
 + Add Git ``h4``, renamed "version control" because it's more interesting
   to translate
 + Add progress percentages to the progress bars

 - Remove redundant short-hash placeholder
 - Remove extraneous margins on ``ul``
 - Simplify progress calculation code

 * Change some variable names to be more forthcoming about what they
   represent
 * Fix links to the milestones
 * Fix indentation of strings.json
2013-04-19 04:28:03 +00:00
Douglas Gardner
eb1d12ec83 Add hidden counter to imgur
+ Add a counter to the random imgur page.
+ Added functionality to the ``c`` key to toggle the counter display.
+ Added functionality to the ``r`` key to reset the counter to default.
+ Added a new configuration option for a quote category to get the
  default 'highscore' from.

  This commit adds a small decreasing counter to the corner of the
  screen. Hidden by default, press ``c`` to toggle it.

  The counter will begin at highscore + 1, and will decrease with every
  new image. This is intended to be used during contests to see how many
  images one can cycle through before, for example, finding a picture of
  a cat. The counter can be reset using the ``r`` key.

  The highscore is automatically set at page load to the most recent
  quote added to the category specified in the configuration option.
  Therefore it is important that only numeric data is placed in that
  particular quote.

  The score will not reset to a new highscore automatically, and nor
  will a new highscore update the quote category.
2013-04-19 00:02:39 +00:00
Douglas Gardner
c1693a768f Translations, progress bar fallback, lowercasing
+ Added translations into English for ``cy``, ``es`` and ``na'vi``,
  to ensure that all possible current languages are catered for.
+ Added ``background-color`` rule to progress bars on ``project`` to
  ensure that they are always visible.
+ Forced lowercase for more of the ``project`` page 'cos it looks nice
  (although that's an opinion).
- Removed redundant text shadow rule.
2013-04-18 18:20:58 +00:00
Douglas Gardner
abac2fd97a Commit CSS. Remove text shadow. 2013-04-18 17:33:46 +00:00
Douglas Gardner
c9fd314ba4 tidy css 2013-04-17 21:03:40 +00:00
Douglas Gardner
bbece26213 Convert history to list; add toggle for scrollbars
* Added function to display message
* Added ``s`` hotkey to toggle the scrollbar
* Added ``max-width``
2013-04-17 20:55:34 +00:00
Douglas Gardner
46932f458c fix cap of 5 2013-04-17 20:04:02 +00:00
Douglas Gardner
4c26a0fc3a add history 2013-04-17 20:02:36 +00:00
Douglas Gardner
cd6678f12b change link to be monospace
The proportional font on a centred piece of text with a predictable
number of letters annoyed me a bit.
2013-04-16 21:30:07 +00:00
Douglas Gardner
2b9dbea855 improve imgur module
* Added config.json to the party
* Moved API key (client ID) to the configuration file
* Added image link to random imgur image page
* Minimised loading message
* Added fade to loading message
* Added count to title attribute of webpage
* Removed font-size increase
* Added placeholders
2013-04-16 21:03:50 +00:00
Douglas Gardner
3cdaa4b9a6 move css around
This commit moves the font-size declaration from the common box CSS to
only affecting the "loading" box.
2013-04-16 17:51:03 +00:00
Douglas Gardner
9b191bc89a Add new "details" box to random imgur page
This commit adds a new box to the imgur page, separating the
"Loading..." box with a new "details" box, which contains the
information found via the API.

The loading box appears on the left, and disappears when an image is
loaded, to be replaced with a box on the right.

API operations, such as a "report" or "submit to gallery" option, could
appear below the current right-aligned box, in a smaller font.

I'm undecided as to whether this commit is an improvement or not.
2013-04-16 17:47:01 +00:00
Douglas Gardner
1a2595aaf2 increment size with image count
This commit adds functionality to the loading callout in the imgur
module.

The size of the font used in the loading callout now increases in a
linear fashion in proportion to the number of images viewed in a row.

The size starts at 12px, and will increase to 72px at image 2000, with
round figures at most "standard" font sizes.

This is largely an experiment to see what it looks like: it might not be
as nice looking now that the callout contains extra information (such as
the view count). It may be worth experimenting with just increasing the
count number and leaving the "a w with x views (y*z)" message at a
static size, or perhaps by editing the colour variant, or even the
position on the screen.

I really just wanted some feedback to make it a bit more interesting for
a heavy user that has reached high numbers of images.

Some figures:
 * 12px is reached after 0 images
 * 14px is reached after 66 images
 * 16px is reached after 133 images
 * 18px is reached after 200 images
 * 21px is reached after 300 images
 * 24px is reached after 400 images
 * 36px is reached after 800 images
 * 48px is reached after 1,200 images
 * 60px is reached after 1,600 images
 * 72px is reached after 2,000 images
 * 144px is reached after 4,400 images.
2013-04-16 17:22:09 +00:00
reality
3b5ef9f55e Show info about the imgur url on the random page 2013-04-16 16:42:57 +00:00
Douglas Gardner
6a416f4087 Give random image page an imgur colour scheme
* Sorted and formatted CSS
* Pushed "Loading..." callout to left
* Gave callout a curved edge
* Coloured the background black
* Coloured the callout text green
* Coloured the callout background grey
* Changed callout font to sans-serif
* Increased callout padding
2013-04-15 05:17:55 +00:00
Daniel Evans
af1e357df4 Improved HCI 2013-04-15 02:50:50 +01:00
Dan
8a9256c838 [rejected] 2013-04-09 16:45:11 +01:00
Thomas Menari
b0db605174 wrap long nicks 2013-01-24 23:14:41 +00:00
Thomas Menari
114b0fd09c derp 2013-01-24 22:34:34 +00:00
Thomas Menari
3c4974d5ef make more l33t 2013-01-24 19:39:28 +00:00
Sam Nicholls
f3771240a3 Basic Profiles [#184] 2013-01-23 19:13:10 +00:00
Sam Nicholls
87841bd051 DataTables [#140][#161] 2013-01-20 23:07:33 +00:00
reality
04901cc0ba remove bootstrap submodule 2013-01-12 09:12:45 +00:00
Sam Nicholls
c649439947 Improve online users UI [REQ Bootstrap] 2013-01-10 22:23:51 +00:00
reality
012d6fa1a8 Add bootstrap 2013-01-10 17:09:39 +00:00
Daniel Evans
befc20e713 Index page 2012-06-15 18:57:47 +01:00
Daniel Evans
806f9556bf Updated backlinks 2012-06-15 18:23:36 +01:00
Luke Slater
75b627b3ee style on backlink 2012-06-15 17:57:47 +01:00
Daniel Evans
f70c92c16d Web display for poll module 2012-06-15 16:15:02 +01:00
Psychedelic Squid
bef96ebc51 So apparently some people still use Firefox? 2012-03-12 22:07:08 +00:00
Psychedelic Squid
39f5bbdc8b Smaller videos don't needlessly overlap each other. 2012-03-12 21:57:55 +00:00
Psychedelic Squid
f3ab2e5e92 Auto-embed youtube videos, in much the same way as images are already done. 2012-03-12 21:38:09 +00:00
Daniel Evans
53ad3f54ee New Theme 2011-11-25 14:44:18 +00:00
Samuel Clements
cb6568d27d CSS! 2011-11-08 20:51:34 +00:00
Samuel Clements
d917edf0ca Even moar better.
<These commit messages are getting silly>
2011-11-08 20:49:31 +00:00
Samuel Clements
82c023c055 Better css 2011-11-08 20:45:35 +00:00
Samuel Clements
d8cac5fe95 Better list pages 2011-11-08 20:43:52 +00:00
Samuel Clements
cb8541ccb0 Fixes. 2011-11-08 20:32:35 +00:00
Samuel Clements
fd27c8a010 woot, a little bit more worky. 2011-11-08 20:28:46 +00:00
Samuel Clements
1b9fbdd894 Hopefully not another dumb error (TM). 2011-11-08 20:16:35 +00:00
Samuel Clements
9f2f343bdb Cloudy quotelist page! 2011-11-08 20:10:55 +00:00
Samuel Clements
6ebedfd451 Finished adding the stuff from afals userscript. 2011-11-08 19:07:30 +00:00
Samuel Clements
e0dd59ac7d Css should work easy now. 2011-11-08 18:52:59 +00:00