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:
lars 2006-11-02 14:01:09 +00:00
parent 29d2e442f2
commit c35e204a7b
34 changed files with 197 additions and 57 deletions

View file

@ -2,6 +2,8 @@
<h1><?cs var:html_escape(Lang.Plugins.system_preferences.Title.Preferences) ?></h1>
<?cs call:handle_messages() ?>
<?cs # sort the Plugins - using the most stupid way :) ?>
<?cs loop: order = #0, #100, #1
?><?cs # plugins ?><?cs each:x = Settings.PluginList

View file

@ -0,0 +1,8 @@
import WebInterfaceTestClass
class unittests(WebInterfaceTestClass.WebInterfaceTestClass):
def test_preferences_overview(self):
self.cmd.go(self.URL + "plugins/system_preferences?weblang=en")
self.cmd.find("Preferences")