-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base files commited, started work on login page. Blocked by messages/…
…errors suckish hook see #215
- Loading branch information
Showing
38 changed files
with
1,462 additions
and
107 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
bootstrap-core/src/main/java/woko/facets/builtin/bootstrap3/all/LayoutBootstrap3.java
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,50 @@ | ||
package woko.facets.builtin.bootstrap3.all; | ||
|
||
import net.sourceforge.jfacets.IFacetDescriptorManager; | ||
import woko.facets.builtin.all.LayoutAll; | ||
import woko.persistence.ObjectStore; | ||
import woko.users.UserManager; | ||
import woko.users.UsernameResolutionStrategy; | ||
|
||
import java.util.Arrays; | ||
import java.util.Collections; | ||
import java.util.List; | ||
|
||
/** | ||
* <code>layout</code> facet for the bootstrap3 skin. | ||
*/ | ||
public class LayoutBootstrap3< | ||
OsType extends ObjectStore, | ||
UmType extends UserManager, | ||
UnsType extends UsernameResolutionStrategy, | ||
FdmType extends IFacetDescriptorManager> extends LayoutAll<OsType,UmType,UnsType,FdmType> { | ||
|
||
private static final String JS_JQUERY = "/js/jQuery-V1.9.1/jquery.min.js"; | ||
private static final String JS_BOOTSTRAP = "/bootstrap-3.1.1-dist/js/bootstrap.min.js"; | ||
private static final String JS_BOOTSTRAP_DATEPICKER = "/js/bootstrap3-datepicker/bootstrap-datepicker.min.js"; | ||
private static final String JS_WOKO_BASE = "/woko/js/woko.base.js"; | ||
private static final String JS_WOKO_JQUERY = "/woko/js/woko.jquery.js"; | ||
private static final String JS_WOKO_RPC = "/woko/js/woko.rpc.js"; | ||
|
||
private static final String CSS_BOOTSTRAP = "/bootstrap-3.1.1-dist/css/bootstrap.min.css"; | ||
private static final String CSS_WOKO = "/css/woko.css"; | ||
|
||
private static final List<String> CSS_INCLUDES = Collections.unmodifiableList( | ||
Arrays.asList(CSS_BOOTSTRAP, CSS_WOKO) | ||
); | ||
|
||
private static final List<String> JS_INCLUDES = Collections.unmodifiableList( | ||
Arrays.asList(JS_JQUERY, JS_BOOTSTRAP, JS_BOOTSTRAP_DATEPICKER, JS_WOKO_BASE, JS_WOKO_JQUERY, JS_WOKO_RPC) | ||
); | ||
|
||
@Override | ||
public List<String> getJsIncludes() { | ||
return JS_INCLUDES; | ||
} | ||
|
||
@Override | ||
public List<String> getCssIncludes() { | ||
return CSS_INCLUDES; | ||
} | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
webresources/bootstrap3/src/main/resources/stripes.properties
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,20 @@ | ||
######################## | ||
## Stripes Messages ## | ||
######################## | ||
# Resource strings used by the stripes:errors tag when there are no nested tags | ||
stripes.errors.header=<div class="container"><div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">×</button><ul class="list-unstyled"> | ||
stripes.errors.beforeError=<li> | ||
stripes.errors.afterError=</li> | ||
stripes.errors.footer=</ul></div></div> | ||
|
||
|
||
stripes.fieldErrors.header= | ||
stripes.fieldErrors.beforeError=<span class="help-inline"> | ||
stripes.fieldErrors.afterError=</span> | ||
stripes.fieldErrors.footer= | ||
|
||
# Resource strings used by the stripes:messages tag | ||
stripes.messages.header=<div class="container"><div class="alert alert-success"><button type="button" class="close" data-dismiss="alert">×</button><ul class="list-unstyled"> | ||
stripes.messages.beforeMessage=<li> | ||
stripes.messages.afterMessage=</li> | ||
stripes.messages.footer=</ul></div></div> |
20 changes: 20 additions & 0 deletions
20
webresources/bootstrap3/src/main/resources/stripes_en.properties
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,20 @@ | ||
######################## | ||
## Stripes Messages ## | ||
######################## | ||
# Resource strings used by the stripes:errors tag when there are no nested tags | ||
stripes.errors.header=<div class="alert alert-error fade in"><button type="button" class="close" data-dismiss="alert">×</button><ul class="unstyled"> | ||
stripes.errors.beforeError=<li> | ||
stripes.errors.afterError=</li> | ||
stripes.errors.footer=</ul></div> | ||
|
||
|
||
stripes.fieldErrors.header= | ||
stripes.fieldErrors.beforeError=<span class="help-inline"> | ||
stripes.fieldErrors.afterError=</span> | ||
stripes.fieldErrors.footer= | ||
|
||
# Resource strings used by the stripes:messages tag | ||
stripes.messages.header=<div class="alert alert-success fade in"><button type="button" class="close" data-dismiss="alert">×</button><ul class="unstyled"> | ||
stripes.messages.beforeMessage=<li> | ||
stripes.messages.afterMessage=</li> | ||
stripes.messages.footer=</ul></div> |
20 changes: 20 additions & 0 deletions
20
webresources/bootstrap3/src/main/resources/stripes_fr.properties
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,20 @@ | ||
######################## | ||
## Stripes Messages ## | ||
######################## | ||
# Resource strings used by the stripes:errors tag when there are no nested tags | ||
stripes.errors.header=<div class="alert alert-error fade in"><button type="button" class="close" data-dismiss="alert">×</button><ul class="unstyled"> | ||
stripes.errors.beforeError=<li> | ||
stripes.errors.afterError=</li> | ||
stripes.errors.footer=</ul></div> | ||
|
||
|
||
stripes.fieldErrors.header= | ||
stripes.fieldErrors.beforeError=<span class="help-inline"> | ||
stripes.fieldErrors.afterError=</span> | ||
stripes.fieldErrors.footer= | ||
|
||
# Resource strings used by the stripes:messages tag | ||
stripes.messages.header=<div class="alert alert-success fade in"><button type="button" class="close" data-dismiss="alert">×</button><ul class="unstyled"> | ||
stripes.messages.beforeMessage=<li> | ||
stripes.messages.afterMessage=</li> | ||
stripes.messages.footer=</ul></div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#footer { | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
/* Set the fixed height of the footer here */ | ||
height: 60px; | ||
background-color: #f5f5f5; | ||
} |
5 changes: 5 additions & 0 deletions
5
...ources/bootstrap3/src/main/webapp/js/bootstrap3-datepicker/bootstrap-datepicker.fr.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
webresources/bootstrap3/src/main/webapp/js/bootstrap3-datepicker/bootstrap-datepicker.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
webresources/bootstrap3/src/main/webapp/js/jQuery-V1.9.1/jquery.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
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.