diff options
-rw-r--r-- | h-client/hclient.py | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/h-client/hclient.py b/h-client/hclient.py index 378f776..3d8af58 100644 --- a/h-client/hclient.py +++ b/h-client/hclient.py @@ -470,7 +470,7 @@ class hclient: self.loginWindow.add(vbox) - table = gtk.Table(2, 2, True) + table = gtk.Table(4, 2, True) table.set_border_width(10) label = gtk.Label("<b>login to the server</b>") @@ -502,6 +502,21 @@ class hclient: #add the input to the table table.attach(self.passwordEntry, 1, 2, 1, 2) + ### create new account + label = gtk.Label("<a href='http://"+self.client.getNode()+"/users/add/en'>Create new account</a>") + label.set_use_markup(True) + label.set_alignment(0.98,0.5) + #add the label + table.attach(label, 0, 2, 2, 3) + + ### request new password + label = gtk.Label("<a href='http://"+self.client.getNode()+"/users/forgot/en'>Request new password</a>") + label.set_use_markup(True) + label.set_alignment(0.98,0.5) + #add the label + table.attach(label, 0, 2, 3, 4) + + hbox = gtk.HBox(False, 0) hbox.set_border_width(10) applyButton = gtk.Button(stock=gtk.STOCK_APPLY) @@ -1026,6 +1041,10 @@ class hclient: hboxBelowEntries.pack_end(self.resetButton, False, True, 0) hboxBelowEntries.pack_start(self.submitButton, False, True, 0) hboxBelowEntries.show_all() + + #lFrame = gtk.Frame() + #lFrame.add(rhbox) + #lFrame.set_border_width(5) #start the left vertical box self.rightWindow = gtk.VBox(False, 0) @@ -1039,9 +1058,7 @@ class hclient: rhbox = gtk.HBox(False, 0) rhbox.pack_start(self.rightWindow, True, True, 5) - #rFrame = gtk.Frame() - #rFrame.add(rhbox) - #rFrame.set_border_width(5) + rvbox = gtk.VBox(False, 0) |