Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using Fobo v0.9.4-SNAPSHOT compiled for Lift 2.5 and 3.0.

  • Loading branch information...
commit 06d9a63b4e3edfa14bd1696192a6984dab5db239 1 parent 966c6d5
@karma4u101 authored
View
30 build.sbt
@@ -1,4 +1,3 @@
-
organization := "se.media4u101"
name := "FoBo-Lift-Template"
@@ -7,7 +6,7 @@ version := "2.5.0-SNAPSHOT"
crossScalaVersions := Seq("2.10.0", "2.9.2", "2.9.1-1", "2.9.1")
-scalaVersion := "2.9.2"
+scalaVersion := "2.10.0"
seq(com.github.siasia.WebPlugin.webSettings :_*)
@@ -28,17 +27,17 @@ EclipseKeys.withSource := true
transitiveClassifiers := Seq("sources")//,"javadocs")
libraryDependencies ++= {
- val liftVersion = "2.5-RC2" // Put the current/latest lift version here
+ val liftVersion = "3.0-SNAPSHOT" // Put the current/latest lift version here
Seq(
- "net.liftweb" %% "lift-webkit" % liftVersion % "compile" withSources(),
- "net.liftweb" %% "lift-mapper" % liftVersion % "compile",
- "net.liftweb" %% "lift-squeryl-record" % liftVersion % "compile" withSources(),
- "net.liftweb" %% "lift-wizard" % liftVersion % "compile",
- "net.liftweb" %% "lift-testkit" % liftVersion % "compile",
- "net.liftmodules" %% ("fobo"+"_"+liftVersion.toLowerCase) % "0.9.3-SNAPSHOT" withJavadoc() withSources()
-// "net.liftmodules" %% "fobo" % (liftVersion+"-0.9.3-SNAPSHOT") withJavadoc() withSources()
+ "net.liftweb" %% "lift-webkit" % liftVersion % "compile" withSources(),
+ "net.liftweb" %% "lift-mapper" % liftVersion % "compile",
+ "net.liftweb" %% "lift-squeryl-record" % liftVersion % "compile" withSources(),
+ //"net.liftweb" %% "lift-wizard" % liftVersion % "compile",
+ "net.liftweb" %% "lift-testkit" % liftVersion % "compile",
+ "net.liftmodules" %% "fobo_3.0" % "0.9.4-SNAPSHOT" % "compile" withJavadoc() withSources()
)
}
+//"net.liftmodules" %% "fobo" % (liftVersion+"-0.9.3-SNAPSHOT") withJavadoc() withSources()
// Customize any further dependencies as desired
libraryDependencies <++= scalaVersion { sv =>
@@ -46,7 +45,6 @@ libraryDependencies <++= scalaVersion { sv =>
"log4j" % "log4j" % "1.2.16" % "provided" ::
"org.eclipse.jetty" % "jetty-webapp" % "8.0.3.v20111011" % "container" ::
"org.eclipse.jetty" % "jetty-plus" % "8.0.3.v20111011" % "container" ::
- //"javax.servlet" % "javax.servlet-api" % "3.0.1" % "provided->default" ::
"commons-lang" % "commons-lang" % "2.0" % "compile->default" ::
"com.jolbox" % "bonecp" % "0.7.1.RELEASE" % "compile->default" ::
"com.h2database" % "h2" % "1.3.167" ::
@@ -61,14 +59,6 @@ libraryDependencies <++= scalaVersion { sv =>
Nil
}
-//libraryDependencies ++= Seq(
-// "org.eclipse.jetty" % "jetty-webapp" % "8.0.3.v20111011" % "container",
-// "org.eclipse.jetty" % "jetty-plus" % "8.0.3.v20111011" % "container",
-// "javax.servlet" % "servlet-api" % "2.5" % "provided->default",
-// "org.slf4j" % "slf4j-log4j12" % "1.6.1" % "compile->default", // Logging
-// "commons-lang" % "commons-lang" % "2.0" % "compile->default",
-// "com.jolbox" % "bonecp" % "0.7.1.RELEASE" % "compile->default",
-// "com.h2database" % "h2" % "1.3.167"
-//)
+
View
4 src/main/webapp/foundation/index.html
@@ -15,8 +15,8 @@
<!-- Included CSS Files -->
<link rel="stylesheet" type='text/css' href="/classpath/fobo/foundation.css"/>
- <link rel="stylesheet" href="/classpath/fobo/orbit.css">
- <link rel="stylesheet" href="../resources/css/foundation-app.css">
+ <link rel="stylesheet" href="/classpath/fobo/orbit.css"/>
+ <link rel="stylesheet" href="../resources/css/foundation-app.css"/>
<script src="/classpath/fobo/jquery.js" type="text/javascript"></script>
<script src="/classpath/fobo/orbit.js" type="text/javascript"></script>
View
7 src/main/webapp/index.html
@@ -15,12 +15,10 @@
<!-- This demo page will get its demo specific css file merged into the head of this page -->
<!-- Included TOOLKIT SPECIFIC CSS Files -->
-
+
<link data-lift="head" rel="stylesheet" type='text/css' href="/classpath/fobo/themes/smoothness.css"/>
<link data-lift="head" rel="stylesheet" type='text/css' href="/classpath/fobo/jquery.dataTables_themeroller.css"/>
<link data-lift="head" rel="stylesheet" type='text/css' href="/classpath/fobo/prettify.css"/>
- <!-- replacing the bootstrap.css with a no icons variant as we are using font-awesome for icons -->
-<!-- <link data-lift="head" rel="stylesheet" type='text/css' href="/classpath/fobo/bootstrap-no-icons.css"/> -->
<link data-lift="head" rel="stylesheet" type='text/css' href="/classpath/fobo/bootstrap.css"/>
<link data-lift="head" rel="stylesheet" type='text/css' href="/classpath/fobo/bootstrap-responsive.css"/>
<link data-lift="head" rel="stylesheet" href="/classpath/fobo/font-awesome.css"/>
@@ -30,7 +28,6 @@
<link data-lift="head" rel="stylesheet" type='text/css' href="/resources/css/front-app.css"/>
-
<span data-lift='embed?what=_embededNavbar-TB'> Embedding
the topbar here</span>
@@ -51,7 +48,7 @@
<span data-lift='embed?what=_embededFooterSection-TB'> Embedding
footer section</span>
</div>
-
+
</div>
</body>
</html>
View
40 src/main/webapp/templates-hidden/_embededNavbar-TB.html
@@ -18,7 +18,6 @@
<!-- fobo 0.2 / bootstrap 2.0.0 -->
<div class="navbar navbar-inverse navbar-fixed-top" id="fobo-navbar">
<div class="navbar-inner">
-
<div style="width: auto;" class="container-fluid">
<a data-target=".nav-collapse" data-toggle="collapse"
class="btn btn-navbar"> <span class="icon-bar"></span> <span
@@ -38,35 +37,38 @@
class="icon-question-sign icon-white"></i> <span
data-lift="Loc?locid=about.link.text">About</span>
</a>
-<!-- <span data-lift="Menu.item?name=About;"> -->
-<!-- <span data-lift="Loc.i">About</span> -->
-<!-- </span> -->
</li>
- <li><a href="#spysetup"> <i
- class="icon-asterisk icon-white"></i> <span
- data-lift="Loc?locid=setup.link.text">Setup</span>
- </a></li>
+ <li>
+ <a href="#spysetup">
+ <i class="icon-asterisk icon-white"></i> <span data-lift="Loc?locid=setup.link.text">Setup</span>
+ </a>
+ </li>
- <li><a href="#spyfooter"> <i
+ <li>
+ <a href="#spyfooter"> <i
class="icon-info-sign icon-white"></i> <span
data-lift="Loc?locid=ref.link.text">References</span>
- </a></li>
+ </a>
+ </li>
</ul>
+
<ul class="nav">
- <li class="dropdown"><a id="content-dropdown"
+ <li class="dropdown">
+ <a id="content-dropdown"
data-toggle="dropdown" class="dropdown-toggle" href="#"> <span
data-lift="Loc?locid=content.dropdown.text">Content</span> <b
class="caret"></b>
- </a>
+ </a>
<ul class="dropdown-menu">
<li><span
- data-lift="Menu.item?name=Home;?linkToSelf=true;a:class=">
+ data-lift="Menu.item?name=Home;?linkToSelf=true;">
<i class="icon-home"></i> <span data-lift="Loc.i">Home</span>
</span></li>
+
<li><a href="#spyabout"> <i class="icon-question-sign"></i>
<span data-lift="Loc?locid=about.link.text">About</span>
</a></li>
@@ -83,10 +85,6 @@
</span></li>
<li class="divider"></li>
- <!-- <li><span data-lift="Menu.item?name=LiBo;lift:Loc.i;"> -->
- <!-- <i class="icon-book"></i> <span data-lift="Loc.i">LiBo</span> -->
- <!-- </span></li> -->
-
<li><span data-lift="Menu.item?name=Bootstrap-2.2.0;">
<i class="icon-book"></i> <span data-lift="Loc.i">Bootstrap-2.2.0</span>
</span></li>
@@ -100,7 +98,7 @@
</span></li>
<li><span
- data-lift="Menu.item?name=Foundation;a:class=addclassshowofdummy">
+ data-lift="Menu.item?name=Foundation;a:class=addclassshowofdummy;">
<i class="icon-book"></i> <span data-lift="Loc.i">Foundation</span>
</span></li>
@@ -128,13 +126,9 @@
data-lift="Loc?locid=api.link.text">FoBo API</span>
</span></li>
</ul>
-
</div>
</div>
</div>
</div>
-
-
-
-
+
</body>
View
10 src/main/webapp/templates-hidden/default-TB.html
@@ -3,12 +3,12 @@
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
-<link rel="shortcut icon" href="resources/images/mobile_device_128x128.png" type="image/x-icon">
+<link rel="shortcut icon" href="resources/images/mobile_device_128x128.png" type="image/x-icon" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="/resources/css/ie.css">
@@ -31,9 +31,10 @@
<script type="text/javascript" charset="utf-8" src="/classpath/fobo/jquery.dataTables.js"></script>
<!-- Demo snippet datatable example -->
+
<script data-lift="FoBo.DataTables.dataTable?id=#dtexample1&options='bJQueryUI':true,'sPaginationType':'full_numbers'"></script>
<script data-lift="DataTables.semiDynamicDT?on=#dtdemo2&tableId=dtexample2"></script>
-
+
<script data-lift="FoBo.ScriptHelper.registerLoadEventFactory"> </script>
<script data-lift="FoBo.Bootstrap.activateDropdown?on=.dropdown-toggle"></script>
@@ -82,8 +83,7 @@
<script src="/classpath/fobo/bootstrap-collapse.js"></script>
<script src="/classpath/fobo/bootstrap-carousel.js"></script>
<script src="/classpath/fobo/bootstrap-typeahead.js"></script>
- <script src="/classpath/fobo/bootstrap-affix.js"></script> -->
-
+ <script src="/classpath/fobo/bootstrap-affix.js"></script> -->
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.