Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
ubux-kendaraan
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jonathan Borisman Tambun
ubux-kendaraan
Commits
6f89ddb2
Commit
6f89ddb2
authored
7 years ago
by
Jonatan Sihombing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parent
ecf944ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
1 deletion
+58
-1
Module.php
backend/modules/ubux/Module.php
+24
-0
DefaultController.php
backend/modules/ubux/controllers/DefaultController.php
+20
-0
index.php
backend/modules/ubux/views/default/index.php
+12
-0
V2Asset.php
backend/themes/v2/assets/V2Asset.php
+2
-1
No files found.
backend/modules/ubux/Module.php
0 → 100644
View file @
6f89ddb2
<?php
namespace
backend\modules\ubux
;
/**
* ubux module definition class
*/
class
Module
extends
\yii\base\Module
{
/**
* @inheritdoc
*/
public
$controllerNamespace
=
'backend\modules\ubux\controllers'
;
/**
* @inheritdoc
*/
public
function
init
()
{
parent
::
init
();
// custom initialization code goes here
}
}
This diff is collapsed.
Click to expand it.
backend/modules/ubux/controllers/DefaultController.php
0 → 100644
View file @
6f89ddb2
<?php
namespace
backend\modules\ubux\controllers
;
use
yii\web\Controller
;
/**
* Default controller for the `ubux` module
*/
class
DefaultController
extends
Controller
{
/**
* Renders the index view for the module
* @return string
*/
public
function
actionIndex
()
{
return
$this
->
render
(
'index'
);
}
}
This diff is collapsed.
Click to expand it.
backend/modules/ubux/views/default/index.php
0 → 100644
View file @
6f89ddb2
<div
class=
"ubux-default-index"
>
<h1>
<?=
$this
->
context
->
action
->
uniqueId
?>
</h1>
<p>
This is the view content for action "
<?=
$this
->
context
->
action
->
id
?>
".
The action belongs to the controller "
<?=
get_class
(
$this
->
context
)
?>
"
in the "
<?=
$this
->
context
->
module
->
id
?>
" module.
</p>
<p>
You may customize this page by editing the following file:
<br>
<code>
<?=
__FILE__
?>
</code>
</p>
</div>
This diff is collapsed.
Click to expand it.
backend/themes/v2/assets/V2Asset.php
View file @
6f89ddb2
...
...
@@ -36,6 +36,6 @@ class V2Asset extends AssetBundle {
];
public
$publishOptions
=
[
'forceCopy'
=>
tru
e
'forceCopy'
=>
fals
e
];
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment