Adding css to textarea
authorsaksham1115 <saksham115@gmail.com>
Thu, 30 Jun 2016 08:45:15 +0000 (08:45 +0000)
committersaksham1115 <saksham115@gmail.com>
Tue, 19 Jul 2016 17:29:09 +0000 (17:29 +0000)
mediagoblin/static/css/subtitles.css [new file with mode: 0644]
mediagoblin/templates/mediagoblin/edit/custom_subtitles.html

diff --git a/mediagoblin/static/css/subtitles.css b/mediagoblin/static/css/subtitles.css
new file mode 100644 (file)
index 0000000..73dcbc7
--- /dev/null
@@ -0,0 +1,4 @@
+textarea#subtitle {
+       height: 500px;
+       border: 3px solid #cccccc;
+}
\ No newline at end of file
index 005e661a62a985271fc614e52e6f789d4081ccb4..494cffadae032c5179d04c9fbbfb59f7b1340f1f 100644 (file)
 {% block title -%}
 {%- endblock %}
 
+
 {% block mediagoblin_content %}
-{{ path }}
+<link href="{{
+          request.staticdirect('/css/subtitles.css') }}"
+        rel="stylesheet">
 
   <form action="{{ request.urlgen('mediagoblin.edit.custom_subtitles',path=path) }}" method="POST" enctype="multipart/form-data">
     <div class="form_box edit_box">