ASCII media type support & fix a bug in file submission error handling
* Added ASCII media processing * Added ASCII media display * Added ASCII media type Rebased from Joar Wandborg's ascii art branch (squashed to remove the commits borrowing code of dubious license) Fixed a bug in file submission error handling: - Moved file-extension condition out of loop (what did it do there?) - Updated file submission tests - Changed error handling in file submission, should now report more than absolutely necessary.
This commit is contained in:
committed by
Christopher Allan Webber
parent
992e4f8032
commit
a246ccca69
@@ -402,3 +402,15 @@ table.media_panel th {
|
||||
margin-top: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* ASCII art */
|
||||
|
||||
@font-face {
|
||||
font-family: Inconsolata;
|
||||
src: local('Inconsolata'), url('../fonts/Inconsolata.otf') format('opentype')
|
||||
}
|
||||
|
||||
.ascii-wrapper pre {
|
||||
font-family: Inconsolata, monospace;
|
||||
line-height: 1em;
|
||||
}
|
||||
1
mediagoblin/static/fonts/Inconsolata.otf
Symbolic link
1
mediagoblin/static/fonts/Inconsolata.otf
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../extlib/inconsolata/Inconsolata.otf
|
||||
Reference in New Issue
Block a user