diff --git a/boxes/__init__.py b/boxes/__init__.py index 868c51d..0485d79 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -192,7 +192,7 @@ class Boxes: self.formats = formats.Formats() self.argparser = ArgumentParser(description=self.__doc__) self.edgesettings = {} - self.argparser._action_groups[1].title = "Generator Settings" + self.argparser._action_groups[1].title = self.__class__.__name__ + " Settings" defaultgroup = self.argparser.add_argument_group( "Default Settings") diff --git a/scripts/boxesserver b/scripts/boxesserver index 9247248..62ed31a 100755 --- a/scripts/boxesserver +++ b/scripts/boxesserver @@ -8,7 +8,8 @@ import os.path import threading import time -css = (open(os.path.join(os.path.dirname(__file__), 'self.css')).read()) +csspath = os.path.join(os.path.dirname(__file__), 'self.css') +css = (open(csspath).read()) # Python 2 vs Python 3 compat @@ -126,10 +127,14 @@ class BServer: e.style.display = "none"; } } + function hideargs() { + for ( i=1; i<""" + str(len(box.argparser._action_groups)-2) + """; i++) { + showHide(i); + } + } -
- +