]> git.mxchange.org Git - friendica.git/commitdiff
Add generic content wrapper + frio btn primary buttons class to newmemeber, unfollow...
authorJonny Tischbein <jonny_tischbein@systemli.org>
Tue, 11 Dec 2018 18:07:20 +0000 (19:07 +0100)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Mon, 17 Dec 2018 22:09:08 +0000 (23:09 +0100)
mod/newmember.php
view/templates/auto_request.tpl
view/templates/dfrn_request.tpl

index cd59cc780c23ccf7116cf90091ff49d3558b2d55..c2ffe6464ed3fd2c96ba0c079c69774953ca3d80 100644 (file)
@@ -8,7 +8,8 @@ use Friendica\Core\L10n;
 
 function newmember_content(App $a)
 {
-       $o = '<h1>' . L10n::t('Welcome to Friendica') . '</h1>';
+       $o = '<div class="generic-page-wrapper">';
+       $o .= '<h1>' . L10n::t('Welcome to Friendica') . '</h1>';
        $o .= '<h3>' . L10n::t('New Member Checklist') . '</h3>';
        $o .= '<div style="font-size: 120%;">';
        $o .= L10n::t('We would like to offer some tips and links to help make your experience enjoyable. Click any item to visit the relevant page. A link to this page will be visible from your home page for two weeks after your initial registration and then will quietly disappear.');
@@ -54,6 +55,7 @@ function newmember_content(App $a)
        $o .= '<li>' . '<a target="newmember" href="help">' . L10n::t('Go to the Help Section') . '</a><br />' . L10n::t('Our <strong>help</strong> pages may be consulted for detail on other program features and resources.') . '</li>' . EOL;
        $o .= '</ul>';
        $o .= '</div>';
+       $o .= '</div>';
 
        return $o;
 }
index c7e10482ef0875e942c50ce9a5b51eaf135aca2f..9c737cf55ad4b406df44736f1d43c0a385ebed44 100644 (file)
@@ -1,3 +1,4 @@
+<div class="generic-page-wrapper">
 <h1>{{$header}}</h1>
 
 {{if $myaddr == ""}}
@@ -53,8 +54,9 @@
 
        <div id="dfrn-request-submit-wrapper">
                {{if $submit}}
-                       <input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
+                       <input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
                {{/if}}
-               <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
+               <input class="btn btn-primary" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
        </div>
 </form>
+</div>
\ No newline at end of file
index 8e686c33dc1642df69898dc0ba7cfc3cbe6aa0aa..2f363f5653b35623d122f64cc64cab7cd1c18702 100644 (file)
@@ -1,3 +1,4 @@
+<div class="generic-page-wrapper">
 <h1>{{$header}}</h1>
 
 {{if $myaddr}}
@@ -61,7 +62,7 @@
                <label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">{{$yes}}</label>
                <input type="radio" name="knowyou" id="knowyouyes" value="1" />
 
-               <div id="dfrn-request-knowyou-break" ></div>    
+               <div id="dfrn-request-knowyou-break" ></div>
                </div>
                <div id="dfrn-request-know-no-wrapper">
                <label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">{{$no}}</label>
@@ -83,8 +84,9 @@
 
        <div id="dfrn-request-submit-wrapper">
                {{if $submit}}
-                       <input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
+                       <input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit|escape:'html'}}" />
                {{/if}}
-               <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
+               <input class="btn btn-primary" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel|escape:'html'}}" />
        </div>
 </form>
+</div>
\ No newline at end of file