aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-12 14:44:27 -0800
committerfriendica <info@friendica.com>2014-02-12 14:44:27 -0800
commit2c1b366fdf18929e255a223bc88474b446eaafa8 (patch)
treee36958b9c48dd2812a8c85f0ffbbe5747d493403 /view
parent1ca85abf83d95eb49f9b7ffbbda5f01de40388e5 (diff)
downloadvolse-hubzilla-2c1b366fdf18929e255a223bc88474b446eaafa8.tar.gz
volse-hubzilla-2c1b366fdf18929e255a223bc88474b446eaafa8.tar.bz2
volse-hubzilla-2c1b366fdf18929e255a223bc88474b446eaafa8.zip
make activities optional for profile things, clean up the forms
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_thing.css14
-rw-r--r--view/tpl/thing_edit.tpl4
-rw-r--r--view/tpl/thing_input.tpl5
3 files changed, 13 insertions, 10 deletions
diff --git a/view/css/mod_thing.css b/view/css/mod_thing.css
index 2a2ba7c92..125230b38 100644
--- a/view/css/mod_thing.css
+++ b/view/css/mod_thing.css
@@ -4,22 +4,16 @@
margin-left: 0;
}
-.thing-verb-label {
- margin-top: 15px;
-}
-
-.thing-verb {
- margin-bottom: 15px;
-}
-.thing-label {
+.thing-label, .field label, .thing-verb-label, .thing-profile-label{
float: left;
- width: 250px;
+ width: 350px;
}
-.thing-input {
+.thing-input, .thing-verb, .thing-profile{
float: left;
margin-bottom: 15px;
+ width: 400px;
}
.thing-field-end {
diff --git a/view/tpl/thing_edit.tpl b/view/tpl/thing_edit.tpl
index 8379c15ae..b170f152c 100644
--- a/view/tpl/thing_edit.tpl
+++ b/view/tpl/thing_edit.tpl
@@ -6,11 +6,13 @@
<div class="thing-profile-label">{{$profile_lbl}}</div>
<div class="thing-profile">{{$profile_select}}</div>
+<div class="thing-field-end"></div>
{{/if}}
<div class="thing-verb-label">{{$verb_lbl}}</div>
<div class="thing-verb">{{$verb_select}}</div>
+<div class="thing-field-end"></div>
<label class="thing-label" for="thing-term">{{$thing_lbl}}</label>
@@ -23,6 +25,8 @@
<input type="text" class="thing-input" id="thing-img" name="img" value="{{$imgurl}}" />
<div class="thing-field-end"></div>
+{{include file="field_checkbox.tpl" field=$activity}}
+
<div class="thing-end"></div>
<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" />
diff --git a/view/tpl/thing_input.tpl b/view/tpl/thing_input.tpl
index 06cbfe917..e93a1aa65 100644
--- a/view/tpl/thing_input.tpl
+++ b/view/tpl/thing_input.tpl
@@ -5,11 +5,14 @@
<div class="thing-profile-label">{{$profile_lbl}}</div>
<div class="thing-profile">{{$profile_select}}</div>
+<div class="thing-field-end"></div>
{{/if}}
+
<div class="thing-verb-label">{{$verb_lbl}}</div>
<div class="thing-verb">{{$verb_select}}</div>
+<div class="thing-field-end"></div>
<label class="thing-label" for="thing-term">{{$thing_lbl}}</label>
@@ -22,6 +25,8 @@
<input type="text" class="thing-input" id="thing-img" name="img" />
<div class="thing-field-end"></div>
+{{include file="field_checkbox.tpl" field=$activity}}
+
<div class="thing-end"></div>
<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" />