-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored states so that each tab of the application is a child of
a parent state which provides the page chrome as well as universally needed resolves.
- Loading branch information
1 parent
55d8bd7
commit ac9fe95
Showing
5 changed files
with
63 additions
and
33 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
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,7 @@ | ||
(function(angular, $, _) { | ||
|
||
angular.module('orgdash') | ||
.controller('DashCtrl', function() { | ||
}); | ||
|
||
})(angular, CRM.$, CRM._); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<h1 crm-page-title>TODO: Title this page</h1> | ||
|
||
<!-- TODO: this nav is probably placeholder --> | ||
<div class="crm-tabset ui-tabs ui-corner-all ui-widget ui-widget-content"> | ||
<ul role="tablist" class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header"> | ||
<li class="ui-corner-all crm-tab-button ui-tabs-tab ui-corner-top ui-state-default ui-tab ui-tabs-active ui-state-active" role="tab" tabindex="0"> | ||
<a ui-sref=".org" role="presentation" tabindex="-1"> | ||
{{ts('Organization Details')}} | ||
</a> | ||
</li> | ||
<li class="ui-corner-all crm-tab-button ui-tabs-tab ui-corner-top ui-state-default ui-tab ui-tabs-active ui-state-active" role="tab" tabindex="0"> | ||
<a ui-sref=".contacts" role="presentation" tabindex="-1"> | ||
{{ts('Contacts and Benefits')}} | ||
</a> | ||
</li> | ||
<li class="ui-corner-all crm-tab-button ui-tabs-tab ui-corner-top ui-state-default ui-tab ui-tabs-active ui-state-active" role="tab" tabindex="0"> | ||
<a ui-sref=".txn" role="presentation" tabindex="-1"> | ||
{{ts('Transaction History')}} | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div ui-view></div> |
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,27 +1,5 @@ | ||
{literal} | ||
<div ng-app="orgdash"> | ||
<h1 crm-page-title>TODO: Title this page</h1> | ||
|
||
<!-- TODO: this nav is probably placeholder --> | ||
<div class="crm-tabset ui-tabs ui-corner-all ui-widget ui-widget-content"> | ||
<ul role="tablist" class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header"> | ||
<li class="ui-corner-all crm-tab-button ui-tabs-tab ui-corner-top ui-state-default ui-tab ui-tabs-active ui-state-active" role="tab" tabindex="0"> | ||
<a ui-sref="org" role="presentation" tabindex="-1"> | ||
{{ts('Organization Details')}} | ||
</a> | ||
</li> | ||
<li class="ui-corner-all crm-tab-button ui-tabs-tab ui-corner-top ui-state-default ui-tab ui-tabs-active ui-state-active" role="tab" tabindex="0"> | ||
<a ui-sref="contacts" role="presentation" tabindex="-1"> | ||
{{ts('Contacts and Benefits')}} | ||
</a> | ||
</li> | ||
<li class="ui-corner-all crm-tab-button ui-tabs-tab ui-corner-top ui-state-default ui-tab ui-tabs-active ui-state-active" role="tab" tabindex="0"> | ||
<a ui-sref="txn" role="presentation" tabindex="-1"> | ||
{{ts('Transaction History')}} | ||
</a> | ||
</li> | ||
</ul> | ||
<div ui-view></div> | ||
</div> | ||
<div ui-view></div> | ||
</div> | ||
{/literal} | ||
{/literal} |