-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce hepek-play. Move more stuff to hepek-components. Reorganize…
… packages
- Loading branch information
Showing
41 changed files
with
235 additions
and
279 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
29 changes: 29 additions & 0 deletions
29
hepek-components/src/main/scala/ba/sake/hepek/HepekAliases.scala
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,29 @@ | ||
package ba.sake.hepek | ||
|
||
private[hepek] trait HepekAliases { | ||
|
||
val SiteSettings = html.SiteSettings | ||
type SiteSettings = html.SiteSettings | ||
|
||
val PageSettings = html.PageSettings | ||
type PageSettings = html.PageSettings | ||
|
||
// deps | ||
val Dependency = html.Dependency | ||
type Dependency = html.Dependency | ||
|
||
val Dependencies = html.Dependencies | ||
type Dependencies = html.Dependencies | ||
|
||
val DependencyProvider = html.DependencyProvider | ||
|
||
// grid | ||
val Ratio = html.component.GridComponents.Ratio | ||
type Ratio = html.component.GridComponents.Ratio | ||
|
||
val Ratios = html.component.GridComponents.Ratios | ||
type Ratios = html.component.GridComponents.Ratios | ||
|
||
val ScreenRatios = html.component.GridComponents.ScreenRatios | ||
type ScreenRatios = html.component.GridComponents.ScreenRatios | ||
} |
2 changes: 1 addition & 1 deletion
2
...hepek/anchorjs/AnchorjsDependencies.scala → ...hepek/anchorjs/AnchorjsDependencies.scala
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
2 changes: 1 addition & 1 deletion
2
...ek/bootstrap3/BootstrapDependencies.scala → ...ek/bootstrap3/BootstrapDependencies.scala
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
14 changes: 14 additions & 0 deletions
14
hepek-components/src/main/scala/ba/sake/hepek/bootstrap3/BootstrapPage.scala
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,14 @@ | ||
package ba.sake.hepek.bootstrap3 | ||
|
||
import scalatags.Text.all._ | ||
import ba.sake.hepek.html._ | ||
|
||
trait BootstrapPage extends HtmlPage with BootstrapDependencies { | ||
|
||
def bootstrapContainer: String = "container-fluid" | ||
|
||
override def bodyContent: Frag = | ||
div(cls := bootstrapContainer)( | ||
) | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...clipboardjs/ClipboardjsDependencies.scala → ...clipboardjs/ClipboardjsDependencies.scala
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
2 changes: 1 addition & 1 deletion
2
...ek/html/structure/ComponentSettings.scala → ...a/sake/hepek/html/ComponentSettings.scala
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
2 changes: 1 addition & 1 deletion
2
...e/hepek/html/structure/Dependencies.scala → ...ala/ba/sake/hepek/html/Dependencies.scala
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,4 +1,4 @@ | ||
package ba.sake.hepek.html.structure | ||
package ba.sake.hepek.html | ||
|
||
case class Dependency( | ||
file: String, | ||
|
2 changes: 1 addition & 1 deletion
2
...k/html/structure/DependencyProvider.scala → .../sake/hepek/html/DependencyProvider.scala
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
2 changes: 1 addition & 1 deletion
2
...pek/html/structure/PageDependencies.scala → ...ba/sake/hepek/html/PageDependencies.scala
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,4 +1,4 @@ | ||
package ba.sake.hepek.html.structure | ||
package ba.sake.hepek.html | ||
|
||
trait PageDependencies { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ake/hepek/jquery/JQueryDependencies.scala → ...ake/hepek/jquery/JQueryDependencies.scala
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
2 changes: 1 addition & 1 deletion
2
.../sake/hepek/katex/KatexDependencies.scala → .../sake/hepek/katex/KatexDependencies.scala
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
2 changes: 1 addition & 1 deletion
2
...e/hepek/mathjax/MathjaxDependencies.scala → ...e/hepek/mathjax/MathjaxDependencies.scala
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
2 changes: 1 addition & 1 deletion
2
...ba/sake/hepek/pure/PureDependencies.scala → ...ba/sake/hepek/pure/PureDependencies.scala
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
5 changes: 5 additions & 0 deletions
5
hepek-components/src/main/scala/ba/sake/hepek/pure/PurePage.scala
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,5 @@ | ||
package ba.sake.hepek.pure | ||
|
||
import ba.sake.hepek.html.HtmlPage | ||
|
||
trait PurePage extends HtmlPage with PureDependencies {} |
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.