forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged the bootstrap branch - we now use native bootstrap 3.1
- Loading branch information
1 parent
8e2feea
commit ac8edd6
Showing
28 changed files
with
8,797 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
nb-configuration.xml | ||
target | ||
nbactions.xml | ||
|
||
michael-local | ||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Bootstrap Migration Tips | ||
======================== | ||
|
||
* `p:panel` -> `ui:fragment`, or just the content, when possible. | ||
* Whenever possible, no xhtml at all | ||
* `<h:outputText value="abc"/>` -> abc | ||
* conditional rendering based on `ui:fragment`'s `rendered` property. | ||
* Cant use HTML entities. Use the actual unicode char instead. | ||
* HTML5's attributes using passthrough: | ||
|
||
h:inputText id="email" value="#{bean.email}"> | ||
<f:passThroughAttribute name="type" value="email"/> | ||
<f:passThroughAttribute name="placeholder" | ||
value="Enter email"/> | ||
</h:inputText> | ||
|
||
* More on html5 and JSF 2.2 at http://jsflive.wordpress.com/2013/08/08/jsf22-html5/ | ||
* We have a bootstrap component lib, `iqbs`. | ||
* Need to manually convert the font references to JSF compliant: | ||
* from `url('../fonts/glyphicons-halflings-regular.eot');' | ||
* to `url("#{resource['bs/fonts/glyphicons-halflings-regular.eot']}");` | ||
* from `url('../fonts/glyphicons-halflings-regular.eot?SomeThings');' (note the parameter at the end) | ||
* to `url("#{resource['bs/fonts/glyphicons-halflings-regular.eot']}?someThings");` | ||
* same for `?` parameters at the end. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.