luci2: adapt views to changed luci2 framework
[project/luci2/ui.git] / luci2 / htdocs / luci2 / template / system.startup.htm
index 6edf290..0d7ca80 100644 (file)
@@ -1,18 +1,21 @@
-<fieldset class="cbi-map" id="maps">
-       <div>
-               <legend><%:Local Startup%></legend>
-               <div class="cbi-map-descr"><%:This is the content of /etc/rc.local. Insert your own commands here (in front of 'exit 0') to execute them at the end of the boot process.%></div>
-       </div>
-       <div>
-               <textarea id="rc_local" class="cbi-input-textarea" style="width:100%" rows="10"></textarea>
-               <div class="cbi-page-actions">
-                       <input class="cbi-button cbi-button-save" type="button" value="<%:Save%>" />
+<ul class="nav nav-tabs">
+       <li class="active"><a href="#rclocal" data-toggle="tab"><%:Local Startup%></a></li>
+       <li><a href="#initscripts" data-toggle="tab"><%:Initscripts%></a></li>
+</ul>
+
+<div class="tab-content">
+       <div class="tab-pane active" id="rclocal">
+               <p><%:This is the content of /etc/rc.local. Insert your own commands here (in front of 'exit 0') to execute them at the end of the boot process.%></p>
+               <div class="panel panel-default">
+                       <textarea id="rc_local" class="form-control" style="width:100%" rows="10"></textarea>
+               </div>
+               <div class="text-right">
+                       <button type="button" class="btn btn-primary"><%:Save%></button>
                </div>
        </div>
 
-       <div>
-               <legend><%:Initscripts%></legend>
-               <div class="cbi-map-descr"><%:You can enable or disable installed init scripts here. Changes will applied after a device reboot. Warning: If you disable essential init scripts like "network", your device might become inaccessible!%></div>
+       <div class="tab-pane" id="initscripts">
+               <p><%:You can enable or disable installed init scripts here. Changes will applied after a device reboot. Warning: If you disable essential init scripts like "network", your device might become inaccessible!%></p>
+               <div id="init_table"></div>
        </div>
-       <div id="init_table"></div>
-</fieldset>
+</div>