treewide: convert HTML tables to div
[project/luci.git] / applications / luci-app-shadowsocks-libev / luasrc / view / shadowsocks-libev / add_instance.htm
index 219d89b07466121754a0385c1328cd9c617cb077..80b95564ddc75bfa9fcd6e3b9f32c2a6b4378d2f 100644 (file)
@@ -1,8 +1,8 @@
 <div class="cbi-section-create cbi-tblsection-create">
        <br />
-       <table class="cbi-section-table">
-               <tr class="cbi-section-table-row">
-                       <td class="cbi-section-table-cell" style="width:140px">
+       <div class="table cbi-section-table">
+               <div class="tr cbi-section-table-row">
+                       <div class="td cbi-section-table-cell" style="width:140px">
                                <select class="cbi-input-select" id="_newinst.type" name="_newinst.type">
                                        <option value="_dummy">-- instance type --</option>
                                        <option value="ss_local">ss-local</option>
                                        <option value="ss_redir">ss-redir</option>
                                        <option value="ss_server">ss-server</option>
                                </select>
-                       </td>
-                       <td class="cbi-section-table-cell" style="width:110px">
+                       </div>
+                       <div class="td cbi-section-table-cell" style="width:110px">
                                <input type="text" class="cbi-input-text" id="_newinst.name" name="_newinst.name" placeholder="<%:Name%>"/>
-                       </td>
-                       <td class="cbi-section-table-cell left">
+                       </div>
+                       <div class="td cbi-section-table-cell left">
                                <input type="submit" class="cbi-button cbi-button-add" name="cbi.cts.<%=self.config%>" value="<%:Add%>" />
-                       </td>
-               </tr>
-       </table>
+                       </div>
+               </div>
+       </div>
 </div>
 <script type="text/javascript">//<![CDATA[
        XHR.poll(5, '<%=url('admin/services/shadowsocks-libev/status')%>', null,