]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Add page wrapper to contact follow page
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 29 Nov 2022 11:37:41 +0000 (06:37 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 29 Nov 2022 11:37:41 +0000 (06:37 -0500)
view/theme/frio/css/style.css
view/theme/frio/templates/auto_request.tpl

index eecb0b242dd94bb3250ce01be2c91a0b6c7d3cc2..9c8c74eb2a67aec7bb0910de876514fc54a9c321 100644 (file)
@@ -3605,6 +3605,11 @@ section .profile-match-wrapper {
        font-size: 13px;
 }
 
+
+.generic-page-wrapper.contact-follow-wrapper {
+       min-height: auto;
+}
+
 /* Medium devices (desktops, 992px and up) */
 @media (min-width: 992px) {
        .mod-home.is-not-singleuser #content,
index 2d1861389c1f4e5a81c7efb641da666225875698..659dc644f301951e788112562eea4ab435e6c035 100644 (file)
@@ -1,43 +1,45 @@
-<h1>{{$header}}</h1>
+<div class="generic-page-wrapper contact-follow-wrapper">
+       <h2>{{$header}}</h2>
 
 {{if !$myaddr}}
-<p id="dfrn-request-intro">
-       {{$page_desc nofilter}}
-</p>
-<p>
-       {{$invite_desc nofilter}}
-</p>
+       <p id="dfrn-request-intro">
+               {{$page_desc nofilter}}
+       </p>
+       <p>
+               {{$invite_desc nofilter}}
+       </p>
 {{/if}}
 
-<form action="{{$action}}" method="post">
+       <form action="{{$action}}" method="post">
 {{if $url}}
-       <dl>
-               <dt>{{$url_label}}</dt>
-               <dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd>
-       </dl>
+               <dl>
+                       <dt>{{$url_label}}</dt>
+                       <dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd>
+               </dl>
 {{/if}}
 {{if $keywords}}
-       <dl>
-               <dt>{{$keywords_label}}</dt>
-               <dd>{{$keywords}}</dd>
-       </dl>
+               <dl>
+                       <dt>{{$keywords_label}}</dt>
+                       <dd>{{$keywords}}</dd>
+               </dl>
 {{/if}}
-       <div id="dfrn-request-url-wrapper">
-               <label id="dfrn-url-label" for="dfrn-url">{{$your_address}}</label>
-               {{if $myaddr}}
-                       {{$myaddr}}
-                       <input type="hidden" name="dfrn_url" id="dfrn-url" value="{{$myaddr}}" />
-               {{else}}
-                       <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}">
-               {{/if}}
-               <input type="hidden" name="url" id="url" value="{{$url}}">
-               <div id="dfrn-request-url-end"></div>
-       </div>
+               <div id="dfrn-request-url-wrapper">
+                       <label id="dfrn-url-label" for="dfrn-url">{{$your_address}}</label>
+                       {{if $myaddr}}
+                               {{$myaddr}}
+                               <input type="hidden" name="dfrn_url" id="dfrn-url" value="{{$myaddr}}" />
+                       {{else}}
+                               <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}">
+                       {{/if}}
+                       <input type="hidden" name="url" id="url" value="{{$url}}">
+                       <div id="dfrn-request-url-end"></div>
+               </div>
 
-       <div id="dfrn-request-submit-wrapper">
+               <div id="dfrn-request-submit-wrapper">
 {{if $submit}}
-               <input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}">
+                       <input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}">
 {{/if}}
-               <input class="btn btn-default" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}">
-       </div>
-</form>
+                       <input class="btn btn-default" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}">
+               </div>
+       </form>
+</div>
\ No newline at end of file