#19752: luci-theme-openwrt is "broken" in Chaos Calmer 15.05-rc1
-------------------------+-------------------------------------------------
  Reporter:  angelos     |      Owner:
      Type:  defect      |     Status:  new
  Priority:  high        |  Milestone:  Chaos Calmer (trunk)
 Component:  luci        |    Version:  Trunk
Resolution:              |   Keywords:  luci-theme-openwrt Chaos Calmer
                         |  15.05 RC1
-------------------------+-------------------------------------------------

Comment (by angelos):

 In my case, the Bootstrap theme is working.

 Here is the html source of the start page:

 {{{
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="auto" lang="auto">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta http-equiv="Content-Script-Type" content="text/javascript" />
 <link rel="stylesheet" type="text/css" media="screen" href="/luci-
 static/openwrt.org/cascade.css" />
 <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href
 ="/luci-static/openwrt.org/ie6.css" /><![endif]-->
 <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href
 ="/luci-static/openwrt.org/ie7.css" /><![endif]-->
 <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen" href
 ="/luci-static/openwrt.org/ie8.css" /><![endif]-->
 <script type="text/javascript" src="/luci-
 static/resources/xhr.js"></script>
 <title>OpenWrt - LuCI</title>
 </head>
 <body class="lang_auto">

 <p class="skiplink">
 <span id="skiplink1"><a href="#navigation">Skip to navigation</a></span>
 <span id="skiplink2"><a href="#content">Skip to content</a></span>
 </p>

 <div id="menubar">
 <h2 class="navigation"><a id="navigation"
 name="navigation">Navigation</a></h2>

 <div class="hostinfo">
         OpenWrt | OpenWrt Chaos Calmer 15.05-rc1 |
         Load: 0.03 0.02 0.01
         <span id="xhr_poll_status" style="display:none"
 onclick="XHR.running() ? XHR.halt() : XHR.run()">
                 | Auto Refresh:
                 <span id="xhr_poll_status_on">on</span>
                 <span id="xhr_poll_status_off"
 style="display:none">off</span>
         </span>
 </div>





 <div class="clear"></div>
 </div>

 <div id="maincontainer">
         <div id="tabmenu">

         </div>

         <div id="maincontent">
                 <noscript>
                         <div class="errorbox">
                                 <strong>Java Script required!</strong><br
 />
                                 You must enable Java Script in your
 browser or LuCI will not work properly.
                         </div>
                 </noscript><div class="errorbox">
                         <strong>No password set!</strong><br />
                         There is no password set on this router. Please
 configure a root password to protect the web interface and enable SSH.<br
 />
                         <a href="/cgi-bin/luci/admin/system/admin">Go to
 password configuration...</a>
                 </div>


 <form method="post" action="/cgi-bin/luci">
         <div class="cbi-map">
                 <h2><a id="content" name="content">Authorization
 Required</a></h2>
                 <div class="cbi-map-descr">
                         Please enter your username and password.</div>
                 <fieldset class="cbi-section"><fieldset class="cbi-
 section-node">
                         <div class="cbi-value">
                                 <label class="cbi-value-
 title">Username</label>
                                 <div class="cbi-value-field">
                                         <input class="cbi-input-user"
 type="text" name="luci_username" value="root" />
                                 </div>
                         </div>
                         <div class="cbi-value cbi-value-last">
                                 <label class="cbi-value-
 title">Password</label>
                                 <div class="cbi-value-field">
                                         <input class="cbi-input-password"
 type="password" name="luci_password" />
                                 </div>
                         </div>
                 </fieldset></fieldset>
         </div>

         <div>
                 <input type="submit" value="Login" class="cbi-button cbi-
 button-apply" />
                 <input type="reset" value="Reset" class="cbi-button cbi-
 button-reset" />
         </div>
 </form>
 <script type="text/javascript">//<![CDATA[
         var input = document.getElementsByName('luci_password')[0];
         if (input)
                 input.focus();
 //]]></script>



 <script type="text/javascript">//<![CDATA[
         if (document.location.protocol != 'https:') {
                 var url = 'https://' + window.location.hostname + ':' +
 '443' + window.location.pathname;
                 var img=new Image;
                 img.onload=function(){window.location = url};
                 img.src='https://' + window.location.hostname + ':' +
 '443' + '/luci-static/resources/cbi/up.gif?' + Math.random();;
                 setTimeout(function(){
                         img.src=''
                 }, 5000);
         }
 //]]></script>



 <div class="clear"></div>
 </div>
 </div>

 <p class="luci">
         Powered by LuCI Master (git-15.126.50380-7a54785)
 </p>
 </body>
 </html>
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19752#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to