web/webctl.py
branchstable
changeset 2395 e3093fc12a00
parent 1977 606923dff11b
child 2476 1294a6bdf3bf
--- a/web/webctl.py	Sat Jul 18 16:17:46 2009 +0200
+++ b/web/webctl.py	Sat Jul 18 22:58:30 2009 +0200
@@ -8,6 +8,7 @@
 """
 __docformat__ = "restructuredtext en"
 
+from cubicweb import underline_title
 from cubicweb.toolsutils import CommandHandler, confirm
 
 
@@ -16,14 +17,12 @@
 
     def bootstrap(self, cubes, inputlevel=0):
         """bootstrap this configuration"""
-        print '** generic web configuration'
+        print '\n'+underline_title('Generic web configuration')
         config = self.config
         if config.repo_method == 'pyro':
-            print
-            print '** repository server configuration'
-            print '-' * 72
+            print '\n'+underline_title('Repository server configuration')
             config.input_config('pyro-client', inputlevel)
-        if confirm('allow anonymous access', False):
+        if confirm('Allow anonymous access ?', False):
             config.global_set_option('anonymous-user', 'anon')
             config.global_set_option('anonymous-password', 'anon')