Updated rending of social icons with bootstrap/fontawesome and fixed search typahead
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
echo HTML::style('media/theme/bootstrap/css/bootstrap.min.css');
|
||||
echo HTML::style('media/vendor/font-awesome/css/font-awesome.min.css');
|
||||
} else {
|
||||
echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'));
|
||||
echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'));
|
||||
echo HTML::style(Site::Protocol('maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'));
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<form class="navbar-form navbar-right" role="search">
|
||||
<div class="navbar-search-addon form-group">
|
||||
<i class="fa fa-search"></i>
|
||||
<input type="text" class="form-control input-sm search-query" placeholder="Search">
|
||||
<input type="text" autocomplete="off" name="search-query" class="form-control input-sm search-query" placeholder="Search" data-provide="typeahead">
|
||||
</div>
|
||||
</form>
|
||||
<?php endif ?>
|
||||
@@ -132,13 +132,13 @@
|
||||
echo HTML::script('media/js/lodash/lodash-1.2.1.min.js');
|
||||
} else {
|
||||
echo HTML::script(Site::Protocol('code.jquery.com/jquery-1.9.1.min.js'));
|
||||
echo HTML::script(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'));
|
||||
echo HTML::script(Site::Protocol('maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'));
|
||||
echo HTML::script(Site::Protocol('cdnjs.cloudflare.com/ajax/libs/lodash.js/1.2.1/lodash.min.js'));
|
||||
}
|
||||
|
||||
echo HTML::script('media/theme/bootstrap/js/bootstrap.validator.js');
|
||||
echo HTML::script('media/theme/baseadmin/js/backtotop.js');
|
||||
echo HTML::script('media/js/typeahead.bundle.min.js');
|
||||
echo HTML::script('media/js/bootstrap3-typeahead.min.js');
|
||||
echo HTML::script('media/js/search.js');
|
||||
echo HTML::script('media/js/custom.js');
|
||||
echo Script::factory()->render_all();
|
||||
|
Reference in New Issue
Block a user