<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>{$config.page_title|escape}</title>
{if $config.meta_robots}<meta name="robots" content="{$config.meta_robots}">
{/if}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="{$config.root_uri}/bootstrap/bootswatch/{$appearance.bootswatch_name}/bootstrap.min.css" media="screen">
<link rel="stylesheet" href="{$config.root_uri}/css/parts.css">
<link rel="stylesheet" href="{$config.root_uri}/css/flatmemo.css">
<link rel="stylesheet" href="{$config.root_uri}/font-awesome/css/font-awesome.min.css">

<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="{$config.root_uri}/bootstrap/bootstrap.min.js" defer></script>
<script src="{$config.root_uri}/js/flatmemo.js" defer></script>
<script src="{$config.root_uri}/js/jquery_kill_referrer.js" defer></script>
{literal}
<script>
function _cd( div_id ){
if(notrepeat()){
if (div_id){  accessing(div_id); }
else{ accessing('accessing'); }
setTimeout( function() {
location.href='memo_admin.php?cmd=smarty_cache_delete_submit';
}, 1 );
}
}

function _hr(){
if(notrepeat()){
accessing('accessing_h');
setTimeout( function() {
location.href = 'memo_admin.php?cmd=rewrite_all_process&start=0&limit=50&back_uri=memo_admin.php?cmd=appearance_input';
}, 1 );
}
}
</script>
{/literal}

</head>
<body>

{include file="inc/header.html"}



<div class="container">

<div class="page-header">
<h1>デザイン設定 <small>デザインの設定を行います</small></h1>
</div>

<div class="row mb30">
<div class="col-xs-12">
<div class="pull-left"><a href="#" onclick="history.back(); return false;"><i class="fa fa-arrow-left"></i> 戻る</a>　　</div>
<div class="pull-right">
<a href="{$config.admin_uri}?cmd=appearance_input"><i class="fa fa-wrench"></i> デザイン設定</a>

</div>
</div> <!-- /.col-xs-12 -->
</div>
<hr />


<form action="" name="FM">
<input type="hidden" name="cmd" value="appearance_submit" />


<div class="row">
<div class="col-xs-12">

<div class="well">

<div class="row">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> bootswatchテーマ</h4>
</div>
<div class="col-sm-9 mt7">
<select name="bootswatch_name" onchange="accessing('accessing_watch');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );">
{ foreach from=$bootswatch_loop key="k" item="v" name="loopname"}
<option value="{$v|escape}">{$v|escape}</option>
{/foreach}
</select>
</div>
</div><!-- /.row -->
<p id="accessing_watch" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>


<div class="row">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> ナビゲーションバーの色</h4>
</div>
<div class="col-sm-9 mt7">
<div class="row">
<div class="col-sm-3 col-md-2">
<label><input type="radio" name="navbar_name" value="default" onchange="accessing('accessing_navi');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );" /> ノーマル</label>
</div>
<div class="col-sm-6 col-md-6">
<div class="navbar navbar-default"></div>
</div>
</div><!--/.row-->
<div class="row">
<div class="col-sm-3 col-md-2">
<label><input type="radio" name="navbar_name" value="inverse" onchange="accessing('accessing_navi');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );" /> 反転</label>
</div>
<div class="col-sm-6 col-md-6">
<div class="navbar navbar-inverse"></div>
</div>
</div><!--/.row-->
</div>
</div><!-- /.row -->
<p id="accessing_navi" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>


<div class="row">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> データヘッダのアイコン</h4>
</div>
<div class="col-sm-9 mt7">
<div class="row">
<div class="col-sm-3 col-md-2">
<label><input type="radio" name="fm_t_id_kbn" value="number" /> データ番号</label>
</div>
</div><!--/.row-->
<div class="row">
<div class="col-sm-3 col-md-2">
<label><input type="radio" name="fm_t_id_kbn" value="icon" /> アイコン</label>
</div>
<div class="col-sm-9 col-md-10">
<i class="{$appearance.fm_t_id_icon_class_name}"></i>　<input type="text" name="fm_t_id_icon_class_name" value="fa fa-laptop"> フォントクラス名
　<a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">[ 使用できるアイコン一覧 <i class="fa fa-lg fa-flag" style="font-size:15px;"></i> <small>Font Awesome</small> ]</a><br>
</div>
</div><!--/.row-->
<div class="row ml1">
<input type="button" value="変更する" class="btn btn-primary" onclick="accessing('accessing_icon');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );">
</div><!--/.row-->
</div>
</div><!-- /.row -->
<p id="accessing_icon" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>


<div class="row mt10">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> 添付ファイルの表示</h4>
</div>
<div class="col-sm-9 mt7">
<label><input type="radio" name="view_attach_in_data_flg" value="1" onchange="accessing('accessing_attach');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );" /> データ内に「添付ファイル」の項目を表示させる</label><br>
<label><input type="radio" name="view_attach_in_data_flg" value="0" onchange="accessing('accessing_attach');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );" /> データ内に「添付ファイル」の項目を表示させない</label>
</div>
</div><!-- /.row -->
<p id="accessing_attach" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>


<div class="row mt10">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> [editメニュー]表示</h4>
</div>
<div class="col-sm-9 mt7">
<label><input type="radio" name="hide_edit_menu_flg" value="1" onchange="accessing('accessing_em');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );" /> [edit][delete]のメニューを隠す</label><br>
<label><input type="radio" name="hide_edit_menu_flg" value="0" onchange="accessing('accessing_em');setTimeout( function() {ldelim}submit(this.form);{rdelim},1 );" /> [edit][delete]のメニューを隠さない</label>
</div>
</div><!-- /.row -->
<p id="accessing_em" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>





</div><!-- /.well -->

</div>
</div> <!-- /.row -->


<div class="row">
<div class="col-xs-12">
<div class="well">

<div class="row">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> キャッシュの削除<br>
<small>config.cgiファイルを修正した時など、キャッシュ（Smarty Cache）を削除したいときに使用します。</small></h4>
</div>
<div class="col-sm-9 mt7">
<input type="button" value="キャッシュを削除する。（{$smarty_cache_count}ファイルキャッシュ中）" class="btn btn-primary" onclick="_cd('accessing_c');">
<p id="accessing_c" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>
</div>
</div><!-- /.row -->

</div>
</div>
</div> <!-- /.row -->


<div class="row">
<div class="col-xs-12">
<div class="well">

<div class="row">
<div class="col-sm-3">
<h4><i class="fa fa-check"></i> すべてのHTMLの再生成<br>
<small>すべてのHTMLファイルを再生性します（config.cgiで　<b>use_html_archive:1</b>　の時のみ有効です）</small></h4>
</div>
<div class="col-sm-9 mt7">
<input type="button" value="すべてのHTMLを再生成する" class="btn btn-primary" onclick="_hr();" {if $config.use_html_archive==0}disabled{/if}>
<p id="accessing_h" class="fm_accessing" style="display:none;"><i class="fa fa-refresh fa-spin"></i> now accessing...</p>
</div>
</div><!-- /.row -->

</div>
</div>
</div> <!-- /.row -->



</form>
</div><!-- /.container -->




{include file="inc/footer.html"}




</body>
</html>
<!-- version 2.01 -->
