First of all I wold like to say that I've just upgraded SRX300 to 15.1X49D150 and everything is fine with J-Web.
And everything was fine with J-Web in initial JunOS 15.1X49D45/SRX-300 unpacked from the box.
After login page I see webpage and menus, but everything is broken.
As for JunOS 15.1X49D150 in SRX550HM, I opened the HTTPD log and saw:
httpd: 2: Error: "Not Found", code 404 for URI "/extjs/resources/ext-theme-classic/ext-theme-classic-all.css", file "/html/extjs/resources/ext-theme-classic/ext-theme-classic-all.css": Can't open document: /html/extjs/resources/ext-theme-classic/ext-theme-classic-all.css.
Browser debugger said that no ext-theme-classic-all.css loaded.
I opened J-Web for SRX300 with JunOS 15.1X49D45 2016 as well as upgraded JunOS 15.1X49D45/SRX-300, there are no errors with CSS, by the way there are two CSS: for classic theme and for j-web theme. SRX300 is the NG SRX and J-web theme is loaded, as well as classic is available for browser too.
Then I've found that php-scripts (index.php and login.php in the root) contain /html/extjs/resources/ext-theme-classic/ path to load ext-theme-classic-all.css, but there is no any CSS there, the both CSS (for classic and for j-web are located in /jail/html/extjs/resources/ext-theme-jweb folder!
here is an index.php:
........
if(check_model('MODEL_NGSRX')) {
print <<<EOF
<script type="text/javascript" src="/javascript/ext-jnpr-slipstream.js?$urlArgs"></script>
<link rel="stylesheet" type="text/css" href="/extjs/resources/ext-theme-jweb/ext-theme-jweb-all.css"/>
<link rel="stylesheet" type="text/css" href="/extjs/resources/css/ext-all.css"/>
<link rel="stylesheet" type="text/css" href="/stylesheet/ext-jnpr-slipstream.css"/>
EOF;
} else {
print <<<EOF
<link rel="stylesheet" type="text/css" href="/extjs/resources/ext-theme-classic/ext-theme-classic-all.css"/>
EOF;
......
550 is not NG SRX, so the browser was redirected to load extjs/resources/ext-theme-classic/ext-theme-classic-all.css,
but there is no ext-theme-classic-all.css in extjs/resources/ext-theme-classic/. ext-theme-classic-all.css is located in /jail/html/extjs/resources/ext-theme-jweb folder!
I tried to put this CSS to extjs/resources/ext-theme-classic folder, but I've got a message:
--- JUNOS 15.1X49-D150.2 built 2018-09-19 17:44:55 UTC
$ su root
Password:
root@juno% cp /jail/html/extjs/resources/ext-theme-jweb/ext-theme-classic-all.css /jail/html/extjs/resources/ext-theme-classic/
cp: /jail/html/extjs/resources/ext-theme-classic/ext-theme-classic-all.css: Read-only file system
As for 15.1X49D45 in SRX300, both CSS are in /jail/html/extjs/resources/ext-theme-jweb/ as well as in D150, but there is no redirect to classic css:
if(check_model('MODEL_NGSRX')) {
print <<<EOF
<link rel="stylesheet" type="text/css" href="/extjs/resources/css/ext-all.css"/>
EOF;
}
print <<<EOF
<link rel="stylesheet" type="text/css" href="/stylesheet/ext-jnpr.css"/>
There are some screens attached.