Sotaro KARASAWA 9 лет назад
Родитель
Сommit
99e7410207
2 измененных файлов с 2 добавлено и 5 удалено
  1. 2 3
      lib/views/modal/widget_create_page.html
  2. 0 2
      resource/js/crowi.js

+ 2 - 3
lib/views/modal/widget_create_page.html

@@ -12,7 +12,7 @@
         <form class="form-horizontal" id="create-page-today" role="form">
           <fieldset>
             <div class="col-xs-12">
-              <h4>今日の◯◯</h4>
+              <h4>今日の◯◯を作成</h4>
             </div>
             <div class="col-xs-10">
               <span class="page-today-prefix">{{ userPageRoot(user) }}/</span>
@@ -34,8 +34,7 @@
               <h4><code>{{ parentPath(path) }}</code>以下に作成</h4>
             </div>
             <div class="col-xs-10">
-              <span class="page-name-addons">{{ parentPath(path) }}</span>
-              <input type="text" data-prefix="{{ parentPath(path) }}" class="page-name-input form-control " id="" name="" placeholder="ページ名を入力">
+              <input type="text" value="{{ parentPath(path) }}" class="page-name-input form-control " id="" name="" placeholder="ページ名を入力">
             </div>
             <div class="col-xs-2">
               <button type="submit" class="btn btn-primary">作成</button>

+ 0 - 2
resource/js/crowi.js

@@ -207,8 +207,6 @@ $(function() {
 
 
   $('#create-page').on('shown.bs.modal', function (e) {
-    var padding = $('#create-page-under-tree .page-name-addons').outerWidth() + 15;
-    $('#create-page-under-tree .form-control').css({paddingLeft: padding});
 
     var input2Width = $('#create-page-today .page-today-input2').outerWidth();
     var newWidth = input2Width