Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Downloadlinks for the current version are:

 

Bootstrap: http://getbootstrap.com/getting-started/#download

...

The implementation is done in views/bootstrap/header.blade.php (for CSS) and views/bootstrap/footer.blade.php (JS) Files. There are several ways to implement these Frameworks, such as composer, via cdn or , by downloading the corresponding files or composer.

Info

For every Framework there are several files available.

  • development version (uncompressed): The development version provides console warning messages when deprecated and/or removed APIs are used. Use this version during development and debugging, and whenever you are reporting bugs to the jQuery team.
  • production version (minimized): The minified production file is compressed and does not generate console warnings. It will only generate a console log message upon loading, or if it detects and error such as an outdated version of jQuery that it does not support. Do not use this file for development or debugging, it will make your life miserable.
  • (slim and slim minified): similar to development and production version but with a smaller feature set.

1 CDN implementation

For fast development, prototyping and testing it is recommended to use CDN (Content Delivery Network) links. The needed links can be found on the mentioned websites.

 

Code Block
languagecss
titleExample CSS implementation (Header)
collapsetrue
 <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
Code Block
languagephp
titleExample JS implementation (Footer)
<script 
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
ProsCons
  • easy and fast to implement
  • Requesting external sources
  • high availability (100% uptime)
  • longer access time when called from "local" network
  • easy to upgrade
 
  • does not work without internet access (might be bad for a NMS-Tool)
  • easy to maintain ( - no maintanancemaintenance)
 

2 Local implementation

For the deployment version a local implementation is recommended.

The files can be downloaded from the mentioned websites or get them with wget and the cdn links

The files that need to be replaced are inside the public/components/assets-admin/plugins/[Pluginname] Folder.

Info
titleInfo

if you copy the files in these folders don't forget to do

#> chmod +x ./[Filename]

#> chown apache:apache ./[Filename]

Implementation is the same as with CDN variant.

Code Block
languagecss
titleExample CSS implementation (Header)
collapsetrue
<link href="{{asset('components/assets-admin/plugins/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet" />
Code Block
languagephp
titleExample JS implementation (Footer)
<script src="{{asset('components/assets-admin/plugins/bootstrap/js/bootstrap.min.js')}}"></script>
ProsCons
  • faster in "local" networks
  • installation, upgrade and maintenance required
  • independent of internet access
 
  

 

 

 

 

...

 

Filter by label (Content by label)
showLabelsfalse
max5
spacesLAR
sortmodified
showSpacefalse
reversetrue
typepage
labelsCSS JS Bootstrap Header Footer

...