Podstawowe ładowanie i odładowywanie paneli przez AJAX (właściwie AJAH).
[redakcja.git] / project / templates / explorer / file_xml.html
index ab2f237..61405d9 100644 (file)
             <div id="left-panel-wrap" class="panel-wrap">
                 <div id="left-panel" class="panel">
                     <div id="slider" style="float: right"></div>
-                    <div id="left-panel-toolbar" class="panel-toolbar">
-                        <label for="select-left-panel">Lewy panel:</label>
-                        <select name="select-left-panel" id="select-left-panel">
-                            <option value="panel1">Panel 1</option>
-                            <option value="panel2">Panel 2</option>                            
-                        </select>
+                    <div>
+                        <div id="left-panel-toolbar" class="panel-toolbar">
+                            <label for="select-left-panel">Lewy panel:</label>
+                            <select name="select-left-panel" id="select-left-panel">
+                                <option value="{% url xmleditor %}">Edytor XML</option>
+                                <option value="panel2">Panel 2</option>                            
+                            </select>
+                        </div>
                         <div id="left-panel-contents" class="panel-contents">
                         </div>
                     </div>
                     <div id="right-panel-toolbar" class="panel-toolbar">
                         <label for="select-right-panel">Prawy panel:</label>
                         <select name="select-right-panel" id="select-right-panel">
-                            <option value="panel1">Panel 1</option>
+                            <option value="{% url xmleditor %}">Edytor XML</option>
                             <option value="panel2">Panel 2</option>                            
                         </select>
-                        <div id="right-panel-contents" class="panel-contents">
-                        </div>
                     </div>
-                    {# <textarea id="id_text" name="text" width="480px">{{ form.text.field.initial }}</textarea> #}
+                    <div id="right-panel-contents" class="panel-contents">
+                    </div>
+                    {#  #}
                 </div>
             </div>
                         {#  #}