From 370a007ee215d2889d9bf760b0247678c08d31ac Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 13 Mar 2016 21:19:15 +0100 Subject: more janitor work on profiles --- view/css/mod_profiles.css | 154 ---------------------------------------------- view/tpl/profile_edit.tpl | 51 +++++---------- 2 files changed, 14 insertions(+), 191 deletions(-) delete mode 100644 view/css/mod_profiles.css (limited to 'view') diff --git a/view/css/mod_profiles.css b/view/css/mod_profiles.css deleted file mode 100644 index ea063c64e..000000000 --- a/view/css/mod_profiles.css +++ /dev/null @@ -1,154 +0,0 @@ -#profile-edit-default-desc { - background: none repeat scroll 0 0 orange; - font-weight: bold; - margin: 10px; - padding: 20px 5px 10px; -} - -#profile-edit-clone-link-wrapper { - float: left; - margin-left: 50px; - margin-bottom: 20px; - width: 300px; -} - - -#profile-listing-desc, #profile-stuff-link, #profile-listing-new-link-wrapper { - margin: 15px 10px 15px 0; -} - -#profile-edit-links-end { - clear: both; -/* margin-bottom: 15px; */ -} - -.profile-listing-photo { - border: none; -} - -.profile-edit-submit-wrapper { - margin-top: 20px; - margin-bottom: 20px; -} - -#profile-photo-link-select-wrapper { - margin-top: 2em; -} - -#profile-photo-submit-wrapper { - margin-top: 10px; -} - -#profile-edit-with-label, #profile-edit-howlong-label { - - width: 175px; - margin-left: 50px; -/* margin-bottom: 20px; */ -} - -/* - -#profile-edit-profile-name-label, -#profile-edit-name-label, -#profile-edit-pdesc-label, -#profile-edit-gender-label, -#profile-edit-dob-label, -#profile-edit-address-label, -#profile-edit-locality-label, -#profile-edit-region-label, -#profile-edit-postal-code-label, -#profile-edit-country-name-label, -#profile-edit-marital-label, -#profile-edit-sexual-label, -#profile-edit-politic-label, -#profile-edit-religion-label, -#profile-edit-pubkeywords-label, -#profile-edit-prvkeywords-label, -#profile-edit-homepage-label, -#profile-edit-hometown-label { - float: left; - width: 175px; -} - -#profile-edit-profile-name, -#profile-edit-name, -#profile-edit-pdesc, -#gender-select, -#profile-edit-dob, -#profile-edit-address, -#profile-edit-locality, -#profile-edit-region, -#profile-edit-postal-code, -#profile-edit-country-name, -#marital-select, -#sexual-select, -#profile-edit-politic, -#profile-edit-religion, -#profile-edit-pubkeywords, -#profile-edit-prvkeywords, -#profile-in-dir-yes, -#profile-in-dir-no, -#profile-in-netdir-yes, -#profile-in-netdir-no, -#hide-wall-yes, -#hide-wall-no, -#hide-friends-yes, -#hide-friends-no { - float: left; - margin-bottom: 20px; -} - - -#profile-edit-pdesc-desc, -#profile-edit-pubkeywords-desc, -#profile-edit-prvkeywords-desc { - float: left; - margin-left: 20px; -} - - -#profile-edit-homepage, #profile-edit-hometown { - float: left; - margin-bottom: 35px; -} - -#profile-edit-profile-name-end, -#profile-edit-name-end, -#profile-edit-pdesc-end, -#profile-edit-gender-end, -#profile-edit-dob-end, -#profile-edit-address-end, -#profile-edit-locality-end, -#profile-edit-region-end, -#profile-edit-postal-code-end, -#profile-edit-country-name-end, -#profile-edit-marital-end, -#profile-edit-sexual-end, -#profile-edit-politic-end, -#profile-edit-religion-end, -#profile-edit-pubkeywords-end, -#profile-edit-prvkeywords-end, -#profile-edit-homepage-end, -#profile-edit-hometown-end, -#profile-in-dir-break, -#profile-in-dir-end, -#profile-in-netdir-break, -#profile-in-netdir-end, -#hide-wall-break, -#hide-wall-end, -#hide-friends-break, -#hide-friends-end { - clear: both; -} -*/ - -/* -#gender-select, #marital-select, #sexual-select { - width: 220px; -} -*/ - -#profile-edit-profile-name-wrapper .required { - color: #FF0000; - float: left; -} diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index f3f3efd6f..779e1aca3 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -54,63 +54,39 @@ {{include file="field_checkbox.tpl" field=$hide_friends}} -
- +
+
-
+
{{if $fields.address}} -
- - -
-
+{{include file="field_input.tpl" field=$address}} {{/if}} {{if $fields.locality}} -
- - -
-
+{{include file="field_input.tpl" field=$locality}} {{/if}} {{if $fields.postal_code}} -
- - -
-
+{{include file="field_input.tpl" field=$postal_code}} {{/if}} {{if $fields.region}} -
- - -
-
+{{include file="field_input.tpl" field=$region}} {{/if}} {{if $fields.country_name}} -
- - -
-
+{{include file="field_input.tpl" field=$country_name}} {{/if}} {{if $fields.hometown}} -
- - -
-
+{{include file="field_input.tpl" field=$hometown}} {{/if}} -
- +
+
-
+
{{if $fields.marital }}
@@ -121,6 +97,7 @@ {{$marital_min}} {{/if}}
+
{{if $fields.with}} @@ -134,7 +111,7 @@ {{/if}}
{{/if}} -

+ {{if $fields.homepage}}
-- cgit v1.2.3