Changeset 195

Show
Ignore:
Timestamp:
Fri Sep 8 13:30:17 2006
Author:
Brian
Message:

Added web access instructions to display in Add Database to Server script.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • server/trunk/update/client/Add Database to Server.py

    r189 r195  
    28 28 # 060830 - added dialog to display download instructions  
    29 29 # 060831 - prevent deprecation message in log file  
      30 # 060908 - added web access instructions to display  
    30 31  
    31 32 def DoCall():  
     
    105 106                     next["_" + k] = v  # the server knows about all these rows  
    106 107  
      108             webfile = Data.Other['WebFileKey']  
    107 109             text = _("""The database was added to the server. If you would like someone to be able  
    108   to download the database, send them the following information.  
      110 to download the database or access the database via the web, send them one one  
      111 or more of the following.  
      112  
      113 IMPORTANT: Before sending the web instructions be sure to insert the actual URL they should use.  
    109 114 ----  
    110 115 Before you download a database from the GanttPV Server, you will need to install  
     
    119 124 (5) Before and after you make changes to the database, run the script "Share Changes with Server".  
    120 125 ----  
    121   """) % (server_address, file_signature, Data.Other['EditKey'])  
      126 To view the GanttPV database via web browser, do the following:  
      127  
      128 (1) Open the GanttPV Server Web Page at this URL:  
      129 (-- REPLACE this with the actual URL.-- Get it from the person who installs GanttPV on the web server.)  
      130 (2) Copy and paste the following key to display the reports:  
      131 %s%s  
      132 (3) Click Submit  
      133 ----  
      134 To view or edit the GanttPV database via web browser, do the following:  
      135  
      136 (1) Open the GanttPV Server Web Page at this URL:  
      137 (-- REPLACE this with the actual URL.-- Get it from the person who installs GanttPV on the web server.)  
      138 (2) Copy and paste the following key to display the reports:  
      139 %s%s  
      140 (3) Click Submit  
      141 """) % (server_address, file_signature, Data.Other['EditKey'], webfile, Data.Other['WebViewKey'], webfile, Data.Other['WebEditKey'])  
    122 142             dlg = wx.lib.dialogs.ScrolledMessageDialog(self, text, "Database Added to Server")  
    123 143             dlg.Show()