|
@@ -2,7 +2,7 @@
|
|
|
<div class="modal-dialog">
|
|
<div class="modal-dialog">
|
|
|
<div class="modal-content">
|
|
<div class="modal-content">
|
|
|
|
|
|
|
|
- <div class="modal-header">
|
|
|
|
|
|
|
+ <div class="modal-header bg-warning">
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
<h4 class="modal-title">{{ t('New Page') }}</h4>
|
|
<h4 class="modal-title">{{ t('New Page') }}</h4>
|
|
|
</div>
|
|
</div>
|
|
@@ -11,36 +11,35 @@
|
|
|
|
|
|
|
|
<form class="form-horizontal" id="create-page-today" role="form">
|
|
<form class="form-horizontal" id="create-page-today" role="form">
|
|
|
<fieldset>
|
|
<fieldset>
|
|
|
- <div class="col-xs-12">
|
|
|
|
|
- <h4>{{ t("Create today's") }}</h4>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="col-xs-10">
|
|
|
|
|
- <span class="page-today-prefix">{{ userPageRoot(user) }}/</span>
|
|
|
|
|
- <input type="text" data-prefix="{{ userPageRoot(user) }}/" class="page-today-input1 form-control text-center" value="{{ t('Memo') }}" id="" name="">
|
|
|
|
|
- <span class="page-today-suffix">/{{ now|datetz('Y/m/d') }}/</span>
|
|
|
|
|
- <input type="text" data-prefix="/{{ now|datetz('Y/m/d') }}/" class="page-today-input2 form-control" id="page-today-input2" name="" placeholder="{{ t('Input page name (optional)') }}">
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="col-xs-2">
|
|
|
|
|
- <button type="submit" class="btn btn-primary">{{ t('Create') }}</button>
|
|
|
|
|
|
|
+ <legend>{{ t("Create today's") }}</legend>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="col-xs-10 d-flex align-items-center">
|
|
|
|
|
+ <span class="page-today-prefix">{{ userPageRoot(user) }}/</span>
|
|
|
|
|
+ <input type="text" data-prefix="{{ userPageRoot(user) }}/" class="page-today-input1 form-control text-center" value="{{ t('Memo') }}" id="" name="">
|
|
|
|
|
+ <span class="page-today-suffix">/{{ now|datetz('Y/m/d') }}/</span>
|
|
|
|
|
+ <input type="text" data-prefix="/{{ now|datetz('Y/m/d') }}/" class="page-today-input2 form-control" id="page-today-input2" name="" placeholder="{{ t('Input page name (optional)') }}">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-2">
|
|
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Create') }}</button>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
</form>
|
|
</form>
|
|
|
- <hr>
|
|
|
|
|
|
|
|
|
|
<form class="form-horizontal" id="create-page-under-tree" role="form">
|
|
<form class="form-horizontal" id="create-page-under-tree" role="form">
|
|
|
<fieldset>
|
|
<fieldset>
|
|
|
- <div class="col-xs-12 create-page-under-tree-label">
|
|
|
|
|
- <h4>{{ t('Create under', parentPath(path)) }}</h4>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="col-xs-10">
|
|
|
|
|
- {% if searchConfigured() %}
|
|
|
|
|
- <div class="clearfix" id="page-name-inputter"></div>
|
|
|
|
|
- {% else %}
|
|
|
|
|
- <input type="text" value="{{ parentPath(path) }}" class="page-name-input form-control " placeholder="{{ t('Input page name') }}" required />
|
|
|
|
|
- {% endif %}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="col-xs-2">
|
|
|
|
|
- <button type="submit" class="btn btn-primary">{{ t('Create') }}</button>
|
|
|
|
|
|
|
+ <legend>{{ t('Create under', parentPath(path)) }}</legend>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="col-xs-10">
|
|
|
|
|
+ {% if searchConfigured() %}
|
|
|
|
|
+ <div class="clearfix" id="page-name-inputter"></div>
|
|
|
|
|
+ {% else %}
|
|
|
|
|
+ <input type="text" value="{{ parentPath(path) }}" class="page-name-input form-control " placeholder="{{ t('Input page name') }}" required />
|
|
|
|
|
+ {% endif %}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="col-xs-2">
|
|
|
|
|
+ <button type="submit" class="btn btn-primary">{{ t('Create') }}</button>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
</form>
|
|
</form>
|