+ 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.
+ 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.
## Changelog:
- Remove Github status call.
+ Closed issues
+ Localised <h1>
+ Add introductory paragraph
+ Add last diff to page
- Remove jade include to layout.jade
+ Dynamic language metadata
+ CSS
+ Progress bars
## Known issues:
* Loading the closed milestones raises an exception for some reason;
in a try-catch for now, unsure how to fix.
## Still to do:
* Style loaded modules section (columns?)
* Shrink footer
* Do we need a shorthand hash by the revision?
* Pull req count? (low priority)
* 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
What imgur calls "title" is possibly better described as a caption. Most titles in imgur's gallery are full sentences, making the current behaviour of "xxx is yyy" fall flat, as the resulting string does not have satisfactory grammar.
This commit changes the functionality from "[foo is bar]" to "[foo][bar]".
Untested.
Orange isn't a color widely available on IRC clients, so green has been
substituted.
"NSFW" is fairly transcendal when it comes to languages; Catalan,
French, and German generally do not seem to localise the abbreviation.
However, it has been moved to strings.json on the off chance that a
better translation arises.
This commit has not been tested. Merge at your own risk.
Specifying that images are non-animated each time isn't really required, and causes the string to be rather long. Stripping this implicit property makes it look a bit nicer.