mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 18:08:42 +00:00
fix: slide in new blog pages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f2b3280e68
commit
84441b5a5c
@ -53,11 +53,29 @@ text-decoration-none text-body
|
|||||||
|
|
||||||
<?php elseif ($blog_type == 'slide'): ?>
|
<?php elseif ($blog_type == 'slide'): ?>
|
||||||
<article>
|
<article>
|
||||||
<div class="embed-responsive embed-responsive-16by9">
|
<div class="
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
ratio ratio-16x9
|
||||||
|
<?php else: ?>
|
||||||
|
embed-responsive embed-responsive-16by9
|
||||||
|
<?php endif ?>
|
||||||
|
">
|
||||||
<iframe class="embed-responsive-item" src="<?= HTML::blog_url(UOJContext::userid(), '/slide/'.$blog['id']) ?>"></iframe>
|
<iframe class="embed-responsive-item" src="<?= HTML::blog_url(UOJContext::userid(), '/slide/'.$blog['id']) ?>"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right top-buffer-sm">
|
<div class="
|
||||||
<a class="btn btn-secondary btn-md" href="<?= HTML::blog_url(UOJContext::userid(), '/slide/'.$blog['id']) ?>"><span class="glyphicon glyphicon-fullscreen"></span> 全屏</a>
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
text-end mt-2
|
||||||
|
<?php else: ?>
|
||||||
|
text-right top-buffer-sm
|
||||||
|
<?php endif ?>">
|
||||||
|
<a class="btn btn-secondary btn-md" href="<?= HTML::blog_url(UOJContext::userid(), '/slide/'.$blog['id']) ?>">
|
||||||
|
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||||
|
<i class="bi bi-arrows-fullscreen"></i>
|
||||||
|
<?php else: ?>
|
||||||
|
<span class="glyphicon glyphicon-fullscreen"></span>
|
||||||
|
<?php endif ?>
|
||||||
|
全屏
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user