From d88484f85d260ac157217097bf0e81d8ee5ad272 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 18 Jan 2012 16:16:39 +0000 Subject: [PATCH] add helpful message at login --- Netdisco/views/index.tt | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Netdisco/views/index.tt b/Netdisco/views/index.tt index 89f43975..74c2e0d2 100644 --- a/Netdisco/views/index.tt +++ b/Netdisco/views/index.tt @@ -2,30 +2,41 @@
[% IF params.failed %] -
+
×

Incorrect username or password, please try again.

[% END %] [% IF params.logout %] -
+
×

You are now logged out.

[% END %] [% IF params.nosuchdevice %] -
+
×

Sorry, no such device is known.

[% END %] [% IF vars.notfound %] -
+
×

Sorry, page not found. Report a Bug?

[% END %] + [% IF NOT session.user %] +
+ × +

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

+
+ [% ELSE %] +
+ × +

Hit Enter in the Search box to view the current Inventory.

+
+ [% END %]

Welcome to Netdisco

Netdisco is an Open Source web-based network management tool.