Commit fe31fd87 authored by nirgendswo's avatar nirgendswo

adding getting-started

parent d12b4bba
......@@ -5,6 +5,7 @@ namespace Themes\FuzzyCms\Actions;
use App\Http\Actions\PostActionAbstract;
/**
* Only to show how it works
*
*
* @author Björn Hase
......@@ -12,6 +13,13 @@ use App\Http\Actions\PostActionAbstract;
*/
class GettingStartedPostAction extends PostActionAbstract
{
/**
* process request and adding values to result
*
*
* @inheritance
*
*/
public function process()
{
$this->result['value'] = $this->request->get('value');
......
......@@ -31,6 +31,8 @@ $table__background-color--odd: #f9f9f9;
font-size: 1em;
&__result {
margin: 0 0 10px;
dl {
margin: 0 0 10px 0;
......
......@@ -23,6 +23,11 @@ textarea {
max-height: 214px;
}
input[type="checkbox"] {
position: relative;
top: 2px;
}
.form__message {
color: $form__message-color;
padding: 1em;
......@@ -43,6 +48,10 @@ textarea {
background-color: $form__error-background-color;
}
.form__field {
margin: 3px 0;
}
// honeypot
.form__field--other {
display: none;
......
......@@ -35,3 +35,9 @@ body {
padding: 0 2%;
max-width: 1200px;
}
.clearfix:after {
content:" ";
display:block;
clear:both;
}
......@@ -23,7 +23,7 @@
<div class="content">
{!! $page->html() !!}
<div class="code">
<div class="code__result">
<div class="code__result clearfix">
<dl>
<dt>result['value']</dt><dd>{{ $viewHelper->text('value', $result) }}</dd>
<dt>result['checkbox']</dt><dd>{{ $viewHelper->text('checkbox', $result) }}</dd>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment