diff --git a/Netdisco/public/javascripts/netdisco.js b/Netdisco/public/javascripts/netdisco.js index a81648ae..4da002ad 100644 --- a/Netdisco/public/javascripts/netdisco.js +++ b/Netdisco/public/javascripts/netdisco.js @@ -45,7 +45,7 @@ function do_search (event, tab) { // in case of slow data load, let the user know $(target).html( - '

Waiting for results...

' + '

Waiting for results...

' ); // submit the query and put results into the tab pane @@ -53,14 +53,14 @@ function do_search (event, tab) { function(response, status, xhr) { if (status !== "success") { $(target).html( - '
' + + '
' + '

Search failed! Please contact your site administrator.

' ); return; } if (response === "") { $(target).html( - '

No matching records.

' + '

No matching records.

' ); } diff --git a/Netdisco/views/index.tt b/Netdisco/views/index.tt index abcbd99f..0223d054 100644 --- a/Netdisco/views/index.tt +++ b/Netdisco/views/index.tt @@ -1,40 +1,40 @@
-
+
[% IF params.failed %] -
- × -

Incorrect username or password, please try again.

+
+ × + Incorrect username or password, please try again.
[% END %] [% IF params.logout %] -
- × -

You are now logged out.

+
+ × + You are now logged out.
[% END %] [% IF params.nosuchdevice %] -
- × -

Sorry, no such device is known.

+
+ × + Sorry, no such device is known.
[% END %] [% IF vars.notfound %] -
- × -

Sorry, page not found. - Report a Bug?

+
+ × + Sorry, page not found. + Report a Bug?
[% END %] [% IF NOT session.user %] -
- × -

Log in to the Demo with username "demo" and password "demo".

+
+ × + Log in to the Demo with username "demo" and password "demo".
[% ELSE %] -
- × -

Hit Enter in the Search box to view the current Inventory (temporary feature).

+
+ × + Hit Enter in the Search box to view the current Inventory (temporary feature).
[% END %]