Skip to content

Commit

Permalink
Added No JavaScript Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuhinshubhra committed May 9, 2019
1 parent 656ab5c commit 9acfc07
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
</head>

<body>
<div class="noscript" id="noscript">
<img src="{{ url_for('static',filename='images/error.png') }}">
<h1>ExtAnalysis needs javascript enabled to work!</h1>
</div>
<div class="wrapper">
<!--
<h2>ExtAnalysis</h2>
Expand Down
4 changes: 4 additions & 0 deletions templates/graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
</head>

<body>
<div class="noscript" id="noscript">
<img src="{{ url_for('static',filename='images/error.png') }}">
<h1>ExtAnalysis needs javascript enabled to work!</h1>
</div>
<div class="wrapper">
<div id="loading" style="display: block;">
<img src="{{ url_for('static',filename='images/working.gif') }}"><br>
Expand Down
4 changes: 4 additions & 0 deletions templates/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
</style>
</head>
<body>
<div class="noscript" id="noscript">
<img src="{{ url_for('static',filename='images/error.png') }}">
<h1>ExtAnalysis needs javascript enabled to work!</h1>
</div>
<div class="logo-placeholder"><a href='/'><img src="{{ url_for('static',filename='images/logo.png') }}" class="logo" id="logo"></a></div>
<a href="#" id="lightSwitchOn" onclick="lightsOn()" class="dmode day" title="Enable Light Mode"><img src="{{ url_for('static',filename='images/light.svg') }}" style="width:27px;"></a>
<a href="#" id="lightSwitchOff" onclick="lightsOff()" class="dmode night" title="Enable Dark Mode"><img src="{{ url_for('static',filename='images/dark.svg') }}" style="width:27px;"></a>
Expand Down
4 changes: 4 additions & 0 deletions templates/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
</head>

<body>
<div class="noscript" id="noscript">
<img src="{{ url_for('static',filename='images/error.png') }}">
<h1>ExtAnalysis needs javascript enabled to work!</h1>
</div>
<div class="wrapper">
<!--
<h2>ExtAnalysis</h2>
Expand Down
4 changes: 4 additions & 0 deletions templates/sourcecode.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
</head>

<body>
<div class="noscript" id="noscript">
<img src="{{ url_for('static',filename='images/error.png') }}">
<h1>ExtAnalysis needs javascript enabled to work!</h1>
</div>
<div class="wrapper">
<!--
<h2>ExtAnalysis</h2>
Expand Down

0 comments on commit 9acfc07

Please sign in to comment.