1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-21 23:56:52 +00:00

Make preview look more like view

This commit is contained in:
bouncepaw 2021-03-09 20:51:37 +05:00
parent e35643bb9d
commit 8e94048f15
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
<a href="/page/{%s hyphaName %}" class="edit-form__cancel">Cancel</a> <a href="/page/{%s hyphaName %}" class="edit-form__cancel">Cancel</a>
</form> </form>
<p class="warning">Note that the hypha is not saved yet. You can preview the changes ↓</p> <p class="warning">Note that the hypha is not saved yet. You can preview the changes ↓</p>
<section class="edit__preview">{%s= renderedPage %}</section> <article class="edit__preview">{%s= renderedPage %}</article>
</main> </main>
</div> </div>
{% endfunc %} {% endfunc %}

View File

@ -138,11 +138,11 @@ func StreamPreviewHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, t
qw422016.N().S(`" class="edit-form__cancel">Cancel</a> qw422016.N().S(`" class="edit-form__cancel">Cancel</a>
</form> </form>
<p class="warning">Note that the hypha is not saved yet. You can preview the changes </p> <p class="warning">Note that the hypha is not saved yet. You can preview the changes </p>
<section class="edit__preview">`) <article class="edit__preview">`)
//line views/mutators.qtpl:37 //line views/mutators.qtpl:37
qw422016.N().S(renderedPage) qw422016.N().S(renderedPage)
//line views/mutators.qtpl:37 //line views/mutators.qtpl:37
qw422016.N().S(`</section> qw422016.N().S(`</article>
</main> </main>
</div> </div>
`) `)