fixing mobile navbar triggered issue and slight adjustement to bootstrap

template for using full width of browser for navbar
This commit is contained in:
El RIDO 2015-09-20 20:05:48 +02:00
parent 2dd8b94b05
commit 0686087cfd
4 changed files with 14 additions and 17 deletions

View File

@ -10,7 +10,7 @@ body.navbar-spacing {
} }
.navbar-nav { .navbar-nav {
margin: 0; margin: 0 8px;
} }
.dropdown-menu > li > label, .dropdown-menu > li > div { .dropdown-menu > li > label, .dropdown-menu > li > div {

View File

@ -1095,7 +1095,6 @@ $(function() {
this.stateNewPaste(); this.stateNewPaste();
this.showStatus('', false); this.showStatus('', false);
this.message.text(''); this.message.text('');
$('.navbar-toggle').click();
}, },
/** /**

View File

@ -38,7 +38,7 @@
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="pr"> <li>
<button id="sendbutton" type="button" class="hidden btn btn-default navbar-btn"> <button id="sendbutton" type="button" class="hidden btn btn-default navbar-btn">
<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> {function="t('Send')"} <span class="glyphicon glyphicon-upload" aria-hidden="true"></span> {function="t('Send')"}
</button> </button>

View File

@ -26,7 +26,6 @@
</head> </head>
<body role="document"> <body role="document">
<nav class="navbar navbar-default navbar-static-top"> <nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">{function="t('Toggle navigation')"}</span> <span class="sr-only">{function="t('Toggle navigation')"}</span>
@ -38,7 +37,7 @@
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li class="pr"> <li>
<button id="sendbutton" type="button" class="hidden btn btn-default navbar-btn"> <button id="sendbutton" type="button" class="hidden btn btn-default navbar-btn">
<span class="glyphicon glyphicon-upload" aria-hidden="true"></span> {function="t('Send')"} <span class="glyphicon glyphicon-upload" aria-hidden="true"></span> {function="t('Send')"}
</button> </button>
@ -123,18 +122,17 @@
{loop="LANGUAGES"} {loop="LANGUAGES"}
<li> <li>
<a href="#" class="reloadlink" onclick="document.cookie='lang={$key}';"> <a href="#" class="reloadlink" onclick="document.cookie='lang={$key}';">
{$value[0]} ({$value[1]}) {$value[0]} ({$value[1]})
</a> </a>
</li>{/loop} </li>{/loop}
</ul> </ul>
</li>{/if} </li>{/if}
<li> <li>
<button id="newbutton" type="button" class="reloadlink hidden btn btn-default navbar-btn"> <button id="newbutton" type="button" class="reloadlink hidden btn btn-default navbar-btn">
<span class="glyphicon glyphicon-file" aria-hidden="true"></span> {function="t('New')"} <span class="glyphicon glyphicon-file" aria-hidden="true"></span> {function="t('New')"}
</button> </button>
</li> </li>
</ul> </ul>
</div>
</div> </div>
</nav> </nav>
<header class="container">{if="strlen($NOTICE)"} <header class="container">{if="strlen($NOTICE)"}