diff options
author | friendica <info@friendica.com> | 2013-07-04 20:35:42 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-04 20:35:42 -0700 |
commit | 8b9f2f8ef766c169e77a34c72118d14beb2b21de (patch) | |
tree | 4ccdac7beb859d368eb02f8436cf38e036683383 /view | |
parent | 08258da9444a94708426cf2d445e60b21dbbe84a (diff) | |
download | volse-hubzilla-8b9f2f8ef766c169e77a34c72118d14beb2b21de.tar.gz volse-hubzilla-8b9f2f8ef766c169e77a34c72118d14beb2b21de.tar.bz2 volse-hubzilla-8b9f2f8ef766c169e77a34c72118d14beb2b21de.zip |
input form for profile stuff
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_thing.css | 27 | ||||
-rw-r--r-- | view/tpl/thing_input.tpl | 28 |
2 files changed, 55 insertions, 0 deletions
diff --git a/view/css/mod_thing.css b/view/css/mod_thing.css new file mode 100644 index 000000000..2a2ba7c92 --- /dev/null +++ b/view/css/mod_thing.css @@ -0,0 +1,27 @@ + + +.thing-profile #contact-profile-selector { + margin-left: 0; +} + +.thing-verb-label { + margin-top: 15px; +} + +.thing-verb { + margin-bottom: 15px; +} + +.thing-label { + float: left; + width: 250px; +} + +.thing-input { + float: left; + margin-bottom: 15px; +} + +.thing-field-end { + clear: both; +}
\ No newline at end of file diff --git a/view/tpl/thing_input.tpl b/view/tpl/thing_input.tpl new file mode 100644 index 000000000..06cbfe917 --- /dev/null +++ b/view/tpl/thing_input.tpl @@ -0,0 +1,28 @@ +<h2>{{$thing_hdr}}</h2> +<form action="thing" method="post" > + +{{if $multiprof }} +<div class="thing-profile-label">{{$profile_lbl}}</div> + +<div class="thing-profile">{{$profile_select}}</div> +{{/if}} + +<div class="thing-verb-label">{{$verb_lbl}}</div> + +<div class="thing-verb">{{$verb_select}}</div> + + +<label class="thing-label" for="thing-term">{{$thing_lbl}}</label> +<input type="text" class="thing-input" id="thing-term" name="term" /> +<div class="thing-field-end"></div> +<label class="thing-label" for="thing-url">{{$url_lbl}}</label> +<input type="text" class="thing-input" id="thing-url" name="url" /> +<div class="thing-field-end"></div> +<label class="thing-label" for="thing-img">{{$img_lbl}}</label> +<input type="text" class="thing-input" id="thing-img" name="img" /> +<div class="thing-field-end"></div> + +<div class="thing-end"></div> + +<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" /> +</form> |