diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/editcave.html | 5 | ||||
-rw-r--r-- | templates/html_editor_scripts_css.html | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/templates/editcave.html b/templates/editcave.html index 6f7b741..05fc243 100644 --- a/templates/editcave.html +++ b/templates/editcave.html @@ -59,8 +59,9 @@ at troggle/core/forms.py ass this uses a Django magic form creation thinggy. --> <h2>{{message}}</h2> <form action="" method="post">{% csrf_token %} - <table>{{ form }} - <!-- begin caveAndEntranceFormSet-->{{caveAndEntranceFormSet}}<!--end caveAndEntranceFormSet--></table> + {% if tabletype == 'table' %}<table>{% else %}<div>{% endif %} + {{ form }} + {% if tabletype == 'table' %}</table>{% else %}</div>{% endif %} <p><input style="font-weight: bold; font-size: 200%; font-variant-caps: small-caps; margin-left: 40%;" type="submit" value="Submit" /></p> </form> diff --git a/templates/html_editor_scripts_css.html b/templates/html_editor_scripts_css.html index d3ddc68..d16cdaf 100644 --- a/templates/html_editor_scripts_css.html +++ b/templates/html_editor_scripts_css.html @@ -32,7 +32,7 @@ z-index: 20; } - .HTMLarea { width:1000px;} + .HTMLarea { width:100%;} .popup-overlay.active { /*displays pop-up when "active" class is present*/ @@ -70,7 +70,7 @@ <style type=text/css> .CodeMirror { float: left; - width: 50%; + width: 85%; border: 1px solid black; height: 70%; } |