Update
This commit is contained in:
24
Server/app/resources/basic/BasicController.jl
Normal file
24
Server/app/resources/basic/BasicController.jl
Normal file
@@ -0,0 +1,24 @@
|
||||
module BasicController
|
||||
|
||||
using Genie, Genie.Renderer, Genie.Renderer.Html, Genie.Requests
|
||||
using JSON3
|
||||
using SearchLight
|
||||
using Server.DatabaseSupport, Server.TemplateEditor
|
||||
|
||||
controller = "basic"
|
||||
dict_layouts = Dict(
|
||||
:landing => generate_layout_html("main",controller,"landing",css=["landing"]),
|
||||
)
|
||||
|
||||
#---General-----------------------------------------------------
|
||||
|
||||
|
||||
function landing()
|
||||
html(:basic,:landing, layout = dict_layouts[:landing], context = @__MODULE__,
|
||||
title = "LibSoc",
|
||||
description = ""
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
end
|
1
Server/app/resources/basic/views/landing.jl.html
Normal file
1
Server/app/resources/basic/views/landing.jl.html
Normal file
@@ -0,0 +1 @@
|
||||
<landing-component></landing-component>
|
Reference in New Issue
Block a user