Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

Commit 9fa153b

Browse files
committed
Fixed #434: replaced ML-logo with powered-by-ML logo in header
1 parent 67e890b commit 9fa153b

File tree

3 files changed

+61
-22
lines changed

3 files changed

+61
-22
lines changed

app/templates/ui/styles/default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ nav.nav {
2121
text-indent: 100%;
2222
white-space: nowrap;
2323
overflow: hidden;
24-
background: url('/images/marklogic.png') no-repeat;
24+
background: url('/images/MarkLogic-Powered-By.png') no-repeat;
2525
background-size: contain;
2626
min-height: 30px;
2727
height: 30px;

test-clean-all.sh

Lines changed: 54 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,91 @@ HOST=ml9-ml1
44
USER=admin
55
PASS=admin
66

7-
## SLUSH DEFAULT ##
7+
## WIPE ##
88

99
if [ -d slush-default ]; then
1010
cd slush-default
1111
./ml local wipe
1212
cd ..
13-
rm -rf slush-default
1413
fi
1514

16-
## SLUSH 3COLUMN ##
17-
1815
if [ -d slush-3column ]; then
1916
cd slush-3column
2017
./ml local wipe
2118
cd ..
22-
rm -rf slush-3column
2319
fi
2420

25-
## SLUSH DASHBOARD ##
26-
2721
if [ -d slush-dashboard ]; then
2822
cd slush-dashboard
2923
./ml local wipe
3024
cd ..
31-
rm -rf slush-dashboard
3225
fi
3326

34-
## SLUSH MAP ##
35-
3627
if [ -d slush-map ]; then
3728
cd slush-map
3829
./ml local wipe
3930
cd ..
40-
rm -rf slush-map
4131
fi
4232

43-
## SLUSH CARDS ##
44-
4533
if [ -d slush-cards ]; then
4634
cd slush-cards
4735
./ml local wipe
4836
cd ..
49-
rm -rf slush-cards
5037
fi
5138

52-
./ml local restart
53-
sleep 10
39+
## RESTART ##
40+
41+
if [ -d slush-default ]; then
42+
cd slush-default
43+
./ml local restart
44+
sleep 10
45+
cd ..
46+
elif [ -d slush-3column ]; then
47+
cd slush-3column
48+
./ml local restart
49+
sleep 10
50+
cd ..
51+
rm -rf slush-3column
52+
elif [ -d slush-dashboard ]; then
53+
cd slush-dashboard
54+
./ml local restart
55+
sleep 10
56+
cd ..
57+
rm -rf slush-dashboard
58+
elif [ -d slush-map ]; then
59+
cd slush-map
60+
./ml local restart
61+
sleep 10
62+
cd ..
63+
rm -rf slush-map
64+
elif [ -d slush-cards ]; then
65+
cd slush-cards
66+
./ml local restart
67+
sleep 10
68+
cd ..
69+
fi
70+
71+
## REMOVE ##
72+
73+
if [ -d slush-default ]; then
74+
rm -rf slush-default
75+
fi
76+
77+
if [ -d slush-3column ]; then
78+
rm -rf slush-3column
79+
fi
80+
81+
if [ -d slush-dashboard ]; then
82+
rm -rf slush-dashboard
83+
fi
84+
85+
if [ -d slush-map ]; then
86+
rm -rf slush-map
87+
fi
88+
89+
if [ -d slush-cards ]; then
90+
rm -rf slush-cards
91+
fi
5492

5593
####
5694

test-generate-all.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
HOST=ml9-ml1
4+
VERSION=9
45
USER=admin
56
PASS=admin
67

@@ -14,7 +15,7 @@ if [ -d slush-default ]; then
1415
rm -rf slush-default
1516
fi
1617

17-
gulp --gulpfile=slushfile.js --app-name=slush-default --theme=default --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8040 --node-port=8050 --guest-access=true --disallow-updates=true --appusers-only=true
18+
gulp --gulpfile=slushfile.js --app-name=slush-default --theme=default --ml-version=$VERSION --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8040 --node-port=8050 --guest-access=true --disallow-updates=true --appusers-only=true
1819

1920
cd slush-default
2021

@@ -34,7 +35,7 @@ if [ -d slush-3column ]; then
3435
rm -rf slush-3column
3536
fi
3637

37-
gulp --gulpfile=slushfile.js --app-name=slush-3column --theme=3column --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8041 --node-port=8051 --guest-access=true --disallow-updates=true --appusers-only=true
38+
gulp --gulpfile=slushfile.js --app-name=slush-3column --theme=3column --ml-version=$VERSION --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8041 --node-port=8051 --guest-access=true --disallow-updates=true --appusers-only=true
3839

3940
cd slush-3column
4041

@@ -54,7 +55,7 @@ if [ -d slush-dashboard ]; then
5455
rm -rf slush-dashboard
5556
fi
5657

57-
gulp --gulpfile=slushfile.js --app-name=slush-dashboard --theme=dashboard --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8042 --node-port=8052 --guest-access=true --disallow-updates=true --appusers-only=true
58+
gulp --gulpfile=slushfile.js --app-name=slush-dashboard --theme=dashboard --ml-version=$VERSION --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8042 --node-port=8052 --guest-access=true --disallow-updates=true --appusers-only=true
5859

5960
cd slush-dashboard
6061

@@ -74,7 +75,7 @@ if [ -d slush-map ]; then
7475
rm -rf slush-map
7576
fi
7677

77-
gulp --gulpfile=slushfile.js --app-name=slush-map --theme=map --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8043 --node-port=8053 --guest-access=true --disallow-updates=true --appusers-only=true
78+
gulp --gulpfile=slushfile.js --app-name=slush-map --theme=map --ml-version=$VERSION --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8043 --node-port=8053 --guest-access=true --disallow-updates=true --appusers-only=true
7879

7980
cd slush-map
8081

@@ -94,7 +95,7 @@ if [ -d slush-cards ]; then
9495
rm -rf slush-cards
9596
fi
9697

97-
gulp --gulpfile=slushfile.js --app-name=slush-cards --theme=cards --ml-version=8 --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8044 --node-port=8054 --guest-access=true --disallow-updates=true --appusers-only=true
98+
gulp --gulpfile=slushfile.js --app-name=slush-cards --theme=cards --ml-version=$VERSION --ml-host=$HOST --ml-admin-user=$USER --ml-admin-pass=$PASS ---ml-http-port=8044 --node-port=8054 --guest-access=true --disallow-updates=true --appusers-only=true
9899

99100
cd slush-cards
100101

0 commit comments

Comments
 (0)