push push push biatch

This commit is contained in:
Florian Bouillon 2019-03-06 16:05:07 +01:00
parent 5e1e130488
commit 5b24a9e230
5 changed files with 13 additions and 7 deletions

View File

@ -599,7 +599,7 @@ label{
color: #3c3c3c; color: #3c3c3c;
} }
.post .text { .container-search .text {
font-size: 14px; font-size: 14px;
color: #737272ee; color: #737272ee;
line-height: 1.5; line-height: 1.5;
@ -608,6 +608,11 @@ label{
overflow: hidden; overflow: hidden;
} }
.container-post .text {
margin-top: 30px;
overflow-x: auto;
}
.credit { .credit {
background-color: #110230; background-color: #110230;
color: white; color: white;

View File

@ -20,9 +20,9 @@
<span class="date"> <span class="date">
<tag type="article" column="datetime" /></span> <tag type="article" column="datetime" /></span>
</div> </div>
<p class="post text"> <div class="post text">
<tag type="article" column="content" /> <tag type="article" column="content" />
</p> </div>
</div> </div>
<div class="credit"> <div class="credit">
<h3>Auteur</h3> <h3>Auteur</h3>
@ -83,7 +83,6 @@
</div> </div>
<div class="text"> <div class="text">
<loop column="content" /> <loop column="content" />
</p>
</div> </div>
</div> </div>
</a> </a>

View File

@ -27,9 +27,9 @@
<loop column="dateTime" /> <loop column="dateTime" />
</span> </span>
</div> </div>
<p class="post text"> <div class="post text">
<loop column="content" /> <loop column="content" />
</p> </div>
</div> </div>
</a> </a>
</tag> </tag>

View File

@ -33,12 +33,14 @@ class UserEditor extends \App\Tags\Tag {
$input = $doc->createElement("input"); $input = $doc->createElement("input");
$input->setAttribute("value", $user->getUsername()); $input->setAttribute("value", $user->getUsername());
$input->setAttribute("name", "username"); $input->setAttribute("name", "username");
$input->setAttribute("placeholder", "Nom d'utilisateur");
$el->parentNode->insertBefore($input, $el); $el->parentNode->insertBefore($input, $el);
break; break;
case 'job': case 'job':
$input = $doc->createElement("input"); $input = $doc->createElement("input");
$input->setAttribute("value", $user->getJob()); $input->setAttribute("value", $user->getJob());
$input->setAttribute("name", "job"); $input->setAttribute("name", "job");
$input->setAttribute("placeholder", "Job");
$el->parentNode->insertBefore($input, $el); $el->parentNode->insertBefore($input, $el);
break; break;
default: default: