Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 4843d5b

Browse files
committed
Fix user page style
1 parent aaf5444 commit 4843d5b

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

lib/views/me/api_token.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
{% block html_title %}APIの設定 · {{ path }}{% endblock %}
55

66
{% block content_head %}
7-
<header id="page-header">
7+
<div class="header-wrap">
8+
<header id="page-header">
89
<h1 class="title" id="">ユーザー設定</h1>
9-
</header>
10+
</header>
11+
</div>
1012
{% endblock %}
1113

1214
{% block content_main %}

lib/views/me/index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
{% block html_title %}ユーザー設定 · {{ path }}{% endblock %}
44

55
{% block content_head %}
6-
<header id="page-header">
6+
<div class="header-wrap">
7+
<header id="page-header">
78
<h1 class="title" id="">ユーザー設定</h1>
8-
</header>
9+
</header>
10+
</div>
911
{% endblock %}
1012

1113
{% block content_main %}
@@ -120,11 +122,16 @@ <h1 class="title" id="">ユーザー設定</h1>
120122
新しい画像をアップロード
121123
</label>
122124
<div class="col-sm-9">
125+
{% if isUploadable() %}
123126
<form action="/_api/me/picture/upload" id="pictureUploadForm" method="post" class="form-horizontal" role="form" enctype="multipart/form-data">
124127
<input name="userPicture" type="file" accept="image/*">
125128
<div id="pictureUploadFormProgress">
126129
</div>
127130
</form>
131+
{% else %}
132+
* 画像をアップロードをするための設定がされていません。<br>
133+
* アップロードできるようにするには、AWS またはローカルアップロードの設定をしてください。<br>
134+
{% endif %}
128135
</div>
129136
</div>
130137
</fieldset>

lib/views/me/password.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
{% block html_title %}パスワードの設定 · {{ path }}{% endblock %}
44

55
{% block content_head %}
6-
<header id="page-header">
7-
<h1 class="title" id="">ユーザー設定</h1>
8-
</header>
6+
<div class="header-wrap">
7+
<header id="page-header">
8+
<h1 class="title" id="">ユーザー設定</h1>
9+
</header>
10+
</div>
911
{% endblock %}
1012

1113
{% block content_main %}

0 commit comments

Comments
 (0)