Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
dataplatform
atlas
Commits
15ba43c6
Commit
15ba43c6
authored
Sep 11, 2015
by
Venkatesh Seetharam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-113 Add an About Dialog to Apache Atlas UI with version number. Contributed by Vishal Kadam
parent
37db9955
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
126 additions
and
1 deletion
+126
-1
app.js
dashboard/public/js/app.js
+1
-0
aboutController.js
dashboard/public/modules/about/aboutController.js
+27
-0
aboutModule.js
dashboard/public/modules/about/aboutModule.js
+21
-0
aboutResource.js
dashboard/public/modules/about/aboutResource.js
+23
-0
about.html
dashboard/public/modules/about/views/about.html
+40
-0
headerController.js
dashboard/public/modules/home/headerController.js
+10
-1
header.html
dashboard/public/modules/home/views/header.html
+2
-0
release-log.txt
release-log.txt
+2
-0
No files found.
dashboard/public/js/app.js
View file @
15ba43c6
...
...
@@ -24,6 +24,7 @@ angular.module('dgc', ['ngCookies',
'ui.router'
,
'dgc.system'
,
'dgc.home'
,
'dgc.about'
,
'dgc.search'
,
'dgc.navigation'
]);
...
...
dashboard/public/modules/about/aboutController.js
0 → 100644
View file @
15ba43c6
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict'
;
angular
.
module
(
'dgc.about'
).
controller
(
'AboutController'
,
[
'$scope'
,
'AboutResource'
,
function
(
$scope
,
AboutResource
)
{
AboutResource
.
get
(
function
(
data
)
{
$scope
.
versionInfo
=
data
;
});
}]);
dashboard/public/modules/about/aboutModule.js
0 → 100644
View file @
15ba43c6
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict'
;
angular
.
module
(
'dgc.about'
,
[]);
dashboard/public/modules/about/aboutResource.js
0 → 100644
View file @
15ba43c6
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict'
;
angular
.
module
(
'dgc.about'
).
factory
(
'AboutResource'
,
[
'$resource'
,
function
(
$resource
)
{
return
$resource
(
'/api/atlas/admin/version'
,
{});
}]);
dashboard/public/modules/about/views/about.html
0 → 100644
View file @
15ba43c6
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<div
class=
"modal-header"
>
<h3
class=
"modal-title title-bold"
>
About
</h3>
</div>
<div
class=
"modal-body"
>
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<img
src=
"../img/ApacheAtlasLogo.png"
class=
"img-responsive"
>
</div>
<div
class=
"col-md-8"
>
<h2
class=
"title-bold"
>
Apache Atlas
</h2>
<p><b>
Version :
</b>
{{versionInfo.Version}}
</p>
</br>
<p
class=
"text-info"
>
Get involved!
</p>
<p
class=
"text-info"
><a
href=
"http://apache.org/licenses/LICENSE-2.0"
target=
"_blank"
>
Licensed under the Apache License Version 2.0
</a></p>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
class=
"btn btn-success"
ng-click=
"$dismiss()"
>
OK
</button>
</div>
\ No newline at end of file
dashboard/public/modules/home/headerController.js
View file @
15ba43c6
...
...
@@ -18,7 +18,7 @@
'use strict'
;
angular
.
module
(
'dgc.home'
).
controller
(
'HeaderController'
,
[
'$scope'
,
function
(
$scope
)
{
angular
.
module
(
'dgc.home'
).
controller
(
'HeaderController'
,
[
'$scope'
,
'$modal'
,
function
(
$scope
,
$modal
)
{
$scope
.
menu
=
[];
...
...
@@ -26,4 +26,13 @@ angular.module('dgc.home').controller('HeaderController', ['$scope', function($s
$scope
.
isLoggedIn
=
function
()
{
return
true
;
};
$scope
.
ShowAbout
=
function
()
{
$modal
.
open
({
animation
:
true
,
templateUrl
:
'/modules/about/views/about.html'
,
controller
:
'AboutController'
,
size
:
'lg'
});
};
}]);
dashboard/public/modules/home/views/header.html
View file @
15ba43c6
...
...
@@ -32,5 +32,6 @@
<a
data-ui-sref=
"{{item.state}}"
>
{{item.title}}
</a>
</li>
</ul>
<a
ng-if=
"!username"
class=
"pull-right"
href=
"javascript:void(0)"
ng-click=
"ShowAbout()"
>
About
</a>
</nav>
</div>
\ No newline at end of file
release-log.txt
View file @
15ba43c6
...
...
@@ -8,6 +8,8 @@ ATLAS-54 Rename configs in hive hook (shwethags)
ATLAS-3 Mixed Index creation fails with Date types (suma.shivaprasad via shwethags)
ALL CHANGES:
ATLAS-113 Add an About Dialog to Apache Atlas UI with version number (Vishal Kadam
via Venkatesh Seetharam)
ATLAS-109 Remove v2 Folder (Vishal Kadam via Venkatesh Seetharam)
ATLAS-90 Support offline builds (Vishal Kadam via Venkatesh Seetharam)
ATLAS-154 Update website for 0.5-incubating release (Venkatesh Seetharam)
...
...
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