added some basic unittests
changed warning/success message system to a new style unified design of "hints" in form interfaces fixed small bugs in "network" and "partition" plugin interfaces "partition" and "disks" plugins: show blockdevice size during device selection german translation for "disks" plugin added
This commit is contained in:
parent
29d2e442f2
commit
c35e204a7b
34 changed files with 197 additions and 57 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.shutdown.Title.Shutdown) ?></h1>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<!--
|
||||
<p style="text-align: center">
|
||||
<?cs var:html_escape(Lang.Plugins.shutdown.Text.ShutdownInfo) ?>
|
||||
|
|
|
@ -6,6 +6,6 @@ class unittests(WebInterfaceTestClass.WebInterfaceTestClass):
|
|||
url = self.URL + "plugins/shutdown"
|
||||
self.register_auth(url)
|
||||
self.cmd.go(url)
|
||||
self.cmd.find('<form name="shutdown"')
|
||||
self.cmd.find('<form name="reboot"')
|
||||
self.cmd.find('plugins/shutdown\?type=reboot')
|
||||
self.cmd.find('plugins/shutdown\?type=shutdown')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue