Code Monkey home page Code Monkey logo

twitter-bootstrap-nuget's People

Contributors

christiansparre avatar cvrebert avatar gitter-badger avatar gutek avatar sirkirby 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitter-bootstrap-nuget's Issues

Content location

All of the .less files are placed under Content/less. It might be more clear under something like Content/bootstrap. Thanks for putting this together.

Error in common.ps1 on Remove-Item line

Getting this error:

Successfully added 'jQuery 1.9.1' to MvcApplication1.
Remove-Item : An object at the specified path C:\Users\My.UserName does not exist.
At C:\temp-del mvc bootstrap\packages\jQuery.1.9.1\Tools\common.ps1:53 char:16

  • Remove-Item <<<<  $referencesTempFilePath -Force
    
    • CategoryInfo : InvalidArgument: (:) [Remove-Item], PSArgumentException
    • FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.RemoveItemCommand

Nuget package failed

Hi,

I was trying to install boostrap using nuget to fresh new MVC4 project. It has some issue.Then I tried to install boostrap above first, but same issue. I'm attaching the screenshot.

capture

navbar-inner

On the HotTowel SPA example the view uses the nabvar-inner class but it is not defined on the navbar.less file, is the nabvar-inner part of the bootstrap library?

Include version number in JS filename

If you would rename the JS file from
"bootstrap.min.js"
to
"bootstrap-2.3.1.min.js"

Then in MVC4 it's very easy to include it in a bundle like this:

bundles.Add(new ScriptBundle("~/Scripts/Jquery").Include("~/Scripts/bootstrap-{version}.js"));

Because when you upgrade to a new version the version number is automatically parsed, but when you build the project on release it will include the ".min.js" file and when building in debug it will take the regular one.

Less Bootstrap.js

Shouldn't bootstrap.js be included in the bootstrap.less package?

Bootstrap.MVC missing dependency on Microsoft.AspNet.Web.Optimization

Used the ASP.NET MVC 3 project template to create my site, then installed the Twitter.Bootstrap.MVC package which upgraded the site to ASP.NET MVC 4 (probably an issue in itself...). When I attempted to build, the BootstrapBundleConfig failed to build because the project didn't have a reference to System.Web.Optimization.

Since the Bootstrap package includes bundling, it should also include a dependency on the Microsoft.AspNet.Web.Optimization package.

Error with jQuery and NuGet version when restoring package during build in VS2012

If you install Twitter.Bootstrap.MVC version 1.1.6 via NuGet, it has some issues with upgrading the jQuery version from 1.8x to 1.9x if there are other dependencies on it, and it ends up deleting the jQuery files. This was fixed by re-including the files.

When you open the project in a new workspace, with NuGet package restore enabled, and build the project, you get the following error (even on multiple runs):

The schema version of 'Twitter.Bootstrap.MVC' is incompatible with version 1.7.30402.9028 of NuGet. 
Please upgrade NuGet to the latest version from http://go.microsoft.com/fwlink/?LinkId=213942

My NuGet version is 2.2.4x.

But if you open up the NuGet UI and click restore to restore the packages, there is no issue!

Wrong comment syntax

Please change variables.less //** to //--

When i open this less file in visual studio the code is not correct.

In CSS and Less this is /* Comment */

Update package to v3.3.6 source

Hi, could you please update the Twitter.Bootstrap.Less package to Bootstrap 3.3.6.
This project is still active or has been replaced?

External packages cannot depend on packages that target projects

Hi,
I am always getting subject line error while executing command

PM> install-package Twitter.Bootstrap

Using MVC 4 Internet Template on visula studio 2010.
------------------Start Command-------------------
PM> install-package Twitter.Bootstrap
Attempting to resolve dependency 'bootstrap (≥ 3.0.1)'.
Attempting to resolve dependency 'jquery (≥ 1.9.0)'.
Install-Package : External packages cannot depend on packages that target projects.
At line:1 char:16

  • install-package <<<< Twitter.Bootstrap
    • CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
    • FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

-----------------End Command----------------------

Error when creating a controller

After installing the nuget package "Twitter.Bootstrap.MVC" in Visual Studio 2013, I get an error when trying to create any new controllers.

The Error:
"The parameter searchFolders does not contain any entries. Provide at least on folder to search file. Parameter name: searchFolders"

I am not really sure if this is the right place for this, but my search to resolve the issue all pointed to a nuget package causing the issues so this is literally the only one I have installed.

CVE-2018-20676 & 20677 will library be updated?

Error Twitter.Bootstrap.Less 3.3.6: [CVE-2018-20676] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")
Reference: https://ossindex.sonatype.org/resource/vulnerability/88d9ae04-16c2-4eee-9d6b-960afe3682ab
In Bootstrap before 3.4.0, XSS is possible in the tooltip data-viewport attribute.

--and--

Error Twitter.Bootstrap.Less 3.3.6: [CVE-2018-20677] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")
Reference: https://ossindex.sonatype.org/resource/vulnerability/b50e5a59-fc61-4f4c-9872-5900d205a7d2
In Bootstrap before 3.4.0, XSS is possible in the affix configuration target property.

--and--

Error Twitter.Bootstrap.Less 3.3.6: [CVE-2019-8331] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")
Reference: https://ossindex.sonatype.org/resource/vulnerability/b919d516-c1db-4060-bb17-ef25a07f9fb3
In Bootstrap before 3.4.1 and 4.3.x before 4.3.1, XSS is possible in the tooltip or popover data-template attribute.

--and--

Error Twitter.Bootstrap.Less 3.3.6: [CVE-2018-14042] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")
Reference: https://ossindex.sonatype.org/resource/vulnerability/e98acd45-5fe5-45d1-8bf2-01631d6b1260
In Bootstrap before 4.1.2, XSS is possible in the data-container property of tooltip.

--and--

Error Twitter.Bootstrap.Less 3.3.6: [CVE-2016-10735] In Bootstrap 3.x before 3.4.0 and 4.x-beta before 4.0.0-beta.2, XSS is possible ...
Reference: https://ossindex.sonatype.org/resource/vulnerability/20efb6c8-d8b6-40cb-a6f7-e531181023b0
In Bootstrap 3.x before 3.4.0 and 4.x-beta before 4.0.0-beta.2, XSS is possible in the data-target attribute, a different vulnerability than CVE-2018-14041.

--and--

Error Twitter.Bootstrap.Less 3.3.6: [CVE-2018-14040] Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")
Reference: https://ossindex.sonatype.org/resource/vulnerability/d8419399-889a-4681-ac38-de52c83e9cc7
In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.

What's the different by installing this package?

Hi sirkirby, I have installed the latest Bootstrap for MVC 5 (version 2.1.6) on my MVC 5.1.2 project (using Visual Studio 2013 Express for Web Update 1), but nothing changes, so what the advantages by installing this package?

Downgrade jQuery dependency version

Hi,

Your 'Twitter.Bootstrap.Less' NuGet package has a dependency on jQuery v1.10.2 or higher, while Bootstrap itself has a depency on jQuery version 1.9 or higher, see here: https://github.com/twbs/bootstrap/blob/master/bower.json

Your package forces me to use a higher version of jQuery than required. For another library I need v1.9.1 of jQuery and this can't be installed because of this.
Can you decrease/lower your dependency version of jQuery? It should still work fine.

Kind regards,

Maarten

update to v3.3.1.source

Many email and twitter requests for an update to 3.3.1. Sorry for the delay!

  • merge in the latest source
  • upload to nuget
  • create the new release

Button mini

Hi,

With your last nuget the btn-mini doesn't work, i had to update the bootstrap css to get it work.
Just update the nuget with the latest bootstrap files.

Thanks.

Redirect Twitter.Bootstrap package to Bootstrap

I've agreed to redirect the Twitter.Bootstrap package to the new Outercurve package Bootstrap. The next Twitter.Bootstrap package published will be empty with a dependency on the matching version of Bootstrap. I'll also include a readme explaining the situation.

Depends on ASP.NET MVC 4

I installed the package against an ASP.NET MVC 3 project and the package's dependency on ASP.NET MVC 4 forced me to "upgrade" ASP.NET MVC, which is not what I wanted or expected.

If the only reason for the ASP.NET MVC 4 dependency is bundling support, I'd say drop the bundling support (and/or move it to another package).

update package to v3.3.5 source

from mstubt

Hello, could you please update the Twitter.Bootstrap.Less package to Bootstrap 3.3.5 (released on June 15)? If not yet, any idea on a timeframe? Thanks!!!

Sample Project?

Hi

Is there a sample project. I just installed the nuget package, I never used bootstrap but saw this in nuget.

I was hoping that it would create a sample view or something that I could see how it is being used. I am not sure if I should be just following the tutorials on the bootstrap stie.

v3.0.0 package silently downgrades jQuery package to the minimum required version

Environment:

Issue:

Package installation silently downgrades the installed jQuery package from 1.10.2 to 1.9.1 (notably the minimum required jQuery version for the bootstrap package), which is unexpected behaviour.

Other info:

Our packages.config contains the following line for the jQuery versions to limit it to the 1.x branch:

<package id="jQuery" version="1.9.1" targetFramework="net45" allowedVersions="[1.0,2.0)" />

Unable to install bootstrap in visual studio 2012

Operation Failed Error message:
Attempting to resolve dependency 'bootstrap (≥ 3.0.1)'. Attempting to resolve dependency 'jquery (≥ 1.9.0)'. External packages cannot depend on packages that target projects.

Remove Less.js dependency

Twitter.Bootstrap.Less (Bootstrap Less Source)
Let choose which less provider will be used by end-user. Some of users are using dotless and dotless optimization engine so there is no necessary to use additional Less.js parser.

variables.less glyf icon image reference incorrect.

issue from email ([email protected]):

the images in the variables.less file reference images in a /img/ directory but you packaged the images in the /content/images folder..that is not correct, the correct thing to do would be to deploy the img folder so you dont have to modify the less file that the project maintains

Sample and templates?

The Twitter.Bootstrap.MVC,Sample & Templates are not updated for Bootstrap 3. Any plan to get them updated?

Are icons missing in the package when nuget is installed on a fresh mvc4 internet application?

I'm just wondering what happen with the icons?

I did the following steps:

  1. I Created a fresh project mvc4 asp net. ( internet application )
  2. I removed the site. css and removed its reference (css and theme/base/css) in the bundleconfig.cs file
  3. Using nugget manager I installed the Bootstrap for MVC 4 package
  4. The manager install the content files in: the content folder, script folder and in the App start folder ( Bootstrapbundleconfig )
  5. In order to make use of bootstrap, in my layout page i render the script,base,theme bundles whereas base and theme goes on head and script at bottom

So the result in the above steps should make me able to use bootstrap for my project ( and it does) but when a write an icon tag such as: < i class="icon-search" > *< / i >* the glyphons icons just wont appear

So i wonder if I'm missing something? I dont want to make use of other solutions ( not using nuget or weird stuff ) because the purpose of this nuget is to be ready for use after installing, right?

Keeping with the awesome job by the way!!
Greetings.

Edit: fixing some grammar. Sry i'm not a master in english ( yet )

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.