akira-s 6 лет назад
Родитель
Сommit
fdb06e1807
1 измененных файлов с 9 добавлено и 10 удалено
  1. 9 10
      src/server/views/me/index.html

+ 9 - 10
src/server/views/me/index.html

@@ -141,7 +141,7 @@
         <div class="form-group row">
         <div class="form-group row">
           <div class="offset-sm-2 col-sm-10">
           <div class="offset-sm-2 col-sm-10">
             <input type="hidden" name="_csrf" value="{{ csrf() }}">
             <input type="hidden" name="_csrf" value="{{ csrf() }}">
-            <button type="submit" class="btn btn-primary rounded">{{ t('Update') }}</button>
+            <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
           </div>
           </div>
         </div>
         </div>
       </fieldset>
       </fieldset>
@@ -211,20 +211,19 @@
                   style="{% if not user.imageAttachment %}display: none{% endif %}"
                   style="{% if not user.imageAttachment %}display: none{% endif %}"
                 >
                 >
                   <input type="hidden" name="_csrf" value="{{ csrf() }}">
                   <input type="hidden" name="_csrf" value="{{ csrf() }}">
-                  <button type="submit" class="btn btn-danger rounded">{{ t('Delete Image') }}</button>
+                  <button type="submit" class="btn btn-danger">{{ t('Delete Image') }}</button>
                 </form>
                 </form>
               </div>
               </div>
             </div>
             </div>
           </div>
           </div>
           <div class="row">
           <div class="row">
-              <label for="" class="col-sm-4">{{ t('Upload new image') }}</label>
+            <label for="" class="col-sm-4">{{ t('Upload new image') }}</label>
               <div class="col-sm-8">
               <div class="col-sm-8">
                 {% if fileUploadService.getIsUploadable() %}
                 {% if fileUploadService.getIsUploadable() %}
                 <form action="/_api/attachments.uploadProfileImage" id="pictureUploadForm" method="post" class="form-group" role="form">
                 <form action="/_api/attachments.uploadProfileImage" id="pictureUploadForm" method="post" class="form-group" role="form">
                   <input type="hidden" name="_csrf" value="{{ csrf() }}">
                   <input type="hidden" name="_csrf" value="{{ csrf() }}">
                   <input type="file" name="profileImage" accept="image/*">
                   <input type="file" name="profileImage" accept="image/*">
-                  <div id="pictureUploadFormProgress" class="d-flex align-items-center">
-                  </div>
+                  <div id="pictureUploadFormProgress" class="d-flex align-items-center"></div>
                 </form>
                 </form>
                 {% else %}
                 {% else %}
                 * {{ t('page_me.form_help.profile_image1') }}<br>
                 * {{ t('page_me.form_help.profile_image1') }}<br>
@@ -237,7 +236,7 @@
 
 
       <div class="form-group">
       <div class="form-group">
         <div class="offset-sm-4 col-sm-6">
         <div class="offset-sm-4 col-sm-6">
-          <button type="submit" form="formImageType" class="btn btn-primary rounded">{{ t('Update') }}</button>
+          <button type="submit" form="formImageType" class="btn btn-primary">{{ t('Update') }}</button>
         </div>
         </div>
       </div>
       </div>
     </fieldset>
     </fieldset>
@@ -268,7 +267,7 @@
           $('form#remove-attachment').show();
           $('form#remove-attachment').show();
           $('form#remove-attachment input[name=attachment_id]').val(attachment.id);
           $('form#remove-attachment input[name=attachment_id]').val(attachment.id);
           $('#pictureUploadFormMessage')
           $('#pictureUploadFormMessage')
-            .addClass('alert alert-success rounded')
+            .addClass('alert alert-success')
             .html('変更しました');
             .html('変更しました');
         }
         }
         else {
         else {
@@ -277,7 +276,7 @@
       })
       })
       .catch(function(err) {
       .catch(function(err) {
         $('#pictureUploadFormMessage')
         $('#pictureUploadFormMessage')
-          .addClass('alert alert-danger rounded')
+          .addClass('alert alert-danger')
           .html('変更中にエラーが発生しました。');
           .html('変更中にエラーが発生しました。');
       })
       })
       // finally
       // finally
@@ -303,7 +302,7 @@
       })
       })
       .catch(function(err) {
       .catch(function(err) {
         $('#pictureUploadFormMessage')
         $('#pictureUploadFormMessage')
-          .addClass('alert alert-danger rounded')
+          .addClass('alert alert-danger')
           .html('変更中にエラーが発生しました。');
           .html('変更中にエラーが発生しました。');
       })
       })
     });
     });
@@ -331,7 +330,7 @@
           また、これまでのページにリダイレクトは設定されず、この操作の取り消しもできません。<br>
           また、これまでのページにリダイレクトは設定されず、この操作の取り消しもできません。<br>
           実行には十分に注意をしてください。
           実行には十分に注意をしてください。
           </p>
           </p>
-          <button type="submit" class="btn btn-warning rounded">ユーザーIDの変更を実行する</button>
+          <button type="submit" class="btn btn-warning">ユーザーIDの変更を実行する</button>
         </div>
         </div>
       </div>
       </div>
     </fieldset>
     </fieldset>