From 62bde4531f0847cd36ba1293d57229eacc1b5dcc Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 30 Jun 2011 03:03:31 +0530 Subject: [PATCH] added font Neeon --- edgware/files/models.py | 1 + edgware/static/ckeditor/config.js | 2 +- edgware/static/css/fonts.css | 5 +++++ edgware/static/fonts/Neeon.otf | Bin 0 -> 11900 bytes edgware/static/js/files/browse.js | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 edgware/static/fonts/Neeon.otf diff --git a/edgware/files/models.py b/edgware/files/models.py index 882217d..0eaf8ef 100755 --- a/edgware/files/models.py +++ b/edgware/files/models.py @@ -44,6 +44,7 @@ MIME_TYPES = ( ) TYPE_CHOICES = ( + ('', '---'), ('image', 'Image'), ('audio', 'Audio'), ('text', 'Text'), diff --git a/edgware/static/ckeditor/config.js b/edgware/static/ckeditor/config.js index 0f3164e..c1e2168 100755 --- a/edgware/static/ckeditor/config.js +++ b/edgware/static/ckeditor/config.js @@ -16,7 +16,7 @@ CKEDITOR.editorConfig = function( config ) ]; config.contentsCss = '/static/css/fonts.css'; - config.font_names = "Edgware Road;Berlin Safari;SG Grotesque;Tallys;GraublauWeb;Fontin;Tagesschrift;"; + config.font_names = "Edgware Road;Berlin Safari;SG Grotesque;Tallys;GraublauWeb;Fontin;Tagesschrift;Neeon;"; // Define changes to default configuration here. For example: diff --git a/edgware/static/css/fonts.css b/edgware/static/css/fonts.css index fff9ae1..2e317ad 100644 --- a/edgware/static/css/fonts.css +++ b/edgware/static/css/fonts.css @@ -9,6 +9,11 @@ src: url(/static/fonts/Tallys_15.otf) format("opentype"); } +@font-face { + font-family: Neeon; + src: url(/static/fonts/Neeon.otf) format("opentype"); +} + @font-face { font-family: Fontin; src: url(/static/fonts/Fontin-Regular.otf) format("opentype"); diff --git a/edgware/static/fonts/Neeon.otf b/edgware/static/fonts/Neeon.otf new file mode 100644 index 0000000000000000000000000000000000000000..93926ca884d018ef939e21138d5274075b3144a5 GIT binary patch literal 11900 zc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i-WnZfCm}A*HoL z=X(aK@xB_2@$91MR&IC_x0TYdLz$cO%f=EwQ6PnmP+bz>+_-%B@gn41-$x3Qw^ zHqb`V8M<||mF_AgO=epy>lwD{o{iBQZl)Vr!6IlX{dQA!!&n!_xXG9Y#a_v6h2(I{ zr@C@kb(0)rZq_eaZQIEd>1F)+j6ar9WQshJOtIBsITK+B_Mv=ArC5G~{eB2-vAzP! zPqCbXiMZRg;JQ1oyn_&ja1EdR4?=x}Ke7E1f^}{SEF5wFf1k<1A94C`P=}+1-#-9< z)vUh&3s>dexLNr96D+*`2~~*8I_$$ck=J5rVA%+vKY~SDJge0&A^j{qusy~$(nD^5 zV9}`>Aq~Mg+V2Sf=cptWdxQ?~gGOXt#yoYtG{F@HAr;IeT z)|KBNQ}9>RQ*0K`XgDtsVLsM_5UjPWeYzr8bFI7kyR_=Kjs>#Mi#pQN;)yyydi+0i CEmCd( literal 0 HcmV?d00001 diff --git a/edgware/static/js/files/browse.js b/edgware/static/js/files/browse.js index e54f0a7..977d519 100644 --- a/edgware/static/js/files/browse.js +++ b/edgware/static/js/files/browse.js @@ -3,6 +3,7 @@ $(function() { e.preventDefault(); var formData = $(this).serializeArray(); $('#submitFilter').val("Loading...").attr("disabled", "disabled"); + $('#previewPane').empty(); $.post("files/json_list", formData, function(data) { $('#submitFilter').val("Submit").removeAttr("disabled"); // MAAKICHUT = response;