diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-14 00:27:19 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-14 00:27:19 +0000 |
commit | cfc7a4b9f6de8d9df35fd2e4ad67e9330f6bfa90 (patch) | |
tree | 47a2614350a79e4f3cb2a116fe61f1f696ba19e0 /templates | |
parent | 7730b2535f1f88740ac1f683b608d594054f7db8 (diff) | |
download | troggle-cfc7a4b9f6de8d9df35fd2e4ad67e9330f6bfa90.tar.gz troggle-cfc7a4b9f6de8d9df35fd2e4ad67e9330f6bfa90.tar.bz2 troggle-cfc7a4b9f6de8d9df35fd2e4ad67e9330f6bfa90.zip |
Make edit fields wider
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%; } |