Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions resources/views/plugins/manage/theme/theme.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,23 @@ function view_list_images(dir_name)

{{-- ディレクトリ名 --}}
<div class="form-group row">
<label for="dir_name" class="col-md-3 col-form-label text-md-right">ディレクトリ名</label>
<label for="dir_name" class="col-md-3 col-form-label text-md-right">ディレクトリ名 <span class="badge badge-danger">必須</span></label>
<div class="col-md-9">
@if ($errors)
<input type="text" name="dir_name" id="dir_name" value="{{old('dir_name', '')}}" class="form-control">
@else
<input type="text" name="dir_name" id="dir_name" value="" class="form-control">
@endif
@if ($errors && $errors->has('dir_name')) <div class="text-danger">{{$errors->first('dir_name')}}</div> @endif
<small class="text-muted">
<div>※ テーマファイルを保存するフォルダ名です。</div>
<div>※ 英数字と記号の「-」「_」のみ使用できます。</div>
</small>
</div>
</div>
{{-- テーマ名 --}}
<div class="form-group row">
<label for="theme_name" class="col-md-3 col-form-label text-md-right">テーマ名</label>
<label for="theme_name" class="col-md-3 col-form-label text-md-right">テーマ名 <span class="badge badge-danger">必須</span></label>
<div class="col-md-9">
@if ($errors)
<input type="text" name="theme_name" id="theme_name" value="{{old('theme_name', '')}}" class="form-control">
Expand All @@ -121,6 +125,7 @@ function view_list_images(dir_name)
@endif
@if ($errors && $errors->has('theme_name')) <div class="text-danger">{{$errors->first('theme_name')}}</div> @endif
<small class="text-muted">
<div>※ サイト管理で表示・選択されるテーマ名です。</div>
<div>※ 独自テーマを作成できます。独自テーマではCSS、javascript、画像を独自に定義することができます。</div>
<div>※ 作成した独自テーマは<a href="{{ url('/manage/site') }}" target="_blank">サイト管理</a>から設定することができます。</div>
<div>※ テーマファイルはサーバ上の [ドキュメントルート]/public/themes/Users/[ディレクトリ名] に作成されます。</div>
Expand Down
11 changes: 9 additions & 2 deletions resources/views/plugins/manage/theme/theme_generate.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,33 @@

{{-- ディレクトリ名 --}}
<div class="form-group row">
<label for="dir_name" class="col-md-2 col-form-label text-md-right">ディレクトリ名</label>
<label for="dir_name" class="col-md-2 col-form-label text-md-right">ディレクトリ名 <span class="badge badge-danger">必須</span></label>
<div class="col-md-10">
@if ($errors || $theme_css)
<input type="text" name="dir_name" id="dir_name" value="{{old('dir_name', '')}}" class="form-control">
@else
<input type="text" name="dir_name" id="dir_name" value="" class="form-control">
@endif
@if ($errors && $errors->has('dir_name')) <div class="text-danger">{{$errors->first('dir_name')}}</div> @endif
<small class="text-muted">
<div>※ テーマファイルを保存するフォルダ名です。</div>
<div>※ 英数字と記号の「-」「_」のみ使用できます。</div>
</small>
</div>
</div>
{{-- テーマ名 --}}
<div class="form-group row">
<label for="theme_name" class="col-md-2 col-form-label text-md-right">テーマ名</label>
<label for="theme_name" class="col-md-2 col-form-label text-md-right">テーマ名 <span class="badge badge-danger">必須</span></label>
<div class="col-md-10">
@if ($errors || $theme_css)
<input type="text" name="theme_name" id="theme_name" value="{{old('theme_name', '')}}" class="form-control">
@else
<input type="text" name="theme_name" id="theme_name" value="" class="form-control">
@endif
@if ($errors && $errors->has('theme_name')) <div class="text-danger">{{$errors->first('theme_name')}}</div> @endif
<small class="text-muted">
<div>※ サイト管理で表示・選択されるテーマ名です。</div>
</small>
</div>
</div>
{{-- テーマセット --}}
Expand Down