Changeset 48 for trunk/Pages/UMainPage.pas
- Timestamp:
- Mar 28, 2011, 9:31:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Pages/UMainPage.pas
r47 r48 29 29 App.HtmlDocument.Title := 'Odkazy'; 30 30 31 with App.HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin31 with App.HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 32 32 Text := '<strong>Odkazy související s obcí:</strong><br/>' + 33 33 … … 69 69 HtmlDocument.Title := 'Historie sítě'; 70 70 71 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin71 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 72 72 Text := '<table>'; 73 73 try … … 95 95 HtmlDocument.Title := 'Plánované projekty'; 96 96 97 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin97 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 98 98 Text := '<table>'; 99 99 try … … 129 129 HtmlDocument.Title := 'Internet'; 130 130 131 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin131 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 132 132 Text := Text + 'Hlavní náplní činnosti sítě je poskytovat výhodné připojení k internetu pro občany.<br/><br/>' + 133 133 '<strong>Nabídka tarifů:</strong><br/>' + … … 158 158 HtmlDocument.Title := 'Webové kamery'; 159 159 160 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin160 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 161 161 Text := '<table style="width: 100%"><tr><td style="width: 20%">' + 162 162 '<strong>Kamery v okolí:</strong><br />' + … … 201 201 HtmlDocument.Title := 'VoIP'; 202 202 203 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin203 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 204 204 Text := 'Volejte levněji do pevných a mobilních sítí s sekundovou tarifikací a bez měsíčního paušálu.<br/>' + 205 205 '<br/>' + … … 238 238 HtmlDocument.Title := 'Hosting'; 239 239 240 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin240 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 241 241 Text := 'V nabídce je provoz virtualizovaných Linuxových serverů dle dohodnutých parameterů.<br/><br/>' + 242 242 '<strong>Standardní varianty:</strong><br/>' + … … 301 301 HtmlDocument.Title := 'Síť'; 302 302 303 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin303 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 304 304 Text := MakeLink('Historie', NavigationLink('/historie/')) + '<br/>' + 305 305 MakeLink('Dokumenty', NavigationLink('/dokumenty/')) + '<br/>' + … … 316 316 HtmlDocument.Title := 'Úvod'; 317 317 318 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin318 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 319 319 Text := '<img align="left" src="' + NavigationLink('/images/umisteni.gif') + '" alt="Umístění obce"/>' + 320 320 '<a href="' + NavigationLink('/images/pokryti.jpg') + '">' + … … 366 366 HtmlDocument.Title := 'Dokumenty'; 367 367 368 with HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin368 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 369 369 Text := '<strong>O obci:</strong><br/>' + 370 370 … … 389 389 App.HtmlDocument.Title := 'Kontakt'; 390 390 391 with App.HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin391 with App.HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 392 392 Text := '<strong>Kontaktní informace</strong><br/>' + 393 393 'Provozovatel: Ing. Jiří Hajda<br/>' + … … 414 414 if HandlerData.Request.QueryParts.Count > 1 then PageName := HandlerData.Request.QueryParts[1] 415 415 else PageName := ''; 416 with App.HtmlDocument.Body, THtmlString(SubItems [SubItems.Add(THtmlString.Create)]) do begin416 with App.HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 417 417 if PageName = 'prihlaseni' then begin 418 418 Text := 'Login'; 419 with App.HtmlDocument.Body, TQueryForm(SubItems [SubItems.Add(TQueryForm.Create)]) do begin419 with App.HtmlDocument.Body, TQueryForm(SubItems.AddNew(TQueryForm.Create)) do begin 420 420 Title := 'Přihlášení'; 421 with TQueryFormGroup(Groups[Groups.Add(TQueryFormGroup.Create)]) do begin 421 ClassId := 'Form'; 422 with TQueryFormGroup(Groups.AddNew(TQueryFormGroup.Create)) do begin 422 423 Title := 'Základní údaje'; 423 with TQueryFormItem(Rows [Rows.Add(TQueryFormItem.Create)]) do begin424 with TQueryFormItem(Rows.AddNew(TQueryFormItem.Create)) do begin 424 425 Caption := 'Jméno'; 425 426 Hint := 'Zadejte vaše přihlašovací jméno'; 426 427 Required := True; 427 428 end; 428 with TQueryFormItem(Rows [Rows.Add(TQueryFormItem.Create)]) do begin429 with TQueryFormItem(Rows.AddNew(TQueryFormItem.Create)) do begin 429 430 Caption := 'Heslo'; 430 431 Hint := 'Zadejte vaše heslo'; 431 432 Required := True; 433 ItemType := fitPassword; 432 434 end; 433 435 end;
Note:
See TracChangeset
for help on using the changeset viewer.