Giter VIP home page Giter VIP logo

elm-bootstrap.info's People

Contributors

adamnbowen avatar andreabedini avatar jeroenpelgrims avatar robscllc avatar rundis avatar skrytebane avatar vitalibarozzi avatar zimmi48 avatar zwilias avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

elm-bootstrap.info's Issues

ListGroup docs error

The documentation for the ListGroup components has the same example code for both the active and the disabled items. The disabled items should use ListGroup.disabled.

cannot find module 'Bootstrap.Navbar'

Tried to follow the directions to run after cloning and I'm getting:

ERROR in ./src/Main.elm
Module build failed: Error: Compiler process exited with error Compilation failed
I cannot find module 'Bootstrap.Navbar'.

Module 'Main' is trying to import it.

Potential problems could be:

  • Misspelled the module name
  • Need to add a source directory or new dependency to elm-package.json

Input.date date format

Hi, not sure if I'll get an answer, but I've been using this implementation of bootstrap and everything has been working fine, except I'm trying to change the date format of the Input.date from mm/dd/yyyy to yyyy-mm-dd and I'm not sure how to do that.

I've been trying the following:

Input.date
        [ Input.attrs [Html.Attributes.property "data-date-format" (Encode.string "yyyy-mm-dd")]
        , ...
        ]

I also tried using Html.Attributes.style and Html.Attributes.attribute, and none of them seem to work. I would appreciate any help, thanks.

Weird build failure

With a fresh clone, I get: I cannot find module 'Bootstrap.Form.Fieldset'. Module 'Page.Form' is trying to import it. I'm afraid I don't know why - it's there in elm-stuff/packages/rundis/elm-bootstrap/1.1.0/src/Bootstrap/Form/Fieldset.elm - and the rest of it seems fine. Any ideas?

Windows: does not serve css

I followed the develop instructions from the README.

  1. git clone https://github.com/rundis/elm-bootstrap.git
  2. cd elm-bootstrap
  3. git clone https://github.com/rundis/elm-bootstrap.info.git
  4. cd elm-bootstrap.info
  5. npm install
  6. npm run dev

The resulting page at http://localhost:5000/

2017-05-17 20_40_09-

Running Windows 10

node version
v7.8.0

npm version
4.2.0

Elm Version
0.18

Adding a Bootstrap class to a regular HTML Element

Hello,

import Html exposing (label)
import Bootstrap.Grid as Grid
import Bootstrap.Grid.Row as Row
import Bootstrap.Grid.Col as Col

-- ...

view model =
    Grid.container []
        [ CDN.stylesheet
        , Grid.row [ Row.centerXs ]
            [ Grid.col [ Col.sm6 ]  -- Col.sm6 is nice and typed
                [ label [ class "col-sm-4" ]  -- "col-sm-4" is no longer typed :(
                    [ text "My awesome label" ]
-- ...

What's the idiomatic way to make the label's class typed in this case?

Many thanks.

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.