Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amaury Van Espen
costum
Commits
83f1f137
Commit
83f1f137
authored
May 17, 2019
by
Tibor Katelbach
Browse files
cms editing , cotilios, commons, cozette
parent
2182a56c
Changes
21
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
83f1f137
...
...
@@ -112,7 +112,7 @@ $params = array(
"listSteps"
=>
array
(
"one"
,
"two"
,
"three"
,
"four"
,
"five"
,
"six"
),
"listDone"
=>
array
(
"one"
,
"two"
)
);
echo
$this
->
renderPartial
(
"../tpls/wizard"
,
$params
,
true
);
?>
echo
$this
->
renderPartial
(
"../tpls/wizard"
,
$params
);
?>
</div>
```
...
...
controllers/actions/IndexAction.php
View file @
83f1f137
...
...
@@ -184,7 +184,7 @@ class IndexAction extends CAction
$this
->
getController
()
->
render
(
"index"
,
array
(
"el"
=>
@
$el
[
"el"
]
)
);
//contient des éléments partagé par tout les costums
//echo $this->renderPartial("costum.views.common",array("el"=>$el)
,true
);
//echo $this->renderPartial("costum.views.common",array("el"=>$el));
}
}
...
...
controllers/actions/default/GroupAdminAction.php
View file @
83f1f137
...
...
@@ -48,7 +48,7 @@ class GroupAdminAction extends CAction
if
(
$tpl
==
"json"
)
Rest
::
json
(
$params
);
else
if
(
Yii
::
app
()
->
request
->
isAjaxRequest
)
echo
$controller
->
renderPartial
(
"/custom/default/"
.
$page
,
$params
,
true
);
echo
$controller
->
renderPartial
(
"/custom/default/"
.
$page
,
$params
);
}
else
{
}
...
...
data/commons.json
0 → 100644
View file @
83f1f137
{
"slug"
:
"commons"
,
"welcomeTpl"
:
"costum.views.custom.commons.home"
,
"sourceKey"
:
true
,
"favicon"
:
"co2#/images/favicon.ico"
,
"metaImg"
:
"co2#/images/COmmunecter-Banniere.jpg"
,
"logoMin"
:
"co2#/images/logoBtn.png"
,
"colors"
:
{
"pink"
:
"#E4394D"
,
"dark"
:
"#354C57"
,
"grey"
:
"#f6f6f6"
},
"css"
:
{
"styles"
:
{
"#loadingPageImg"
:
{
"left"
:
"15px"
,
"position"
:
"relative"
}
},
"loader"
:
{
"background"
:
"white"
,
"ring1"
:
{
"color"
:
"this.colors.pink"
,
"height"
:
360
,
"width"
:
360
,
"left"
:
-15
,
"borderWidth"
:
4
,
"top"
:
-35
},
"ring2"
:
{
"color"
:
"this.colors.dark"
,
"height"
:
350
,
"width"
:
350
,
"left"
:
-10
,
"borderWidth"
:
5
,
"top"
:
-30
}
},
"progress"
:
{
"value"
:
{
"background"
:
"this.colors.pink"
},
"bar"
:
{
"background"
:
"#fff"
}
},
"menuTop"
:
{
"background"
:
"white"
,
"button"
:
{
"paddingTop"
:
0
,
"fontSize"
:
30
,
"color"
:
"this.colors.dark"
},
"scopeBtn"
:
{
"color"
:
"this.colors.dark"
},
"filterBtn"
:
{
"color"
:
"this.colors.dark"
},
"badge"
:
{
"background"
:
"this.colors.pink"
,
"border"
:
"1px solid white"
},
"connectBtn"
:
{
"background"
:
"this.colors.dark"
,
"color"
:
"white"
,
"fontSize"
:
18
,
"borderRadius"
:
10
,
"padding"
:
"8px 15px"
}
},
"menuApp"
:
{
"background"
:
"this.colors.pink"
,
"button"
:
{
"fontSize"
:
25
,
"color"
:
"#2c3e50"
,
"hover"
:
{
"borderBottom"
:
"2px solid #fff"
}
}
},
"button"
:
{
"footer"
:
{
"add"
:
{
"bottom"
:
25
,
"background"
:
"transparent"
,
"color"
:
"white"
},
"toolbarAdds"
:
{
"bottom"
:
30
}
}
},
"color"
:
{
"purple"
:
"this.colors.pink"
}
},
"htmlConstruct"
:
{
"appRendering"
:
"vertical"
,
"header"
:
{
"menuTop"
:
{
"navLeft"
:
{
"logo"
:
{
"height"
:
70
},
"searchBar"
:
true
,
"useFilter"
:
{
"scopeFilter"
:
true
,
"showFilter"
:
true
}
},
"navRight"
:
{
"connected"
:
{
"dropdownUser"
:
{
"languages"
:
true
,
"statistics"
:
false
,
"documentation"
:
true
,
"donate"
:
false
,
"admin"
:
true
,
"settings"
:
false
,
"logout"
:
true
},
"userProfil"
:
{
"img"
:
true
},
"networkFloop"
:
true
,
"notifications"
:
true
,
"dda"
:
false
,
"chat"
:
true
,
"home"
:
false
,
"app"
:
false
},
"disconnected"
:
{
"languages"
:
true
,
"login"
:
true
}
}
}
},
"subMenu"
:
{
"fontSize"
:
40
,
"app"
:
true
,
"button"
:
true
},
"footer"
:
{
"add"
:
false
,
"donate"
:
false
},
"adminPanel"
:
{
"add"
:
false
,
"statistic"
:
true
,
"directory"
:
true
,
"reference"
:
{
"initType"
:
[
"organizations"
]
}
},
"directoryViewMode"
:
"block"
,
"directory"
:
{
"header"
:
{
"map"
:
false
,
"viewMode"
:
false
,
"add"
:
{
"proposals"
:
true
}
}
},
"element"
:
{
"initView"
:
"detail"
,
"menuLeft"
:
{
"detail"
:
true
,
"gallery"
:
true
,
"community"
:
true
},
"menuTop"
:
{
"news"
:
true
,
"params"
:
{
"history"
:
true
,
"slug"
:
true
,
"delete"
:
true
}
}
},
"redirect"
:
{
"logged"
:
"welcome"
,
"unlogged"
:
"welcome"
},
"tagBar"
:
{
"top"
:
{
"list"
:
[
{
"icon"
:
"fa-user"
,
"color"
:
"#fff"
,
"link"
:
"one"
},
{
"icon"
:
"fa-group"
,
"color"
:
"#fff"
,
"link"
:
"two"
},
{
"icon"
:
"fa-calendar"
,
"color"
:
"#fff"
,
"link"
:
"three"
},
{
"icon"
:
"fa-pencil-square-o"
,
"color"
:
"#fff"
,
"link"
:
"three"
}
],
"borderColor"
:
"white"
,
"bgColor"
:
"#22252A"
}
}
},
"app"
:
{
"#search"
:
{
"icon"
:
"group"
,
"subdomainName"
:
"Le réseau"
},
"#live"
:
{
"subdomainName"
:
"la COzette Locale"
,
"slug"
:
"cocampagne"
,
"formCreate"
:
false
,
"useFilter"
:
false
}
},
"searchOpenMenu"
:
[
{
"url"
:
"#search"
,
"msg"
:
"Tous les COnstructeurs"
}
]
}
\ No newline at end of file
data/costrasbourg.json
0 → 100644
View file @
83f1f137
{
"slug"
:
"costrasbourg"
,
"welcomeTpl"
:
"costum.views.custom.costrasbourg.home"
,
"sourceKey"
:
true
,
"favicon"
:
"co2#/images/favicon.ico"
,
"metaImg"
:
"co2#/images/COmmunecter-Banniere.jpg"
,
"logoMin"
:
"co2#/images/logoBtn.png"
,
"colors"
:
{
"pink"
:
"#E4394D"
,
"dark"
:
"#354C57"
,
"grey"
:
"#f6f6f6"
},
"css"
:
{
"styles"
:
{
"#loadingPageImg"
:
{
"left"
:
"15px"
,
"position"
:
"relative"
}
},
"loader"
:
{
"background"
:
"white"
,
"ring1"
:
{
"color"
:
"this.colors.pink"
,
"height"
:
360
,
"width"
:
360
,
"left"
:
-15
,
"borderWidth"
:
4
,
"top"
:
-35
},
"ring2"
:
{
"color"
:
"this.colors.dark"
,
"height"
:
350
,
"width"
:
350
,
"left"
:
-10
,
"borderWidth"
:
5
,
"top"
:
-30
}
},
"progress"
:
{
"value"
:
{
"background"
:
"this.colors.pink"
},
"bar"
:
{
"background"
:
"#fff"
}
},
"menuTop"
:
{
"background"
:
"white"
,
"button"
:
{
"paddingTop"
:
0
,
"fontSize"
:
30
,
"color"
:
"this.colors.dark"
},
"scopeBtn"
:
{
"color"
:
"this.colors.dark"
},
"filterBtn"
:
{
"color"
:
"this.colors.dark"
},
"badge"
:
{
"background"
:
"this.colors.pink"
,
"border"
:
"1px solid white"
},
"connectBtn"
:
{
"background"
:
"this.colors.dark"
,
"color"
:
"white"
,
"fontSize"
:
18
,
"borderRadius"
:
10
,
"padding"
:
"8px 15px"
}
},
"menuApp"
:
{
"background"
:
"this.colors.pink"
,
"button"
:
{
"fontSize"
:
25
,
"color"
:
"#2c3e50"
,
"hover"
:
{
"borderBottom"
:
"2px solid #fff"
}
}
},
"button"
:
{
"footer"
:
{
"add"
:
{
"bottom"
:
25
,
"background"
:
"transparent"
,
"color"
:
"white"
},
"toolbarAdds"
:
{
"bottom"
:
30
}
}
},
"color"
:
{
"purple"
:
"this.colors.pink"
}
},
"htmlConstruct"
:
{
"appRendering"
:
"vertical"
,
"header"
:
{
"menuTop"
:
{
"navLeft"
:
{
"logo"
:
{
"height"
:
70
},
"searchBar"
:
true
,
"useFilter"
:
{
"scopeFilter"
:
true
,
"showFilter"
:
true
}
},
"navRight"
:
{
"connected"
:
{
"dropdownUser"
:
{
"languages"
:
true
,
"statistics"
:
false
,
"documentation"
:
true
,
"donate"
:
false
,
"admin"
:
true
,
"settings"
:
false
,
"logout"
:
true
},
"userProfil"
:
{
"img"
:
true
},
"networkFloop"
:
true
,
"notifications"
:
true
,
"dda"
:
false
,
"chat"
:
true
,
"home"
:
false
,
"app"
:
false
},
"disconnected"
:
{
"languages"
:
true
,
"login"
:
true
}
}
}
},
"subMenu"
:
{
"fontSize"
:
40
,
"app"
:
true
,
"button"
:
true
},
"footer"
:
{
"add"
:
false
,
"donate"
:
false
},
"adminPanel"
:
{
"add"
:
false
,
"statistic"
:
true
,
"directory"
:
true
,
"reference"
:
{
"initType"
:
[
"organizations"
]
}
},
"directoryViewMode"
:
"block"
,
"directory"
:
{
"header"
:
{
"map"
:
false
,
"viewMode"
:
false
,
"add"
:
{
"proposals"
:
true
}
}
},
"element"
:
{
"initView"
:
"detail"
,
"menuLeft"
:
{
"detail"
:
true
,
"gallery"
:
true
,
"community"
:
true
},
"menuTop"
:
{
"news"
:
true
,
"params"
:
{
"history"
:
true
,
"slug"
:
true
,
"delete"
:
true
}
}
},
"redirect"
:
{
"logged"
:
"welcome"
,
"unlogged"
:
"welcome"
},
"tagBar"
:
{
"top"
:
{
"list"
:
[
{
"icon"
:
"fa-user"
,
"color"
:
"#fff"
,
"link"
:
"one"
},
{
"icon"
:
"fa-group"
,
"color"
:
"#fff"
,
"link"
:
"two"
},
{
"icon"
:
"fa-calendar"
,
"color"
:
"#fff"
,
"link"
:
"three"
},
{
"icon"
:
"fa-pencil-square-o"
,
"color"
:
"#fff"
,
"link"
:
"three"
}
],
"borderColor"
:
"white"
,
"bgColor"
:
"#22252A"
}
}
},
"app"
:
{
"#search"
:
{
"icon"
:
"group"
,
"subdomainName"
:
"Le réseau"
},
"#live"
:
{
"subdomainName"
:
"la COzette Locale"
,
"slug"
:
"cocampagne"
,
"formCreate"
:
false
,
"useFilter"
:
false
}
},
"searchOpenMenu"
:
[
{
"url"
:
"#search"
,
"msg"
:
"Tous les COnstructeurs"
}
]
}
\ No newline at end of file
data/cotilios.json
0 → 100644
View file @
83f1f137
{
"slug"
:
"cotilios"
,
"welcomeTpl"
:
"costum.views.custom.cotilios.home"
,
"sourceKey"
:
true
,
"favicon"
:
"co2#/images/favicon.ico"
,
"metaImg"
:
"co2#/images/COmmunecter-Banniere.jpg"
,
"logoMin"
:
"co2#/images/logoBtn.png"
,
"colors"
:
{
"pink"
:
"#E4394D"
,
"dark"
:
"#354C57"
,
"grey"
:
"#f6f6f6"
},
"css"
:
{
"styles"
:
{
"#loadingPageImg"
:
{
"left"
:
"15px"
,
"position"
:
"relative"
}
},
"loader"
:
{
"background"
:
"white"
,
"ring1"
:
{
"color"
:
"this.colors.pink"
,
"height"
:
360
,
"width"
:
360
,
"left"
:
-15
,
"borderWidth"
:
4
,
"top"
:
-35
},
"ring2"
:
{
"color"
:
"this.colors.dark"
,
"height"
:
350
,
"width"
:
350
,
"left"
:
-10
,
"borderWidth"
:
5
,
"top"
:
-30
}
},
"progress"
:
{
"value"
:
{
"background"
:
"this.colors.pink"
},
"bar"
:
{
"background"
:
"#fff"
}
},
"menuTop"
:
{
"background"
:
"white"
,
"button"
:
{
"paddingTop"
:
0
,
"fontSize"
:
30
,
"color"
:
"this.colors.dark"
},
"scopeBtn"
:
{
"color"
:
"this.colors.dark"
},
"filterBtn"
:
{
"color"
:
"this.colors.dark"
},
"badge"
:
{
"background"
:
"this.colors.pink"
,
"border"
:
"1px solid white"
},
"connectBtn"
:
{
"background"
:
"this.colors.dark"
,
"color"
:
"white"
,
"fontSize"
:
18
,
"borderRadius"
:
10
,
"padding"
:
"8px 15px"
}
},
"menuApp"
:
{
"background"
:
"this.colors.pink"
,
"button"
:
{
"fontSize"
:
25
,
"color"
:
"#2c3e50"
,
"hover"
:
{
"borderBottom"
:
"2px solid #fff"
}
}
},
"button"
:
{
"footer"
:
{
"add"
:
{
"bottom"
:
25
,
"background"
:
"transparent"
,
"color"
:
"white"
},
"toolbarAdds"
:
{
"bottom"
:
30
}
}
},
"color"
:
{
"purple"
:
"this.colors.pink"
}
},
"htmlConstruct"
:
{
"appRendering"
:
"vertical"
,
"header"
:
{
"menuTop"
:
{