Registration.rythm: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 4: Line 4:
* {{Link|target=MediaWiki:BITPlan.rythm}}
* {{Link|target=MediaWiki:BITPlan.rythm}}
* {{Link|target=MediaWiki:Form.rythm}}
* {{Link|target=MediaWiki:Form.rythm}}
* https://www.w3schools.com/bootstrap/bootstrap_ref_comp_glyphs.asp


= Rythm template =
= Rythm template =
Line 10: Line 11:
@include(wiki.MediaWiki.BITPlan.rythm)
@include(wiki.MediaWiki.BITPlan.rythm)
@{
@{
   SelectField selectField=new SelectField("training","Seminar","Training","CPSA-F","CPSA-F","book",0);
   SelectField trainingField=new SelectField("training","Seminar","Training","CPSA-F","CPSA-F","book",0);
   String [] trainings={"iSAQB CPSA-F (4 Tage) EUR 1980,-","IREB CPRE-FL (4 Tage) EUR 1780,-","IREB CPRE-AL Requirements Management (3 Tage) EUR 1730,-","UML-Tag (1 Tag) EUR 560,-"};
   String [] trainings={"iSAQB CPSA-F (4 Tage) EUR 2380,-","IREB CPRE-FL (4 Tage) EUR 1960,-","IREB CPRE-AL Requirements Management (3 Tage) EUR 1830,-","UML-Tag (1 Tag) EUR 699,-"};
   selectField.addSelections(trainings);
   trainingField.addSelections(trainings);
  SelectField locationField=new SelectField("location","Location","Seminarort","Düsseldorf","Düsseldorf","map-marker",0);
  String [] locations={"Düsseldorf","Berlin","Hannover"};
  locationField.addSelections(locations);
   Field[] fields={
   Field[] fields={
     selectField,
     trainingField,
    locationField,
    new TextField("date","Date","Termin","November 12th, 2018","12.11.2018","calendar",2),
     new TextField("name","Name","Name","John Doe","Erika Mustermann","user",2),
     new TextField("name","Name","Name","John Doe","Erika Mustermann","user",2),
     new TextField("organisation","Organization","Organisation","Doe Inc.","Mustermann GmbH","user",2),
     new TextField("organisation","Organization","Organisation","Doe Inc.","Mustermann GmbH","user",2),
     new TextField("email","E-Mail Address","E-Mail Adresse","john@doe.com","erika@mustermann.de","envelope",5),
     new TextField("email","E-Mail Address","E-Mail Adresse","john@doe.com","erika@mustermann.de","envelope",5),
     new TextField("phone","Phone number","Telefon","+1 845 555-1212","+49 30 675797","earphone",8),
     new TextField("phone","Phone number","Telefon","+1 845 555-1212","+49 30 675797","earphone",8),
    new TextAreaField("message","Your Message to us","Ihre Nachricht an us","Your Message","Ihre Nachricht","pencil",10)
     new TextField("address","Address","Adresse","12 Westend Ave","Mauerstr. 12","home",8),
     new TextField("address","Address","Adresse","12 Westend Ave","Mauerstr. 12","home",8),
     new TextField("zip","ZIP Code","PLZ","10023","10117","home",3),
     new TextField("zip","ZIP Code","PLZ","10023","10117","home",3),
     new TextField("city","City","Ort","New York","Berlin","home",2)
     new TextField("city","City","Ort","New York","Berlin","home",2),
    new TextAreaField("message","Your Message to us","Ihre Nachricht an uns","Your Message","Ihre Nachricht","pencil",10)
   };
   };
   Form form=new Form(de,postService,postToken,fields);
   Form form=new Form(de,postService,postToken,fields);
   form.setTitle("Your binding registration","Ihre verbindliche Anmeldung");
   form.setTitle("Your binding registration","Ihre verbindliche Anmeldung");
   form.setSuccess("Thanks for for your order, we will get back to you shortly","Vielen Dank für Ihren Auftrag, wir melden uns unverzüglich");
   form.setSuccess("Thanks for for your order, we will get back to you shortly","Vielen Dank für Ihren Auftrag, wir melden uns unverzüglich");
  form.setSubmit("Register","Anmelden");
  form.setSubject("Trainingregistration");
}
}
@BITPlanHeader(languageCode,title)
@BITPlanHeader(languageCode,title)

Latest revision as of 14:18, 7 January 2026

Links

Rythm template

@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.BITPlan.rythm)
@{
  SelectField trainingField=new SelectField("training","Seminar","Training","CPSA-F","CPSA-F","book",0);
  String [] trainings={"iSAQB CPSA-F (4 Tage) EUR 2380,-","IREB CPRE-FL (4 Tage) EUR 1960,-","IREB CPRE-AL Requirements Management (3 Tage) EUR 1830,-","UML-Tag (1 Tag) EUR 699,-"};
  trainingField.addSelections(trainings);
  SelectField locationField=new SelectField("location","Location","Seminarort","Düsseldorf","Düsseldorf","map-marker",0);
  String [] locations={"Düsseldorf","Berlin","Hannover"};
  locationField.addSelections(locations);
  Field[] fields={
    trainingField,
    locationField,
    new TextField("date","Date","Termin","November 12th, 2018","12.11.2018","calendar",2),
    new TextField("name","Name","Name","John Doe","Erika Mustermann","user",2),
    new TextField("organisation","Organization","Organisation","Doe Inc.","Mustermann GmbH","user",2),
    new TextField("email","E-Mail Address","E-Mail Adresse","john@doe.com","erika@mustermann.de","envelope",5),
    new TextField("phone","Phone number","Telefon","+1 845 555-1212","+49 30 675797","earphone",8),
    new TextField("address","Address","Adresse","12 Westend Ave","Mauerstr. 12","home",8),
    new TextField("zip","ZIP Code","PLZ","10023","10117","home",3),
    new TextField("city","City","Ort","New York","Berlin","home",2),
    new TextAreaField("message","Your Message to us","Ihre Nachricht an uns","Your Message","Ihre Nachricht","pencil",10)
  };
  Form form=new Form(de,postService,postToken,fields);
  form.setTitle("Your binding registration","Ihre verbindliche Anmeldung");
  form.setSuccess("Thanks for for your order, we will get back to you shortly","Vielen Dank für Ihren Auftrag, wir melden uns unverzüglich");
  form.setSubmit("Register","Anmelden");
  form.setSubject("Trainingregistration");
}
@BITPlanHeader(languageCode,title)
@BITPlanForm(de,form)