fix filer bug; some interface tweaks
This commit is contained in:
parent
4f13618b18
commit
067865db9e
6 changed files with 23 additions and 2 deletions
|
@ -1163,6 +1163,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
|
|||
'$bang' => $x['bang'],
|
||||
'$profile_uid' => $x['profile_uid'],
|
||||
'$preview' => t('Preview'),
|
||||
'$mobileapp' => t('Friendica mobile web'),
|
||||
));
|
||||
|
||||
|
||||
|
|
|
@ -132,6 +132,7 @@ function editpost_content(&$a) {
|
|||
'$profile_uid' => $_SESSION['uid'],
|
||||
'$preview' => t('Preview'),
|
||||
'$jotplugins' => $jotplugins,
|
||||
'$mobileapp' => t('Friendica mobile web'),
|
||||
));
|
||||
|
||||
return $o;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<input type="hidden" name="location" id="jot-location" value="$defloc" />
|
||||
<input type="hidden" name="coord" id="jot-coord" value="" />
|
||||
<input type="hidden" name="post_id" value="$post_id" />
|
||||
<input type="hidden" name="source" value="$mobileapp" />
|
||||
<input type="hidden" name="preview" id="jot-preview" value="0" />
|
||||
<div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"></div>
|
||||
<div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
|
||||
|
|
|
@ -360,7 +360,7 @@ section {
|
|||
}
|
||||
.tabs li { margin: 0px 0px 20px 0px; padding-left: 1em; list-style: none; }
|
||||
.tabs a {
|
||||
padding: 0.2em 2em;
|
||||
padding: 0.4em 2em;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 8px;
|
||||
-moz-border-radius: 8px;
|
||||
|
|
18
view/theme/frost/field_combobox.tpl
Normal file
18
view/theme/frost/field_combobox.tpl
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
<div class='field combobox'>
|
||||
<label for='id_$field.0' id='id_$field.0_label'>$field.1</label>
|
||||
{# html5 don't work on Chrome, Safari and IE9
|
||||
<input id="id_$field.0" type="text" list="data_$field.0" >
|
||||
<datalist id="data_$field.0" >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }}
|
||||
</datalist> #}
|
||||
|
||||
<input id="id_$field.0" type="text" value="$field.2">
|
||||
<select id="select_$field.0" onChange="$j('#id_$field.0').val($j(this).val())">
|
||||
<option value="">$field.5</option>
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }}
|
||||
</select>
|
||||
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>
|
||||
|
|
@ -2222,7 +2222,7 @@ aside input[type='text'] {
|
|||
|
||||
.widget {
|
||||
border: 1px solid #DDDDDD;
|
||||
padding: 8px;
|
||||
padding: 1em 2em;
|
||||
margin-top: 5px;
|
||||
-moz-border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
|
|
Loading…
Reference in a new issue