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
b08a3d91
Commit
b08a3d91
authored
Feb 02, 2015
by
Vishal Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged detail and lineage tabs, app name changes, date formatting
parent
adbcbd58
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
19 deletions
+25
-19
attribute.html
public/modules/details/views/attribute.html
+2
-2
details.html
public/modules/details/views/details.html
+6
-8
header.html
public/modules/home/views/header.html
+1
-1
home.html
public/modules/home/views/home.html
+2
-1
lineageController.js
public/modules/lineage/lineageController.js
+2
-2
lineage.html
public/modules/lineage/views/lineage.html
+1
-1
config.js
server/config/config.js
+2
-2
express.js
server/config/express.js
+6
-1
homeRoute.js
server/routes/system/homeRoute.js
+3
-1
No files found.
public/modules/details/views/attribute.html
View file @
b08a3d91
<h4>
{{key}}:
</h4>
<p>
{{value}}
</p>
\ No newline at end of file
<p>
{{value | date:'medium'}}
</p>
\ No newline at end of file
public/modules/details/views/details.html
View file @
b08a3d91
<div
class=
"
container
"
data-ng-controller=
"DetailsController"
>
<div
class=
"
details
"
data-ng-controller=
"DetailsController"
>
<div
class=
"col-lg-12"
>
<h3>
{{details.$id$.id}}
</h3>
<br/>
<tabset>
<tab
data-heading=
"Wiki"
>
<div
data-ng-repeat=
"(key,value) in details"
data-ng-if=
"isString(value)"
data-ng-include=
"'/modules/details/views/attribute.html'"
></div>
</tab>
<tab
data-heading=
"Lineage"
><ng-include
src=
"'/modules/lineage/views/lineage.html'"
/></tab>
</tabset>
<div
class=
"lineage"
data-ng-include=
"'/modules/lineage/views/lineage.html'"
></div>
<div
class=
"wiki"
>
<section
class=
"row"
data-ng-repeat=
"(key,value) in details"
data-ng-if=
"isString(value)"
data-ng-include=
"'/modules/details/views/attribute.html'"
></section>
</div>
</div>
</div>
\ No newline at end of file
public/modules/home/views/header.html
View file @
b08a3d91
...
...
@@ -6,7 +6,7 @@
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
data-ui-sref=
"home"
class=
"navbar-brand"
data-ui-sref-active=
"active"
>
DG
C
| aetna
</a>
<a
data-ui-sref=
"home"
class=
"navbar-brand"
data-ui-sref-active=
"active"
>
DG
I
| aetna
</a>
</div>
<nav
class=
"collapse navbar-collapse"
data-collapse=
"isCollapsed"
data-role=
"navigation"
>
<ul
class=
"navbar-nav nav"
data-ng-if=
"isLoggedIn()"
>
...
...
public/modules/home/views/home.html
View file @
b08a3d91
<section>
<h1
class=
"text-center"
>
Welcome to DG
C
Metadata Service
</h1>
<h1
class=
"text-center"
>
Welcome to DG
I
Metadata Service
</h1>
</section>
\ No newline at end of file
public/modules/lineage/lineageController.js
View file @
b08a3d91
...
...
@@ -64,8 +64,8 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
});
}
var
width
=
960
,
height
=
600
;
var
width
=
Math
.
max
(
$element
[
0
].
offsetWidth
,
960
)
,
height
=
Math
.
max
(
$element
[
0
].
offsetHeight
,
350
)
;
var
force
=
d3
.
layout
.
force
()
.
linkDistance
(
200
)
...
...
public/modules/lineage/views/lineage.html
View file @
b08a3d91
<div
class=
"container"
data-ng-controller=
"LineageController"
>
<div
data-ng-controller=
"LineageController"
>
<svg></svg>
</div>
server/config/config.js
View file @
b08a3d91
...
...
@@ -10,7 +10,7 @@ var path = require('path'),
config
=
require
(
'rc'
)(
packageJson
.
name
,
{
app
:
{
name
:
packageJson
.
name
,
title
:
'DG
C
'
title
:
'DG
I | aetna
'
},
nodeEnv
:
'local'
,
root
:
rootPath
,
...
...
@@ -25,6 +25,6 @@ var path = require('path'),
}]
}
});
// Set the node envi
or
nment variable if not set before
// Set the node envi
ro
nment variable if not set before
config
.
nodeEnv
=
process
.
env
.
NODE_ENV
=
process
.
env
.
NODE_ENV
||
config
.
nodeEnv
;
module
.
exports
=
config
;
server/config/express.js
View file @
b08a3d91
...
...
@@ -46,7 +46,6 @@ module.exports = function(app) {
app
.
set
(
'view engine'
,
'html'
);
// Set views path, template engine and default layout
console
.
log
(
config
.
root
+
'/public/views'
);
app
.
set
(
'views'
,
config
.
root
+
'/public/views'
);
// Enable jsonp
...
...
@@ -70,6 +69,12 @@ module.exports = function(app) {
* */
app
.
use
(
bodyParser
.
json
());
/*
* Make app details available to routes
* */
app
.
config
=
config
;
/**
* System Routes
* */
...
...
server/routes/system/homeRoute.js
View file @
b08a3d91
...
...
@@ -3,8 +3,10 @@
module
.
exports
=
function
(
app
)
{
app
.
get
(
'/'
,
function
(
req
,
res
)
{
console
.
log
(
'appConfig'
,
app
.
config
);
res
.
render
(
'index'
,
{
renderErrors
:
{}
//req.flash('error')
renderErrors
:
{},
//req.flash('error')
app
:
app
.
config
.
app
});
});
};
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