diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-21 19:49:45 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-21 19:49:45 +0000 |
commit | 1e2efbb211c375d384a17f4ff7bccba366202076 (patch) | |
tree | ddb51cd276cc89ee7b440428378d3324fa6c02d6 /src/lib/Server/Hostbase/hostbase/webtemplates | |
parent | 36ac31e3a1c266e4425ad985a595f61bdb25f45d (diff) | |
download | bcfg2-1e2efbb211c375d384a17f4ff7bccba366202076.tar.gz bcfg2-1e2efbb211c375d384a17f4ff7bccba366202076.tar.bz2 bcfg2-1e2efbb211c375d384a17f4ff7bccba366202076.zip |
bug fixes in web forms and plugin
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2296 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates')
4 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html b/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html index 2d5e6fdf9..47d32ede4 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/errors.html @@ -21,6 +21,7 @@ There were errors in the following fields<br><br> {% endfor %} {% endif %} +<br> Press the back button on your browser and edit those field(s) {% endblock %}
\ No newline at end of file diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/new.html b/src/lib/Server/Hostbase/hostbase/webtemplates/new.html index 6a0f927fe..fd57e2c8e 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/new.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/new.html @@ -9,7 +9,7 @@ {% block sidebar %} <ul class="sidebar"> - <li><a href="/hostbase/" class="sidebar">search</a></li> + <li><a href="/hostbase/" class="sidebar">search hostbase</a></li> </ul> {% endblock %} diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/results.html b/src/lib/Server/Hostbase/hostbase/webtemplates/results.html index 3db1a8c9b..f5e98c804 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/results.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/results.html @@ -19,6 +19,7 @@ <col width="200"> <col width="75"> <col width="50"> + <col width="50"> <col width="*"> <tr> <td><b>hostname</b></td> <td> <b>status</b> </td> @@ -32,6 +33,7 @@ {% endif %} <td> <a href="{{ host.1 }}">view</a> </td> <td> <a href="{{ host.1 }}/edit">edit</a> </td> + <td> <a href="{{ host.1 }}/remove">remove</a> </td> </tr> {% endfor %} </table> diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/search.html b/src/lib/Server/Hostbase/hostbase/webtemplates/search.html index 7fefdf6f9..4ac950ae0 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/search.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/search.html @@ -3,11 +3,16 @@ {% block pagebanner %} <div class="header"> <h2>Welcome to Hostbase!</h2> + <p>search for hosts using one or more of the fields below </div> <br/> {% endblock %} + +{% block sidebar %} +<a href="/hostbase/new" class="sidebar">add a new host</a> +{% endblock %} + {% block content %} -Find hosts using one or more of the searchable fields below.<br> <!-- ...or go to <a href="hostinfo">this</a> page to enter hostinfo-like queries<br><br> --> <form name="input" action="?sub=true" method="post"> |