nicer binary file warning
authorChristian Weiske <cweiske@cweiske.de>
Wed, 13 Nov 2013 20:09:12 +0000 (21:09 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 13 Nov 2013 20:09:12 +0000 (21:09 +0100)
data/templates/edit-file.htm

index db0b2c5..85633fa 100644 (file)
@@ -2,7 +2,7 @@
   {% if not file or file.isText %}
   <textarea name="files[{{fileid}}][content]" id="content_{{fileid}}" cols="80" rows="15" class="content">{{file.getContent}}</textarea>
   {% else %}
-  <p style="text-align: center">
+  <p style="text-align: center" class="alert alert-warning">
    Binary files cannot be edited.
   </p>
   {% endif %}