Wall: Fix pure HTML on /wall page (#35)

This commit is contained in:
veselcraft 2021-09-15 19:40:47 +03:00
parent e03852d84d
commit 2691818079

View file

@ -1,20 +1,29 @@
<div class="content_divider"> {extends "../@layout.xml"}
<div class="content_title_expanded" onclick="hidePanel(this);"> {block title}{_"wall"}{/block}
{_"wall"}
<nobold> {block header}
{tr("wall", $count)} <a href="{$oObj->getURL()}">{$oObj->getCanonicalName()}</a>
<a href="/wall{$owner}" class="float-right lowercase">{_all_title}</a> »
</nobold> {_"wall"}
<div style="float:right;">
<span>
<b>{tr("wall", $count)}</b>
</span>
</div> </div>
{/block}
{block content}
<div class="content_divider">
<div> <div>
<!-- TODO: Move the creating post form to dedicated file -->
<div n:if="$canPost" class="content_subtitle"> <div n:if="$canPost" class="content_subtitle">
<div id="write" style="padding: 5px 0;" onfocusin="expand_wall_textarea();"> <div id="write" style="padding: 5px 0;" >
<form action="/wall{$owner}/makePost" method="post" enctype="multipart/form-data" style="margin:0;"> <form action="/wall{$owner}/makePost" method="post" enctype="multipart/form-data" style="margin:0;">
<textarea id="wall-post-input" placeholder="{_write}" name="text" style="width: 100%;resize: none;" class="small-textarea"></textarea> <textarea id="wall-post-input" placeholder="{_write}" name="text" style="width: 100%;resize: none;" class="expanded-textarea"></textarea>
<div> <div>
<!-- padding to fix <br/> bug --> <!-- padding to fix <br/> bug -->
</div> </div>
<div id="post-buttons" style="display: none;"> <div id="post-buttons">
<div class="post-upload"> <div class="post-upload">
Вложение: <span>(unknown)</span> Вложение: <span>(unknown)</span>
</div> </div>
@ -68,3 +77,4 @@
</div> </div>
</div> </div>
</div> </div>
{/block}