Update to be compatible with online app
This commit is contained in:
parent
ef0087082b
commit
4dca8b58bc
@ -14,27 +14,7 @@
|
||||
|
||||
\begin{Form}[action=http://localhost:5000/,method=post]
|
||||
\paPage{QSM – Allgemeiner Teil}{
|
||||
% Abschnitt 1: Antragsteller : entweder Institution oder Person
|
||||
% -> aktiviert/deaktiviert zugehörige Felder (über radio buttons) mit JavaScript
|
||||
\FormSection{Antragsteller}{%
|
||||
% Radio buttons : horizontal oben
|
||||
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
|
||||
\textbf{Art des Antragstellers} & \raisebox{-1pt}{\ChoiceMenu[
|
||||
radio,
|
||||
name=pa-applicant-type,
|
||||
width=1em,
|
||||
height=1em,
|
||||
radiosymbol=\ding{108}
|
||||
]{}{=person}} Person & \raisebox{-1pt}{\ChoiceMenu[
|
||||
radio,
|
||||
name=pa-applicant-type,
|
||||
width=1em,
|
||||
height=1em,
|
||||
radiosymbol=\ding{108}
|
||||
]{}{=institution}} Institution
|
||||
\end{tabular}\vspace{-1em}
|
||||
}
|
||||
|
||||
% Abschnitt 1: Institution (sofern vorhanden)
|
||||
\FormSection{Institution (sofern vorhanden)}{%
|
||||
% Radio buttons : horizontal oben
|
||||
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
|
||||
@ -50,7 +30,7 @@
|
||||
% Validate: E-Mail-Adresse
|
||||
\newcommand{\validateEmail}{\detokenize{
|
||||
var email = event.value;
|
||||
if (email && !/^[a-zA-Z0-9._\%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/.test(email)) { /*$*/
|
||||
if (email && !/^[a-zA-Z0-9._\%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2}$/.test(email)) { /*$*/
|
||||
app.alert("Ungueltige E-Mail-Adresse: " + email + ". Bitte geben Sie eine gueltige E-Mail-Adresse ein.");
|
||||
event.rc = false;
|
||||
}
|
||||
@ -374,30 +354,6 @@
|
||||
%
|
||||
% Falls keine zutrifft, muss eine Begründung, warum die Maßnahme trotzdem förderungswürdig ist, angegeben werden.
|
||||
|
||||
\FormSection{Checkliste: Anhänge}{
|
||||
\vspace{0.5em}
|
||||
\begin{minipage}{1.05\textwidth}
|
||||
\setstretch{1.0}\color{black}\dinfont
|
||||
Hier bitte alle mit dem Dokument eingereichten Dokumente ankreuzen:
|
||||
\vspace{1em}
|
||||
\end{minipage}
|
||||
|
||||
\begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}}
|
||||
\textbf{Beiblatt Vergleichsangebote} & \raisebox{-1pt}{\CheckBox[
|
||||
name=pa-anh-vergleichsangebote,
|
||||
width=1em,
|
||||
height=1em
|
||||
]{}} \\
|
||||
Jeweils ein Formular pro Position – siehe Kostenaufstellung & \\
|
||||
\textbf{Genehmigter Exkursionsantrag der Fakultät} & \raisebox{-1pt}{\CheckBox[
|
||||
name=pa-anh-fakultaet,
|
||||
width=1em,
|
||||
height=1em
|
||||
]{}} \\
|
||||
Nur bei Exkursionen – kann je nach Fakultät unterschiedlich sein &
|
||||
\end{tabular}
|
||||
}
|
||||
|
||||
% \Submit{Absenden}
|
||||
}
|
||||
\end{Form}
|
||||
|
||||
@ -142,17 +142,15 @@
|
||||
%
|
||||
\node[anchor=north east, inner sep=0pt, xshift=-2cm, yshift=-5.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) {
|
||||
\huge
|
||||
\iffalse
|
||||
\CustomTextFieldThuge{pa-id}{}{Jahr/Antragsnummer}{width=3.8cm}
|
||||
\CustomTextFieldThuge{pa-key}{}{}{
|
||||
name=pa-key,
|
||||
width=0.1pt,
|
||||
readonly=true,
|
||||
bordercolor=white,
|
||||
backgroundcolor=white,
|
||||
maxlen=16
|
||||
}
|
||||
\fi
|
||||
\CustomTextFieldThuge{pa-id}{}{Jahr/Antragsnummer}{width=3.8cm,readonly=true}
|
||||
\CustomTextFieldThuge{pa-key}{}{}{
|
||||
name=pa-key,
|
||||
width=0.1pt,
|
||||
readonly=true,
|
||||
bordercolor=white,
|
||||
backgroundcolor=white,
|
||||
maxlen=16
|
||||
}
|
||||
};
|
||||
|
||||
\node[anchor=north, inner sep=0pt, xshift=0cm, yshift=-0.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+2) at (current page.north) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user