Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit 77de6bf

Browse files
committed
updated the buttons for push and removed theme sync
1 parent 2f0f32b commit 77de6bf

6 files changed

Lines changed: 8 additions & 39 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This is a Node.js-based "dashboard" that runs on your laptop and lets you work w
6464
Key features:
6565
- Select any theme or WCM design library and "pull" all the files into your local file system.
6666
- Click to push applications, theme designs, or WCM design components to a local or remote Portal server.
67-
- Enable and disable "watch" or "sync" functionality, so that any updates to local files are automatically pushed to the server.
67+
- Enable and disable "watch" functionality, so that any updates to local files are automatically pushed to the server.
6868
- Work with theme modules and profiles from a simple user interface.
6969
- Run script applications locally on a Node.js-based test server, with dummy rendering of WCM tags.
7070
- Use "splint" (Script Portlet Lint) to check for potential issues with script applications.

digexp-dashboard/partials/listAppsView.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ <h4 ng-if="!configInfo.spAppPath" style="color: gray">Please set an app
1919
</div>
2020
<div style="float: right;">
2121
<button type="button" ng-click="pushUpdated()"
22+
title="Push only items that have been changed since the last push or pull."
2223
class="btn btn-default">Push Updated
2324
</button>
2425
<button type="button" ng-click="watchAll()" class="btn btn-default">

digexp-dashboard/partials/listThemesView.html

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h4 class="list-group-item-heading">{{theme.name}}
4949
<div style="float: left; width: 40%">
5050
<div ng-if="theme.needsToBeSynced">
5151
<span class="glyphicon glyphicon-exclamation-sign warning"></span>
52-
Needs to be synced. Press 'Sync' or 'Pull'
52+
Needs to be synced. Press 'Pull'
5353
</div>
5454
<button ng-show="theme.conflictRecognized" class="btn btn-sm btn-default"
5555
data-toggle="modal"
@@ -100,46 +100,14 @@ <h4 class="list-group-item-heading">{{theme.name}}
100100
</div>-->
101101
<button type="button" ng-click="push(theme.folder)"
102102
class="btn btn-default"
103+
title="Push only items that have been changed since the last push or pull."
103104
ng-disabled="theme.syncing||(!theme.datePulled&&!theme.dateSynced)">
104-
Push</button>
105+
Push Updates</button>
105106
<button type="button" ng-click="pull(theme.folder)"
106107
class="btn btn-default"
107108
ng-disabled="theme.syncing">
108109
Pull</button>
109110

110-
<div class="btn-group dropdown" ng-show="!theme.waiting">
111-
<button type="button"
112-
ng-click="sync(theme.folder)"
113-
class="btn btn-default"
114-
ng-disabled="theme.syncing">
115-
Sync
116-
</button>
117-
<div class="btn-group">
118-
<button class="btn btn-default dropdown-toggle"
119-
data-toggle="dropdown"
120-
ng-disabled="theme.syncing">
121-
<span class="caret"></span>
122-
</button>
123-
<ul class="dropdown-menu" onclick="event.stopPropagation()">
124-
<li class="no-a-tag"
125-
ng-click="theme.backgroundSync=!theme.backgroundSync">
126-
<input type="checkbox" ng-checked="theme.backgroundSync"
127-
ng-model="themebackgroundSync"
128-
ng-change="saveBackgroundSyncTheme(theme.folder)"> Background Sync
129-
</li>
130-
<li class="no-a-tag" ng-show="theme.backgroundSync">
131-
<strong>Background Sync Interval</strong>
132-
<br>
133-
<input type="text"
134-
ng-change="updateDxsyncBackgroundInterval(theme.folder)"
135-
ng-model="theme.settings.syncIntervalMin"
136-
class="ng-pristine ng-untouched ng-valid" style="width: 30px;">
137-
minutes
138-
139-
</li>
140-
</ul>
141-
</div>
142-
</div>
143111
<div class="btn-group" ng-show="theme.waiting">
144112
<button type="button"
145113
ng-click="cancel(theme.folder)"

digexp-dashboard/partials/listWcmDesignsView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h4 class="list-group-item-heading">{{wcmDesign.title}}
6868
<div style="padding-top: 20px; clear: both;">
6969
<button type="button" ng-click="push(wcmDesign)" ng-disabled="wcmDesign.syncing"
7070
class="btn btn-default" title="Push only items that have been changed since the last push or pull.">
71-
Push Updated</button>
71+
Push Updates</button>
7272
<button type="button" ng-click="pushAll(wcmDesign)" ng-disabled="wcmDesign.syncing"
7373
class="btn btn-default" title="Push all items to library {{wcmDesign.title}}.">
7474
Push All</button>

digexp-dashboard/partials/modals/listThemesModal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h4 class="modal-title" id="myModalLabel">Choose Themes to Add</h4>
3737
placeholder="Please enter a name for a new folder to get this theme">
3838
</div>
3939
</div>
40-
After clicking 'Create Theme Folders', press 'Pull' or 'Sync' to download the theme files.
40+
After clicking 'Create Theme Folders', press 'Pull' to download the theme files.
4141
</form>
4242
<div ng-show="submitted&&error.exists&&!serverThemes.length">
4343
<strong>Error: </strong><br>

digexp-wcm-design/test/wcmHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var should = require("chai").should(),
1414

1515
const TEST_USERNAME = "wpsadmin";
1616
const TEST_PASSWORD = "wpsadmin";
17-
const TEST_HOST = "gsagerwcmdesign.rtp.raleigh.ibm.com";
17+
const TEST_HOST = "gsager80.rtp.raleigh.ibm.com";
1818
const TEST_PORT = 10039;
1919
const TEST_CONTENT_HANDLER = "/wps/mycontenthandler";
2020
const TEST_NOT_SECURE = false;

0 commit comments

Comments
 (0)