Giter Site home page Giter Site logo

bootstrap's Introduction

bootstrap's People

Contributors

bitshifter1001 avatar borovsky avatar diwalak avatar hboutemy avatar huntc avatar jamesward avatar janmax avatar jroper avatar jwbribon avatar k0zka avatar kbenhdech avatar mkurz avatar mwanji avatar nbauernfeind avatar vpavic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstrap's Issues

3.1.0

Please add version 3.1.0

Font path tip

I had to create a facade to override the font path after importing bootstrap. Seems to work well with sbt-less. Without this, BS3 tries to load from ../fonts/ which is not the WebJar.

app.less:

@import "lib/bootstrap/less/bootstrap.less";
@icon-font-path: "../lib/bootstrap/fonts/";

Bootstrap won't load with webjars-play and requirejs

I don't have a problem loading the angular or jQuery webjars using requirejs, but I can't load bootstrap. I've tried version 3.1.0 and 3.1.0-1 of the bootstrap webjar, and tried both 'bootstrap' and 'js/bootstrap' as the module name.

It's treating it as if I led the module name with a ./ even though I didn't (it's not trying to load from the webjars folder).

The webjar is being pulled down correctly as I can access the js file by pathing directly in the browser address bar.

I can create a requirejs path to a CDN-hosted version of the bootstrap js and that works just fine.

Relevant lines from sbt libraryDependencies:

"org.webjars" %% "webjars-play" % "2.2.1-2"
"org.webjars" % "requirejs" % "2.1.11-1"
"org.webjars" % "bootstrap" % "3.1.1-1"

Please Release Version: v4.0.0-beta

The v4 beta is out !
http://blog.getbootstrap.com/2017/08/10/bootstrap-4-beta/

New docs : https://getbootstrap.com/

JS Dependencies

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>

Popper is required for popovers components
https://getbootstrap.com/docs/4.0/components/popovers/

Pagination class does not work ?

Pagination class does not work if I import this jar in my work, nor if I extract and use the "bootstrap.min.css" in a plain HTML file, whilst all works fine using the original css files downloaded from bootstrap, as well as CDN. Can someone else confirm ?

<ul class="pagination"> ... </ul>

Maven downloads the whole internet

Hello,
I'm opening this issue here, for lack of a better place to open it.
This morning (February 22nd) I ran my maven build and it took 19 minutes and 44 seconds to download it's dependencies - nothing was changed since yesterday so I was expecting the built to take 15 seconds. It seems like I am downloading a TON of npm dependencies. At the end of the build it failed with the following error:

[ERROR] Failed to execute goal on project samplestore: Could not resolve dependencies for project com.nemesis.archetype:samplestore:war:2.0.0.BUILD-SNAPSHOT: Failed to collect dependencies at org.webjars.npm:magicsuggest:jar:2.1.4 -> org.webjars.npm:bootstrap:jar:4.0.0-alpha.3 -> org.webjars.npm:jquery:jar:3.3.0 -> org.webjars.npm:npm:jar:4.4.1 -> org.webjars.npm:npm-registry-client:jar:7.4.6 -> org.webjars.npm:semver:jar:2- >=2.2.1,[3,4),[4,5),[5,6): Failed to read artifact descriptor for org.webjars.npm:semver:jar:2- >=2.2.1,[3,4),[4,5),[5,6): Could not transfer artifact org.webjars.npm:semver:pom:2- >=2.2.1,[3,4),[4,5),[5,6) from/to spring-milestone (http://repo.spring.io/libs-milestone): Failed to transfer file: http://repo.spring.io/libs-milestone/org/webjars/npm/semver/2-%20%3E=2.2.1,%5B3,4),%5B4,5),%5B5,6)/semver-2-%20%3E=2.2.1,%5B3,4),%5B4,5),%5B5,6).pom. Return code is: 400 , ReasonPhrase:Bad Request. -> [Help 1]

Seems like magicsuggest:2.1.4 -> bootstrap:4.0.0-alpha.3 -> jquery 3.3.0 -> npm 4.4.1 -> ALL OF NPM

This looks weird because bootstrap 4.0.0-alpha.3 was uploaded 2016 to maven central:
view-source:http://repo1.maven.org/maven2/org/webjars/bootstrap/4.0.0-alpha.3/bootstrap-4.0.0-alpha.3.pom

But at the same time jquery 3.3.0 was uploaded exactly yesterday:
http://repo1.maven.org/maven2/org/webjars/npm/jquery/3.3.0/

Can someone please explain what is happening?

Wrong link in documentation

Hi,

http://www.webjars.org/documentation#jsf states that you should use

bootstrap/3.1.0/css/bootstrap.min.css

whereas the right way to include it in JSF is

bootstrap/3.1.0/css/bootstrap.min-jsf.css

Without the special jsf version, Glyph Icons won't work.

Also PLEASE add some contact information on the website. It's very hard to learn who is behind this project.

Cheers
Hugo

Could not read WebJar RequireJS config

Could not read WebJar RequireJS config for: bootstrap 3.1.1

build.sbt
scalaVersion := "2.11.1"

"org.webjars" %% "webjars-play" % "2.3.0"
"org.webjars" % "bootstrap" % "3.1.1"

There is an error in browser's console:
The webjars.path() method of getting a WebJar path has been deprecated. The RequireJS config in the bootstrap WebJar may need to be updated

v3 RC1

Please add the shiny new Bootstrap v3 RC1 :)

ERROR "bootstrap.min.css.map" NOT FOUND in spring-boot jsf project

We have a spring-boot project with JSF (Mojarra 2.2.12) :
With version 3.3.5 of Bootstrap webjars all is working with no error;
After upgading to version 3.3.6; an error occured with message :

StatusCode : 404
ErrorMessage : Not Found
RequestUri : /javax.faces.resource/bootstrap/3.3.6/css/bootstrap.min.css.map

Here is my xhtml :

<h:outputStylesheet library="webjars" name="bootstrap/3.3.6/css/bootstrap.min-jsf.css"/>
<h:outputStylesheet library="webjars" name="bootstrap/3.3.6/css/bootstrap-theme.min-jsf.css"/>
....................
....................
<h:outputScript library="webjars"    name="bootstrap/3.3.6/js/bootstrap.min.js"/>

CSS for JSF

Is it possible to create a CSS file for JSF like the FontAwesome webjar?

4.0.0-alpha.6

Hello
Is there a plan to go on version 4.0.0-alpha.6?

I try to build the jar file myself, but for now i't does not work, therefore my question.

play: sbt.ResolveException: unresolved dependency: org.webjars#bootstrap_2.11;3.2.0: not found

this is my build.sbt:

name := """newblang"""

version := "v0.0.1"

lazy val root = (project in file(".")).enablePlugins(PlayScala)

scalaVersion := "2.11.1"

libraryDependencies ++= Seq(
  "org.webjars" %% "webjars-play" % "2.3.0",
  "org.webjars" %% "bootstrap" % "3.1.1-2",
  jdbc,
  anorm,
  cache,
  ws
)

this is the trace:

[info] Loading project definition from /Users/jchen/git/newblang/project
[info] Set current project to newblang (in build file:/Users/jchen/git/newblang/)
[info] Updating {file:/Users/jchen/git/newblang/}root...
[info] Resolving org.webjars#bootstrap_2.11;3.2.0 ...
[warn]  module not found: org.webjars#bootstrap_2.11;3.2.0
[warn] ==== local: tried
[warn]   /Users/jchen/.ivy2/local/org.webjars/bootstrap_2.11/3.2.0/ivys/ivy.xml
[warn] ==== activator-local: tried
[warn]   file:/Users/jchen/git/newblang/repository/org.webjars/bootstrap_2.11/3.2.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/org/webjars/bootstrap_2.11/3.2.0/bootstrap_2.11-3.2.0.pom
[warn] ==== typesafe-releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/webjars/bootstrap_2.11/3.2.0/bootstrap_2.11-3.2.0.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/org.webjars/bootstrap_2.11/3.2.0/ivys/ivy.xml
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/webjars/bootstrap_2.11/3.2.0/bootstrap_2.11-3.2.0.pom
[info] Resolving jline#jline;2.11 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.webjars#bootstrap_2.11;3.2.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: org.webjars#bootstrap_2.11;3.2.0: not found
    at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:103)
    at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:48)
    at sbt.IvySbt$$anon$3.call(Ivy.scala:57)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
    at xsbt.boot.Using$.withResource(Using.scala:11)
    at xsbt.boot.Using$.apply(Using.scala:10)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at sbt.IvySbt.withDefaultLogger(Ivy.scala:57)
    at sbt.IvySbt.withIvy(Ivy.scala:98)
    at sbt.IvySbt.withIvy(Ivy.scala:94)
    at sbt.IvySbt$Module.withModule(Ivy.scala:115)
    at sbt.IvyActions$.update(IvyActions.scala:125)
    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1223)
    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1221)
    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$74.apply(Defaults.scala:1244)
    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$74.apply(Defaults.scala:1242)
    at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1246)
    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1241)
    at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
    at sbt.Classpaths$.cachedUpdate(Defaults.scala:1249)
    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1214)
    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1192)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
    at sbt.std.Transform$$anon$4.work(System.scala:64)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    at sbt.Execute.work(Execute.scala:244)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:695)
[error] (*:update) sbt.ResolveException: unresolved dependency: org.webjars#bootstrap_2.11;3.2.0: not found
[error] Total time: 7 s, completed Jul 10, 2014 1:05:55 AM

bootstrap' requirejs content

I think that requirejs content in pom.xml should be changed from:

            {
                "paths": {
                    "bootstrap": "js/bootstrap",
                    "bootstrap-css": "css/bootstrap"
                },
                "shim": {
                    "bootstrap": [ "jquery" ]
                }
            }

to:

            {
                "paths": {
                    "bootstrap": "js/bootstrap",
                    "bootstrap-css": "css/bootstrap"
                },
                "shim": {
                    "bootstrap": {
                        "deps": [ "jquery" ]
                    }
                }
            }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.