URLs changed to new plugin addressing scheme
svn:keywords set fixed: shutdown - delay reboot/poweroff by some seconds to finish the web page before added: format_fs - show link to umount in case of active device added: new plugin "language_selection" fixed: recently introduced syntax error in 'network' added: "volume_props" mentions encryption support via "format_fs" (including link) updated: plugin-interface.txt fixed: broken test case for date plugin (caused by twill, I guess) added: "partition" plugin - better handling of config partitionmaster
parent
7905fe7051
commit
80337411ae
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 6.1 KiB |
@ -0,0 +1,5 @@
|
||||
Name = Choose interface language
|
||||
Link = Languages
|
||||
|
||||
Title.Language = Choose an interface language
|
||||
|
@ -0,0 +1,15 @@
|
||||
<?cs # $Id$ ?>
|
||||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.language_selection.Title.Language) ?></h1>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<div id="lang">
|
||||
<ul>
|
||||
<?cs loop:index = #0, subcount(Data.Languages)-1, #1 ?>
|
||||
<li><a href="<?cs
|
||||
call:link("disks", 'weblang', Data.Languages[index].name, '','') ?>" title="<?cs
|
||||
var:html_escape(Data.Languages[index].link) ?>" /><?cs
|
||||
var:html_escape(Data.Languages[index].link) ?></a></li><?cs /loop ?>
|
||||
</ul>
|
||||
</div>
|
@ -0,0 +1,16 @@
|
||||
import CryptoBoxPlugin
|
||||
|
||||
|
||||
class language_selection(CryptoBoxPlugin.CryptoBoxPlugin):
|
||||
|
||||
pluginCapabilities = [ "system", "menu" ]
|
||||
requestAuth = False
|
||||
rank = 60
|
||||
|
||||
def doAction(self):
|
||||
return "language_selection"
|
||||
|
||||
|
||||
def getStatus(self):
|
||||
return "TODO"
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,10 @@
|
||||
import WebInterfaceTestClass
|
||||
|
||||
class unittests(WebInterfaceTestClass.WebInterfaceTestClass):
|
||||
|
||||
def test_read_form(self):
|
||||
url = self.URL + "language_selection?weblang=en"
|
||||
self.register_auth(url)
|
||||
self.cmd.go(url)
|
||||
self.cmd.find('hoose an interface language')
|
||||
|
@ -0,0 +1,6 @@
|
||||
<?cs # $Id$ ?>
|
||||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.shutdown.Title.ProgressReboot) ?></h1>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
@ -0,0 +1,6 @@
|
||||
<?cs # $Id$ ?>
|
||||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.shutdown.Title.ProgressShutdown) ?></h1>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue