rhymix/modules/editor/tpl/view_component.html
Min-Soo Kim a16670c6f6
기본 팝업창 스타일 수정. (#1075)
# 기본 팝업창 스타일 수정.

- 바뀐 관리자 페이지 스타일과 통일성 유지.
 - 임시 저장 글 불러오는 팝업 창 스타일 조정
- 팝업창 크기 계산 함수 조정
 - 폭을 먼저 확정한 다음 높이를 계산하도록 순서 조정
 - 위젯 수정 페이지 팝업 창 크기 계산 수정
 - 창 너비를 자유롭게 바꿀 수 있기 때문에, `.popup` 클래스를 가진 객체의 가로 폭을 자바스크립트가 강제로 변경하지 않도록 수정. (초기 가로 폭은 정확히 계산하여서 기존과 동일하게 맞춤)
- 라이믹스 문법에 맞춤
 - `jQuery` 를 `$` 로 쓸 수 있으므로 생략 가능한 구문 수정
2018-08-19 16:50:00 +09:00

38 lines
No EOL
1.5 KiB
HTML

{@Context::addMetaTag('viewport', 'width=device-width', FALSE);}
<load target="css/view_component.css" />
<div class="x_modal-header">
<h1>{$component->title}</h1>
</div>
<div class="x_modal-body">
<div>
<h2>{$lang->component_author}</h2>
<ul>
<li loop="$component->author => $author">
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" target="_blank">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end-->
</li>
</ul>
</div>
<div cond="$component->homepage">
<h2>{$lang->homepage}</h2>
<p><a href="{$component->homepage}" target="_blank">{$component->homepage}</a></p>
</div>
<div>
<h2>{$lang->component_version}</h2>
<p>{$component->version}</p>
</div>
<div>
<h2>{$lang->regdate}</h2>
<p><time datetime="{date('c', strtotime($component->date))}">{zdate(str_replace('-',"",$component->date), 'Y-m-d')}</time></p>
</div>
<div cond="$component->license || $component->license_link">
<h2>{$lang->component_license}</h2>
<p>
{nl2br(trim($component->license))}
<a href="{$component->license_link}" cond="$component->license_link" target="_blank">{$component->license_link}</a>
</p>
</div>
<div cond="$component->description">
<h2>{$lang->component_description}</h2>
<p>{nl2br(trim($component->description))}</p>
</div>
</div>