]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/jot.tpl
Merge branch 'bug/phpinfo-accessible-hotfix' into develop
[friendica.git] / view / theme / frio / templates / jot.tpl
index f719625a284efcff9d7005cbd125458d75dacae7..e0c602a289c82830db950968fc59b10012c6b3a5 100644 (file)
@@ -1,13 +1,10 @@
 {{* The button to open the jot - in This theme we move the button with js to the second nav bar *}}
-<a class="btn btn-sm btn-main pull-right" id="jotOpen" href="compose/{{$posttype}}{{if $content}}?body={{$content}}{{/if}}" aria-label="{{$new_post}}" title="{{$new_post}}"><i class="fa fa-pencil-square-o fa-2x"></i></a>
+<a class="btn btn-sm btn-primary pull-right" id="jotOpen" href="compose/{{$posttype}}{{if $content}}?body={{$content}}{{/if}}" aria-label="{{$new_post}}" title="{{$new_post}}"><i class="fa fa-pencil-square-o fa-2x"></i></a>
 
 <div id="jot-content">
        <div id="jot-sections">
                <div class="modal-header">
-                       {{* Note: We need 2 modal close buttons here to bypass a bug in bootstrap.
-                       The second is for mobile view. The first one doesnt work with dropdowns. To get a working close button
-                       in with dropdows the close button needs to be inserted after the dropdown. *}}
-                       <button type="button" class="close hidden-xs" data-dismiss="modal" aria-label="Close" style="float: right;">&times;</button>
+                       <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="float: right;">&times;</button>
 
                        <a href="/compose" class="btn compose-link" title="{{$compose_link_title}}" aria-label="{{$compose_link_title}}">
                                <i class="fa fa-pencil-square-o" aria-hidden="true"></i>
@@ -71,7 +68,6 @@
                                        </li>
                                </ul>
                        </div>
-                       <button type="button" class="close hidden-lg hidden-md hidden-sm" data-dismiss="modal" style="float: right;">&times;</button>
                </div>
 
                <div id="jot-modal-body" class="modal-body">