mirror of
https://github.com/fsr/eseeva
synced 2025-01-18 16:01:41 +01:00
adds color
nothing fancy, just bootstrap stuff
This commit is contained in:
parent
3646c27af4
commit
3637b0c7b9
5 changed files with 13 additions and 13 deletions
|
@ -19,8 +19,9 @@ input[type="checkbox"]
|
||||||
|
|
||||||
input[type="submit"]
|
input[type="submit"]
|
||||||
{
|
{
|
||||||
background-color:#E0E0FF;
|
font-size: 14pt;
|
||||||
font-size:16pt;
|
margin-top: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label
|
label
|
||||||
|
@ -73,4 +74,4 @@ div.hidden
|
||||||
h1
|
h1
|
||||||
{
|
{
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,6 @@
|
||||||
CreateHeadline("Key Control Panel");
|
CreateHeadline("Key Control Panel");
|
||||||
CreateInfoBox($formState);
|
CreateInfoBox($formState);
|
||||||
CreateAccessBox($formState);
|
CreateAccessBox($formState);
|
||||||
echo $formState;
|
|
||||||
|
|
||||||
switch ($formState)
|
switch ($formState)
|
||||||
{
|
{
|
||||||
|
@ -138,7 +137,7 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<input class="form-control" type="submit" name="submit" value="Absenden"/>
|
<input class="form-control btn-success" type="submit" name="submit" value="Absenden"/>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" value="<?php /*Hidden input with previously generated id - used for preventing double posts*/ echo $_SESSION['submissionId'];?>" name="submissionId">
|
<input type="hidden" value="<?php /*Hidden input with previously generated id - used for preventing double posts*/ echo $_SESSION['submissionId'];?>" name="submissionId">
|
||||||
</form>
|
</form>
|
||||||
|
@ -284,4 +283,4 @@
|
||||||
}
|
}
|
||||||
return KEYSTATE_NONEXISTENT;
|
return KEYSTATE_NONEXISTENT;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -128,9 +128,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
CreateRowHeader();
|
CreateRowHeader();
|
||||||
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control\" name=\"changesConfirm\" value=\"Confirm Changes\"/>\n </div>\n";
|
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control btn-success\" name=\"changesConfirm\" value=\"Confirm Changes\"/>\n </div>\n";
|
||||||
echo " <div class=\"col-2\"></div>\n";
|
echo " <div class=\"col-2\"></div>\n";
|
||||||
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control\" name=\"changesDiscard\" value=\"Discard Changes\"/>\n </div>\n";
|
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control btn-danger\" name=\"changesDiscard\" value=\"Discard Changes\"/>\n </div>\n";
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
||||||
// Hidden input with previously generated id - used for preventing double posts
|
// Hidden input with previously generated id - used for preventing double posts
|
||||||
|
@ -144,9 +144,9 @@
|
||||||
CreateTextBox("Key file name", "keyFile", $keyFile);
|
CreateTextBox("Key file name", "keyFile", $keyFile);
|
||||||
|
|
||||||
CreateRowHeader();
|
CreateRowHeader();
|
||||||
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control\" name=\"keyGenNew\" value=\"Generate New Key File\"/>\n </div>\n";
|
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control btn-success\" name=\"keyGenNew\" value=\"Generate New Key File\"/>\n </div>\n";
|
||||||
echo " <div class=\"col-2\"></div>\n";
|
echo " <div class=\"col-2\"></div>\n";
|
||||||
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control\" name=\"keyGenAppend\" value=\"Append existing Key File\"/>\n </div>\n";
|
echo " <div class=\"col-5\">\n <input type=\"submit\" class=\"form-control btn-warning\" name=\"keyGenAppend\" value=\"Append existing Key File\"/>\n </div>\n";
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|
||||||
// Hidden input with previously generated id - used for preventing double posts
|
// Hidden input with previously generated id - used for preventing double posts
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
CreateQuestionnaireElement("comment", $questionnaire, $_POST);
|
CreateQuestionnaireElement("comment", $questionnaire, $_POST);
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<input class="form-control" type="submit" name="submit" value="Absenden"/>
|
<input class="form-control btn-success" type="submit" name="submit" value="Absenden"/>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
CreateQuestionnaireElement("comment", $questionnaire, $_POST);
|
CreateQuestionnaireElement("comment", $questionnaire, $_POST);
|
||||||
?>
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<input class="form-control" type="submit" name="submit" value="Absenden"/>
|
<input class="form-control btn-success" type="submit" name="submit" value="Absenden"/>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -97,4 +97,4 @@
|
||||||
case KEYSTATE_USED: CreateMessageBox(MSG_DANGER, "Achtung!", "Der angegebene Code ist wurde bereits eingelöst. Es darf pro Student nur eine ESE-Tasse ausgegeben werden."); break;
|
case KEYSTATE_USED: CreateMessageBox(MSG_DANGER, "Achtung!", "Der angegebene Code ist wurde bereits eingelöst. Es darf pro Student nur eine ESE-Tasse ausgegeben werden."); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue