Skip to content

Commit

Permalink
Update to v1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMortonNZ committed Jan 3, 2014
1 parent 7dc0512 commit 0455d2a
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 17 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Feel free to let me know what else you want added via:
| Submit Input | bs3-input:submit | :h |
| Checkbox Input | bs3-input:checkbox | :h |
| Radio Box Input | bs3-input:radio | :h |
| Select Box | bs3-select | :h |

### Alerts

Expand Down
2 changes: 1 addition & 1 deletion cdn/bs3-cdn-css.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
]]></content>
<tabTrigger>bs3-cdn:css</tabTrigger>
</snippet>
2 changes: 1 addition & 1 deletion cdn/bs3-cdn-js.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<content><![CDATA[
<!-- Latest compiled and minified JS -->
${1:<script src="//code.jquery.com/jquery.js"></script>}
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
]]></content>
<tabTrigger>bs3-cdn:js</tabTrigger>
</snippet>
4 changes: 2 additions & 2 deletions cdn/bs3-cdn.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
<!-- Latest compiled and minified CSS & JS -->
<link rel="stylesheet" media="screen" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" media="screen" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
${1:<script src="//code.jquery.com/jquery.js"></script>}
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
]]></content>
<tabTrigger>bs3-cdn</tabTrigger>
</snippet>
13 changes: 13 additions & 0 deletions form/bs3-select-h.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<snippet>
<content><![CDATA[
<div class="form-group">
<label for="input${1/(\w+)/\u\1/g}" class="col-${2:sm-2} control-label">${1/(\w+)/\u\1/g}:</label>
<div class="col-${2:sm-10}">
<select name="${1}" id="input${1/(\w+)/\u\1/g}" class="form-control" ${3:required="required"}>
<option value="">${0}</option>
</select>
</div>
</div>
]]></content>
<tabTrigger>bs3-select:h</tabTrigger>
</snippet>
8 changes: 8 additions & 0 deletions form/bs3-select.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
<select name="${1}" id="input${1/(\w+)/\u\1/g}" class="form-control" ${2:required="required"}>
<option value="">${0}</option>
</select>
]]></content>
<tabTrigger>bs3-select</tabTrigger>
</snippet>
2 changes: 1 addition & 1 deletion messages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"install": "messages/install.txt",
"1.1.2": "messages/1-1-2.txt"
"1.1.3": "messages/1-1-3.txt"
}
19 changes: 19 additions & 0 deletions messages/1-1-3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
============================================================
Bootstrap 3 Snippets - Has been updated !! -> v1.1.3
============================================================
HAPPY NEW YEAR Bootstrap 3 Snippet users !!
============================================================
Follow me on Twitter: @JasonMortonNZ
------------------------------------------------------------

New Features
------------------------------------------------------------
- Added bs3-select & bs3-select:h snippets (form element)
- Updated CDN references to Bootstrap v3.0.3
- Updated HTML5 template to include lang meta tag
- Updated bs3-icon to include a base fa class
- COMING SOON - A Dedicated website for Bootstrap 3 Snippets
- Complete with easy browse docs and videos.
------------------------------------------------------------
Documentation, examples & issue filing can be found here:
https://github.com/JasonMortonNZ/bs3-sublime-plugin
9 changes: 0 additions & 9 deletions navigation/bs3-navbar:button.sublime-snippet

This file was deleted.

6 changes: 3 additions & 3 deletions template/bs3-html5-template.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CSS -->
<link href="${3://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css}" rel="stylesheet" media="screen">
<link href="${3://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css}" rel="stylesheet" media="screen">
</head>
<body>
<h1 class="text-center">${5:Hello World}</h1>
<h1 class="text-center">${6:Hello World}</h1>
<!-- jQuery -->
<script src="${4://code.jquery.com/jquery.js}"></script>
<!-- Bootstrap JavaScript -->
<script src="${5://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js}"></script>
<script src="${5://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js}"></script>
</body>
</html>
]]></content>
Expand Down

0 comments on commit 0455d2a

Please sign in to comment.