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
3e9bb4c2
Commit
3e9bb4c2
authored
Feb 14, 2015
by
Vishal Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added check for dist directory and added common.css
parent
6b7162cf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
8 deletions
+88
-8
.gitignore
dgi-metadata-ui/.gitignore
+0
-2
gruntfile.js
dgi-metadata-ui/gruntfile.js
+13
-6
common.css
dgi-metadata-ui/public/css/common.css
+75
-0
No files found.
dgi-metadata-ui/.gitignore
View file @
3e9bb4c2
...
...
@@ -6,5 +6,4 @@ lib/
public/lib
public/dist
*.log
public/css/common.css
*.tgz
\ No newline at end of file
dgi-metadata-ui/gruntfile.js
View file @
3e9bb4c2
...
...
@@ -2,7 +2,7 @@
var
git
=
require
(
'git-rev'
);
module
.
exports
=
function
(
grunt
)
{
module
.
exports
=
function
(
grunt
)
{
var
classPathSep
=
(
process
.
platform
===
"win32"
)
?
';'
:
':'
,
gitHash
=
''
,
pkg
=
grunt
.
file
.
readJSON
(
'package.json'
);
...
...
@@ -114,7 +114,7 @@ module.exports = function(grunt) {
compress
:
{
release
:
{
options
:
{
archive
:
function
()
{
archive
:
function
()
{
return
[
pkg
.
name
,
pkg
.
version
,
gitHash
].
join
(
'_'
)
+
'.tgz'
;
}
},
...
...
@@ -127,15 +127,22 @@ module.exports = function(grunt) {
grunt
.
registerTask
(
'default'
,
[
'devUpdate'
,
'bower'
,
'jshint'
,
'jsbeautifier:default'
]);
grunt
.
registerTask
(
'server'
,
[
'bower'
,
'jshint'
,
'
shell:min
'
,
'concurrent'
]);
grunt
.
registerTask
(
'server'
,
[
'bower'
,
'jshint'
,
'
minify
'
,
'concurrent'
]);
grunt
.
registerTask
(
'server:prod'
,
[
'nodemon:prod'
]);
grunt
.
registerTask
(
'server:prod'
,
[
'nodemon:prod'
]);
grunt
.
registerTask
(
'
release'
,
'Create release package'
,
function
()
{
grunt
.
registerTask
(
'
minify'
,
'Minify the all js'
,
function
()
{
var
done
=
this
.
async
();
git
.
short
(
function
(
str
)
{
grunt
.
file
.
mkdir
(
'public/dist'
);
grunt
.
task
.
run
([
'shell:min'
]);
done
();
});
grunt
.
registerTask
(
'release'
,
'Create release package'
,
function
()
{
var
done
=
this
.
async
();
git
.
short
(
function
(
str
)
{
gitHash
=
str
;
grunt
.
task
.
run
([
'
shell:min
'
,
'compress:release'
]);
grunt
.
task
.
run
([
'
minify
'
,
'compress:release'
]);
done
();
});
});
...
...
dgi-metadata-ui/public/css/common.css
0 → 100644
View file @
3e9bb4c2
div
.separator
{
position
:
relative
;
font-size
:
18px
;
color
:
#aaa
;
margin-top
:
10px
;
margin-bottom
:
10px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
}
span
.separator
{
display
:
block
;
position
:
absolute
;
left
:
50%
;
top
:
-2px
;
margin-left
:
-25px
;
background-color
:
#fff
;
width
:
50px
;
text-align
:
center
;
}
hr
.separator
{
background-color
:
#cdcdcd
;
height
:
1px
;
margin-top
:
0px
!important
;
margin-bottom
:
0px
!important
;
}
.pointer
{
cursor
:
pointer
;
}
.form-control
{
border-color
:
#5cbb5a
;
border-width
:
2px
;
}
.small-txt
{
color
:
#999999
;
padding-left
:
14px
;
}
/* Header background */
header
.navbar-top
{
background-color
:
#fafafa
;
border-bottom
:
solid
4px
#5cbb5a
;
margin-bottom
:
0px
;
}
.search
{
padding-top
:
20px
;
background-color
:
#eeeded
;
padding-bottom
:
10px
;
border-bottom
:
solid
1px
#d9d9d8
;
}
header
.container
{
padding
:
12px
;
}
/* Footer */
footer
.navbar-bottom
{
background-color
:
#fafafa
;
border-top
:
solid
4px
#5cbb5a
;
}
footer
.navbar-bottom
p
{
color
:
#333333
;
margin
:
23px
10px
10px
;
}
footer
.navbar-bottom
img
{
padding-left
:
5px
;
margin-top
:
-21px
;
}
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