Skip to content

Commit

Permalink
fix(Beta Indicator): Put back beta indicator for pre-store release (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndickerson authored Jun 19, 2018
1 parent 200e81e commit c624560
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class AppComponent implements OnInit {
this.modalService.open(MissingJavaModalComponent, error);
});
this.fileService.getAllRuns(this.onRunData.bind(this));
this.titleService.setTitle(`Bullhorn Data Loader v${this.dataloaderService.version()}`);
this.titleService.setTitle(`Bullhorn Data Loader v${this.dataloaderService.version()} (Beta Release)`);

// Disable drag and drop to stop electron from redirecting away from the app to the dropped file
document.addEventListener('dragover', (event) => event.preventDefault());
Expand Down
1 change: 1 addition & 0 deletions src/app/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
</div>
<div class="dataloader-text">DATA LOADER</div>
</div>
<div class="beta-indicator">BETA</div>
</div>
<button class="settings-button" theme="secondary" inverse color="white" (click)="openSettingsModal()">
Settings
Expand Down
12 changes: 12 additions & 0 deletions src/app/components/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,17 @@ header {
cursor: default;
}
}

.beta-indicator {
align-self: flex-end;
font-size: 10px;
margin: 9px;
padding: 2px 4px 2px 4px;
color: $pulse;
border: 1px solid $pulse;
border-radius: 2px;
box-shadow: 2px 2px 2px $black;
cursor: default;
}
}
}

0 comments on commit c624560

Please sign in to comment.