Преглед на файлове

Merge branch 'feat/dev' of katelynne/JhipsterGroupProject-Server into master

Lauren Green преди 5 години
родител
ревизия
ba72817beb

+ 3
- 0
src/main/resources/config/application.yml Целия файл

@@ -66,7 +66,10 @@ spring:
66 66
         properties:
67 67
             hibernate.jdbc.time_zone: UTC
68 68
         hibernate:
69
+<<<<<<< HEAD
70
+=======
69 71
             ddl-auto: none
72
+>>>>>>> e643360c0b2a6c07e30a791e98c6c624e8cc0a81
70 73
             naming:
71 74
                 physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
72 75
                 implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy

+ 52
- 10
src/main/webapp/app/entities/user-profile/user-profile.component.html Целия файл

@@ -1,15 +1,57 @@
1
-<div>
2
-    <h2 id="page-heading">
3
-        <span jhiTranslate="zipConnectApp.userProfile.home.title">User Profiles</span>
4
-        <button id="jh-create-entity" class="btn btn-primary float-right jh-create-entity create-user-profile" [routerLink]="['/user-profile/new']">
5
-            <fa-icon [icon]="'plus'"></fa-icon>
6
-            <span  jhiTranslate="zipConnectApp.userProfile.home.createLabel">
7
-            Create new User Profile
8
-            </span>
9
-        </button>
10
-    </h2>
1
+<div class="container" *ngFor="let userProfile of userProfiles ;trackBy: trackId">
2
+    <br/>
3
+        <h1>{{userProfile.firstName}} {{userProfile.lastName}}<span class="badge badge-warning">4.2</span></h1>
4
+    <br/>
5
+    <!--<h2 id="page-heading">-->
6
+        <!--<span jhiTranslate="zipConnectApp.userProfile.home.title">User Profiles</span>-->
7
+
8
+        <!--<button id="jh-create-entity" class="btn btn-primary float-right jh-create-entity create-user-profile" [routerLink]="['/user-profile/new']">-->
9
+            <!--<fa-icon [icon]="'plus'"></fa-icon>-->
10
+            <!--<span  jhiTranslate="zipConnectApp.userProfile.home.createLabel">-->
11
+            <!--Create new User Profile-->
12
+            <!--</span>-->
13
+        <!--</button>-->
14
+    <!--</h2>-->
15
+
16
+    <jhi-post></jhi-post>
17
+    <jhi-post-detail></jhi-post-detail>
11 18
     <jhi-alert></jhi-alert>
19
+    <jhi-newsfeed></jhi-newsfeed>
12 20
     <br/>
21
+
22
+
23
+    <div class="container">
24
+        <div class="card" style="width: 18rem;">
25
+            <img class="card-img-top" src="" alt="Card image cap">
26
+            <div class="card-body">
27
+                <p class="card-text"><span>{{userProfile.firstName}}</span></p>
28
+            </div>
29
+        </div>
30
+    </div>
31
+
32
+
33
+
34
+<div class="container" *ngFor="let userProfile of userProfiles ;trackBy: trackId">
35
+    <div class="card" style="width: 18rem;">
36
+        <!--<a [routerLink]="['/user-profile', userProfile.id, 'view' ]">{{userProfile.id}}</a>-->
37
+        <div class="card-header">
38
+            MY STACK
39
+        </div>
40
+        <ul class="list-group list-group-flush">
41
+            <li class="list-group-item">{{userProfile.userStack}}</li>
42
+            <li class="list-group-item">{{userProfile.userStack}}</li>
43
+            <li class="list-group-item">{{userProfile.userStack}}</li>
44
+        </ul>
45
+    </div>
46
+</div>
47
+
48
+    <!--<div class="container" *ngFor="let userProfile of userProfiles ;trackBy: trackId">-->
49
+        <!--<div class="col-md-6">-->
50
+            <!---->
51
+        <!--</div>-->
52
+    <!--</div>-->
53
+
54
+
13 55
     <div class="table-responsive" *ngIf="userProfiles">
14 56
         <table class="table table-striped">
15 57
             <thead>

+ 3
- 2
src/main/webapp/app/entities/user-profile/user-profile.module.ts Целия файл

@@ -1,6 +1,6 @@
1 1
 import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2 2
 import { RouterModule } from '@angular/router';
3
-
3
+import { NewsfeedComponent } from 'app/newsfeed/newsfeed.component';
4 4
 import { ZipConnectSharedModule } from 'app/shared';
5 5
 import { ZipConnectAdminModule } from 'app/admin/admin.module';
6 6
 import {
@@ -22,7 +22,8 @@ const ENTITY_STATES = [...userProfileRoute, ...userProfilePopupRoute];
22 22
         UserProfileDetailComponent,
23 23
         UserProfileUpdateComponent,
24 24
         UserProfileDeleteDialogComponent,
25
-        UserProfileDeletePopupComponent
25
+        UserProfileDeletePopupComponent,
26
+        NewsfeedComponent
26 27
     ],
27 28
     entryComponents: [UserProfileComponent, UserProfileUpdateComponent, UserProfileDeleteDialogComponent, UserProfileDeletePopupComponent],
28 29
     schemas: [CUSTOM_ELEMENTS_SCHEMA]

+ 83
- 34
src/main/webapp/app/home/home.component.html Целия файл

@@ -1,41 +1,90 @@
1
-<div class="row">
2
-    <div class="col-md-3">
3
-        <span class="hipster img-fluid rounded"></span>
1
+
2
+    <!--<div class="container-fluid ">-->
3
+        <!--<img src="../../content/images/Herbacious.png" class="img-fluid" alt="Responsive image">-->
4
+        <!--&lt;!&ndash;<span class="hipster img-fluid"></span>&ndash;&gt;-->
5
+    <!--</div>-->
6
+
7
+
8
+
9
+<div class="col-md-12">
10
+    <div class="row">
11
+        <div class="col-md-12">
12
+            <img src="../../content/images/laser.png" class="img-fluid" alt="Responsive image">
13
+        </div>
4 14
     </div>
5
-    <div class="col-md-9">
6
-        <h1 class="display-4" jhiTranslate="home.title">Welcome, Java Hipster!</h1>
7
-        <p class="lead" jhiTranslate="home.subtitle">This is your homepage</p>
8
-
9
-        <div [ngSwitch]="isAuthenticated()">
10
-            <div class="alert alert-success" *ngSwitchCase="true">
11
-                <span id="home-logged-message" *ngIf="account" jhiTranslate="home.logged.message"
12
-                    translateValues="{username: '{{account.login}}'}"> You are logged in as user "{{account.login}}". </span>
13
-            </div>
15
+</div>
14 16
 
15
-            <div class="alert alert-warning" *ngSwitchCase="false">
16
-                <span jhiTranslate="global.messages.info.authenticated.prefix">If you want to </span>
17
-                <a class="alert-link" (click)="login()" jhiTranslate="global.messages.info.authenticated.link">sign in</a><span jhiTranslate="global.messages.info.authenticated.suffix">, you can try the default accounts:<br/>- Administrator (login="admin" and password="admin") <br/>- User (login="user" and password="user").</span>
18
-            </div>
19
-            <div class="alert alert-warning" *ngSwitchCase="false">
17
+    <!--Jumbotron option-->
18
+    <!--<div class="card bg-dark text-white">-->
19
+        <!--<img class="card-img" src="../../content/images/background.png" alt="Card image">-->
20
+        <!--<div class="card-img-overlay">-->
21
+            <!--<div class="jumbotron">-->
22
+                <!--<h1 class="display-4">Zip CONNECT</h1>-->
23
+                <!--<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>-->
24
+                <!--<hr class="my-4">-->
25
+                <!--<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>-->
26
+                <!--<button type="button" class="btn btn-warning"><a class="button" (click)="login()">Sign in</a></button>-->
27
+            <!--</div>-->
28
+        <!--</div>-->
29
+    <!--</div>-->
30
+
31
+    <!--<div class="row">-->
32
+        <!--<div class="col-sm-6">-->
33
+            <!--<div class="card text-white bg-dark mb-3" style="max-width: 20rem;">-->
34
+                <!--<div class="card-header"></div>-->
35
+                <!--<div class="card-body">-->
36
+                    <!--<h4 class="card-title">Dark card title</h4>-->
37
+                    <!--<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>-->
38
+                    <!--<button type="button" class="btn btn-warning"><a class="button" (click)="login()">Sign in</a></button>-->
39
+                    <!--&lt;!&ndash;<button type="button" class="btn btn-warning"><a class="button" routerLink="register">Register a new account</a></button>&ndash;&gt;-->
40
+                <!--</div>-->
41
+            <!--</div>-->
42
+                <!--<div class="col-sm-6">-->
43
+                    <!--<div class="card text-white bg-dark mb-3" style="max-width: 20rem;">-->
44
+                        <!--<div class="card-header"></div>-->
45
+                        <!--<div class="card-body">-->
46
+                            <!--<h4 class="card-title">Dark card title</h4>-->
47
+                            <!--<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>-->
48
+                            <!--<button type="button" class="btn btn-warning"><a class="button" (click)="login()">Sign in</a></button>-->
49
+                            <!--&lt;!&ndash;<button type="button" class="btn btn-warning"><a class="button" routerLink="register">Register a new account</a></button>&ndash;&gt;-->
50
+                        <!--</div>-->
51
+                <!--</div>-->
52
+            <!--</div>-->
53
+        <!--</div>-->
54
+        <!--<h1 class="display-4" jhiTranslate="home.title">Welcome, Java Hipster!</h1>-->
55
+        <!--<h1 class="display-4">ZipConnect!</h1>-->
56
+        <!--<p class="lead" jhiTranslate="home.subtitle">This is your homepage</p>-->
57
+
58
+        <div class="container" [ngSwitch]="isAuthenticated()">
59
+            <!--<div class="alert alert-success" *ngSwitchCase="true">-->
60
+                <!--<span id="home-logged-message" *ngIf="account" jhiTranslate="home.logged.message"-->
61
+                    <!--translateValues="{username: '{{account.login}}'}"> You are logged in as user "{{account.login}}". </span>-->
62
+            <!--</div>-->
63
+
64
+            <!--<div class="alert alert-warning" *ngSwitchCase="false">-->
65
+                <!--<span jhiTranslate="global.messages.info.authenticated.prefix">If you want to </span>-->
66
+                <!--<a class="alert-link" (click)="login()" jhiTranslate="global.messages.info.authenticated.link">sign in</a><span jhiTranslate="global.messages.info.authenticated.suffix">, you can try the default accounts:<br/>- Administrator (login="admin" and password="admin") <br/>- User (login="user" and password="user").</span>-->
67
+            <!--</div>-->
68
+            <div class="alert alert-light" *ngSwitchCase="false">
20 69
                 <span jhiTranslate="global.messages.info.register.noaccount">You don't have an account yet?</span>&nbsp;
21 70
                 <a class="alert-link" routerLink="register" jhiTranslate="global.messages.info.register.link">Register a new account</a>
22 71
             </div>
23 72
         </div>
24 73
 
25
-        <p jhiTranslate="home.question">
26
-            If you have any question on JHipster:
27
-        </p>
28
-
29
-        <ul>
30
-            <li><a href="https://www.jhipster.tech/" target="_blank" rel="noopener" jhiTranslate="home.link.homepage">JHipster homepage</a></li>
31
-            <li><a href="http://stackoverflow.com/tags/jhipster/info" target="_blank" rel="noopener" jhiTranslate="home.link.stackoverflow">JHipster on Stack Overflow</a></li>
32
-            <li><a href="https://github.com/jhipster/generator-jhipster/issues?state=open" target="_blank" rel="noopener" jhiTranslate="home.link.bugtracker">JHipster bug tracker</a></li>
33
-            <li><a href="https://gitter.im/jhipster/generator-jhipster" target="_blank" rel="noopener" jhiTranslate="home.link.chat">JHipster public chat room</a></li>
34
-            <li><a href="https://twitter.com/java_hipster" target="_blank" rel="noopener" jhiTranslate="home.link.follow">follow @java_hipster on Twitter</a></li>
35
-        </ul>
36
-
37
-        <p>
38
-            <span jhiTranslate="home.like">If you like JHipster, don't forget to give us a star on</span> <a href="https://github.com/jhipster/generator-jhipster" target="_blank" rel="noopener" jhiTranslate="home.github">GitHub</a>!
39
-        </p>
40
-    </div>
41
-</div>
74
+        <!--<p jhiTranslate="home.question">-->
75
+            <!--If you have any question on JHipster:-->
76
+        <!--</p>-->
77
+
78
+        <!--<ul>-->
79
+            <!--<li><a href="https://www.jhipster.tech/" target="_blank" rel="noopener" jhiTranslate="home.link.homepage">JHipster homepage</a></li>-->
80
+            <!--<li><a href="http://stackoverflow.com/tags/jhipster/info" target="_blank" rel="noopener" jhiTranslate="home.link.stackoverflow">JHipster on Stack Overflow</a></li>-->
81
+            <!--<li><a href="https://github.com/jhipster/generator-jhipster/issues?state=open" target="_blank" rel="noopener" jhiTranslate="home.link.bugtracker">JHipster bug tracker</a></li>-->
82
+            <!--<li><a href="https://gitter.im/jhipster/generator-jhipster" target="_blank" rel="noopener" jhiTranslate="home.link.chat">JHipster public chat room</a></li>-->
83
+            <!--<li><a href="https://twitter.com/java_hipster" target="_blank" rel="noopener" jhiTranslate="home.link.follow">follow @java_hipster on Twitter</a></li>-->
84
+        <!--</ul>-->
85
+
86
+        <!--<p>-->
87
+            <!--<span jhiTranslate="home.like">If you like JHipster, don't forget to give us a star on</span> <a href="https://github.com/jhipster/generator-jhipster" target="_blank" rel="noopener" jhiTranslate="home.github">GitHub</a>!-->
88
+        <!--</p>-->
89
+    <!--</div>-->
90
+

+ 29
- 8
src/main/webapp/app/home/home.scss Целия файл

@@ -1,15 +1,35 @@
1 1
 /* ==========================================================================
2 2
 Main page styles
3 3
 ========================================================================== */
4
+.img-fluid {
5
+    max-width: 100%;
6
+    height: auto;
7
+}
8
+//
9
+//.container-fluid {
10
+//    max-width: 100%;
11
+//    height: auto;
12
+//}
4 13
 
5
-.hipster {
6
-    display: inline-block;
7
-    width: 347px;
8
-    height: 497px;
9
-    background: url('../../content/images/hipster.png') no-repeat center top;
10
-    background-size: contain;
14
+.no-padding {
15
+    padding-left: 0;
16
+    padding-right: 0;
17
+    align-items: center;
11 18
 }
12 19
 
20
+//.hipster {
21
+//    display: block;
22
+//    //width: 100%;
23
+//    background: url('../../content/images/Herbacious.png')no-repeat center top;
24
+//    background-size: cover;
25
+//}
26
+
27
+//.jumbotron {
28
+//    //background: rgb(255, 255, 255); /* This is for ie8 and below */
29
+//    background: rgba(255, 255, 255, 0.4);
30
+//    margin-top: 100px;
31
+//}
32
+
13 33
 /* wait autoprefixer update to allow simple generation of high pixel density media query */
14 34
 @media only screen and (-webkit-min-device-pixel-ratio: 2),
15 35
     only screen and (-moz-min-device-pixel-ratio: 2),
@@ -17,7 +37,8 @@ Main page styles
17 37
     only screen and (min-resolution: 192dpi),
18 38
     only screen and (min-resolution: 2dppx) {
19 39
     .hipster {
20
-        background: url('../../content/images/hipster2x.png') no-repeat center top;
21
-        background-size: contain;
40
+        background: url('../../content/images/Herbacious.png') no-repeat center;
41
+        background-size: cover;
42
+        //width: 100%;
22 43
     }
23 44
 }

+ 3
- 3
src/main/webapp/app/layouts/footer/footer.component.html Целия файл

@@ -1,3 +1,3 @@
1
-<div class="footer">
2
-    <p jhiTranslate="footer">This is your footer</p>
3
-</div>
1
+<!--<div class="footer">-->
2
+    <!--<p jhiTranslate="footer">This is your footer</p>-->
3
+<!--</div>-->

+ 34
- 25
src/main/webapp/app/layouts/navbar/navbar.component.html Целия файл

@@ -1,11 +1,12 @@
1
-<nav class="navbar navbar-dark navbar-expand-md jh-navbar">
1
+<nav class="navbar navbar-expand-lg navbar-light bg-light">
2 2
     <div class="jh-logo-container float-left">
3 3
         <a class="jh-navbar-toggler d-lg-none float-right" href="javascript:void(0);" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation" (click)="toggleNavbar()">
4 4
             <fa-icon icon="bars"></fa-icon>
5 5
         </a>
6 6
         <a class="navbar-brand logo float-left" routerLink="/" (click)="collapseNavbar()">
7 7
             <span class="logo-img"></span>
8
-            <span jhiTranslate="global.title" class="navbar-title">ZipConnect</span> <span class="navbar-version">{{version}}</span>
8
+            <!--<span jhiTranslate="global.title" class="navbar-title">ZipConnect</span> <span class="navbar-version">{{version}}</span>-->
9
+            <!--<span jhiTranslate="global.title" class="navbar-title">ZipConnect</span>-->
9 10
         </a>
10 11
     </div>
11 12
     <div class="navbar-collapse collapse" id="navbarResponsive" [ngbCollapse]="isNavbarCollapsed" [ngSwitch]="isAuthenticated()">
@@ -13,7 +14,7 @@
13 14
             <li class="nav-item" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">
14 15
                 <a class="nav-link" routerLink="/" (click)="collapseNavbar()">
15 16
                     <span>
16
-                        <fa-icon icon="home"></fa-icon>
17
+                        <!--<fa-icon icon="home"></fa-icon>-->
17 18
                         <span jhiTranslate="global.menu.home">Home</span>
18 19
                     </span>
19 20
                 </a>
@@ -22,7 +23,7 @@
22 23
             <li *ngSwitchCase="true" ngbDropdown class="nav-item dropdown pointer" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">
23 24
                 <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="entity-menu">
24 25
                     <span>
25
-                        <fa-icon icon="th-list"></fa-icon>
26
+                        <!--<fa-icon icon="th-list"></fa-icon>-->
26 27
                         <span jhiTranslate="global.menu.entities.main">
27 28
                             Entities
28 29
                         </span>
@@ -31,31 +32,31 @@
31 32
                 <ul class="dropdown-menu" ngbDropdownMenu>
32 33
                     <li>
33 34
                         <a class="dropdown-item" routerLink="user-profile" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" (click)="collapseNavbar()">
34
-                            <fa-icon icon="asterisk" fixedWidth="true"></fa-icon>
35
+                            <!--<fa-icon icon="asterisk" fixedWidth="true"></fa-icon>-->
35 36
                             <span jhiTranslate="global.menu.entities.userProfile">User Profile</span>
36 37
                         </a>
37 38
                     </li>
38 39
                     <li>
39 40
                         <a class="dropdown-item" routerLink="cohort" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" (click)="collapseNavbar()">
40
-                            <fa-icon icon="asterisk" fixedWidth="true"></fa-icon>
41
+                            <!--<fa-icon icon="asterisk" fixedWidth="true"></fa-icon>-->
41 42
                             <span jhiTranslate="global.menu.entities.cohort">Cohort</span>
42 43
                         </a>
43 44
                     </li>
44 45
                     <li>
45 46
                         <a class="dropdown-item" routerLink="employer" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" (click)="collapseNavbar()">
46
-                            <fa-icon icon="asterisk" fixedWidth="true"></fa-icon>
47
+                            <!--<fa-icon icon="asterisk" fixedWidth="true"></fa-icon>-->
47 48
                             <span jhiTranslate="global.menu.entities.employer">Employer</span>
48 49
                         </a>
49 50
                     </li>
50 51
                     <li>
51 52
                         <a class="dropdown-item" routerLink="post" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" (click)="collapseNavbar()">
52
-                            <fa-icon icon="asterisk" fixedWidth="true"></fa-icon>
53
+                            <!--<fa-icon icon="asterisk" fixedWidth="true"></fa-icon>-->
53 54
                             <span jhiTranslate="global.menu.entities.post">Post</span>
54 55
                         </a>
55 56
                     </li>
56 57
                     <li>
57 58
                         <a class="dropdown-item" routerLink="privacy" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" (click)="collapseNavbar()">
58
-                            <fa-icon icon="asterisk" fixedWidth="true"></fa-icon>
59
+                            <!--<fa-icon icon="asterisk" fixedWidth="true"></fa-icon>-->
59 60
                             <span jhiTranslate="global.menu.entities.privacy">Privacy</span>
60 61
                         </a>
61 62
                     </li>
@@ -65,57 +66,57 @@
65 66
             <li *jhiHasAnyAuthority="'ROLE_ADMIN'" ngbDropdown class="nav-item dropdown pointer" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">
66 67
                 <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="admin-menu">
67 68
                     <span>
68
-                        <fa-icon icon="user-plus"></fa-icon>
69
+                        <!--<fa-icon icon="user-plus"></fa-icon>-->
69 70
                         <span jhiTranslate="global.menu.admin.main">Administration</span>
70 71
                     </span>
71 72
                 </a>
72 73
                 <ul class="dropdown-menu" ngbDropdownMenu>
73 74
                     <li>
74 75
                         <a class="dropdown-item" routerLink="admin/user-management" routerLinkActive="active" (click)="collapseNavbar()">
75
-                            <fa-icon icon="user" fixedWidth="true"></fa-icon>
76
+                            <!--<fa-icon icon="user" fixedWidth="true"></fa-icon>-->
76 77
                             <span jhiTranslate="global.menu.admin.userManagement">User management</span>
77 78
                         </a>
78 79
                     </li>
79 80
                     <li>
80 81
                         <a class="dropdown-item" routerLink="admin/jhi-metrics" routerLinkActive="active" (click)="collapseNavbar()">
81
-                            <fa-icon icon="tachometer-alt" fixedWidth="true"></fa-icon>
82
+                            <!--<fa-icon icon="tachometer-alt" fixedWidth="true"></fa-icon>-->
82 83
                             <span jhiTranslate="global.menu.admin.metrics">Metrics</span>
83 84
                         </a>
84 85
                     </li>
85 86
                     <li>
86 87
                         <a class="dropdown-item" routerLink="admin/jhi-health" routerLinkActive="active" (click)="collapseNavbar()">
87
-                            <fa-icon icon="heart" fixedWidth="true"></fa-icon>
88
+                            <!--<fa-icon icon="heart" fixedWidth="true"></fa-icon>-->
88 89
                             <span jhiTranslate="global.menu.admin.health">Health</span>
89 90
                         </a>
90 91
                     </li>
91 92
                     <li>
92 93
                         <a class="dropdown-item" routerLink="admin/jhi-configuration" routerLinkActive="active" (click)="collapseNavbar()">
93
-                            <fa-icon icon="list" fixedWidth="true"></fa-icon>
94
+                            <!--<fa-icon icon="list" fixedWidth="true"></fa-icon>-->
94 95
                             <span jhiTranslate="global.menu.admin.configuration">Configuration</span>
95 96
                         </a>
96 97
                     </li>
97 98
                     <li>
98 99
                         <a class="dropdown-item" routerLink="admin/audits" routerLinkActive="active" (click)="collapseNavbar()">
99
-                            <fa-icon icon="bell" fixedWidth="true"></fa-icon>
100
+                            <!--<fa-icon icon="bell" fixedWidth="true"></fa-icon>-->
100 101
                             <span jhiTranslate="global.menu.admin.audits">Audits</span>
101 102
                         </a>
102 103
                     </li>
103 104
                     <li>
104 105
                         <a class="dropdown-item" routerLink="admin/logs" routerLinkActive="active" (click)="collapseNavbar()">
105
-                            <fa-icon icon="tasks" fixedWidth="true"></fa-icon>
106
+                            <!--<fa-icon icon="tasks" fixedWidth="true"></fa-icon>-->
106 107
                             <span jhiTranslate="global.menu.admin.logs">Logs</span>
107 108
                         </a>
108 109
                     </li>
109 110
                     <li *ngIf="swaggerEnabled">
110 111
                         <a class="dropdown-item" routerLink="admin/docs" routerLinkActive="active" (click)="collapseNavbar()">
111
-                            <fa-icon icon="book" fixedWidth="true"></fa-icon>
112
+                            <!--<fa-icon icon="book" fixedWidth="true"></fa-icon>-->
112 113
                             <span jhiTranslate="global.menu.admin.apidocs">API</span>
113 114
                         </a>
114 115
                     </li>
115 116
                     <!-- jhipster-needle-add-element-to-admin-menu - JHipster will add entities to the admin menu here -->
116 117
                     <li *ngIf="!inProduction">
117 118
                         <a class="dropdown-item" href='./h2-console' target="_tab" (click)="collapseNavbar()">
118
-                            <fa-icon icon="hdd" fixedWidth="true"></fa-icon>
119
+                            <!--<fa-icon icon="hdd" fixedWidth="true"></fa-icon>-->
119 120
                             <span jhiTranslate="global.menu.admin.database">Database</span>
120 121
                         </a>
121 122
                     </li>
@@ -124,7 +125,7 @@
124 125
             <li ngbDropdown class="nav-item dropdown pointer" *ngIf="languages && languages.length > 1">
125 126
                 <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="languagesnavBarDropdown">
126 127
                     <span>
127
-                        <fa-icon icon="flag"></fa-icon>
128
+                        <!--<fa-icon icon="flag"></fa-icon>-->
128 129
                         <span jhiTranslate="global.menu.language">Language</span>
129 130
                     </span>
130 131
                 </a>
@@ -137,7 +138,7 @@
137 138
             <li ngbDropdown class="nav-item dropdown pointer" placement="bottom-right" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">
138 139
                 <a class="nav-link dropdown-toggle" ngbDropdownToggle href="javascript:void(0);" id="account-menu">
139 140
                   <span *ngIf="!getImageUrl()">
140
-                    <fa-icon icon="user"></fa-icon>
141
+                    <!--<fa-icon icon="user"></fa-icon>-->
141 142
                     <span jhiTranslate="global.menu.account.main">
142 143
                       Account
143 144
                     </span>
@@ -149,36 +150,44 @@
149 150
                 <ul class="dropdown-menu" ngbDropdownMenu>
150 151
                     <li *ngSwitchCase="true">
151 152
                         <a class="dropdown-item" routerLink="settings" routerLinkActive="active" (click)="collapseNavbar()">
152
-                            <fa-icon icon="wrench" fixedWidth="true"></fa-icon>
153
+                            <!--<fa-icon icon="wrench" fixedWidth="true"></fa-icon>-->
153 154
                             <span jhiTranslate="global.menu.account.settings">Settings</span>
154 155
                         </a>
155 156
                     </li>
156 157
                     <li *ngSwitchCase="true">
157 158
                         <a class="dropdown-item" routerLink="password" routerLinkActive="active" (click)="collapseNavbar()">
158
-                            <fa-icon icon="clock" fixedWidth="true"></fa-icon>
159
+                            <!--<fa-icon icon="clock" fixedWidth="true"></fa-icon>-->
159 160
                             <span jhiTranslate="global.menu.account.password">Password</span>
160 161
                         </a>
161 162
                     </li>
162 163
                     <li *ngSwitchCase="true">
163 164
                         <a class="dropdown-item" (click)="logout()" id="logout">
164
-                            <fa-icon icon="sign-out-alt" fixedWidth="true"></fa-icon>
165
+                            <!--<fa-icon icon="sign-out-alt" fixedWidth="true"></fa-icon>-->
165 166
                             <span jhiTranslate="global.menu.account.logout">Sign out</span>
166 167
                         </a>
167 168
                     </li>
168 169
                     <li *ngSwitchCase="false">
169 170
                         <a class="dropdown-item" (click)="login()" id="login">
170
-                            <fa-icon icon="sign-in-alt" fixedWidth="true"></fa-icon>
171
+                            <!--<fa-icon icon="sign-in-alt" fixedWidth="true"></fa-icon>-->
171 172
                             <span jhiTranslate="global.menu.account.login">Sign in</span>
172 173
                         </a>
173 174
                     </li>
174 175
                     <li *ngSwitchCase="false">
175 176
                         <a class="dropdown-item" routerLink="register" routerLinkActive="active" (click)="collapseNavbar()">
176
-                            <fa-icon icon="user-plus" fixedWidth="true"></fa-icon>
177
+                            <!--<fa-icon icon="user-plus" fixedWidth="true"></fa-icon>-->
177 178
                             <span jhiTranslate="global.menu.account.register">Register</span>
178 179
                         </a>
179 180
                     </li>
180 181
                 </ul>
181 182
             </li>
183
+            <li>
184
+                <button type="button" class="btn btn-warning"><a class="button" (click)="login()">SIGN IN</a></button>
185
+            </li>
186
+            <!--<li><form class="form-inline my-2 my-lg-0">-->
187
+                <!--<input class="form-control mr-sm-2" type="text" placeholder="Search">-->
188
+                <!--<button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>-->
189
+            <!--</form>-->
190
+            <!--</li>-->
182 191
         </ul>
183 192
     </div>
184 193
 </nav>

+ 6
- 4
src/main/webapp/app/layouts/navbar/navbar.scss Целия файл

@@ -1,14 +1,16 @@
1 1
 /* ==========================================================================
2 2
 Navbar
3 3
 ========================================================================== */
4
-
4
+fa-icon {
5
+    color: #f2b352;
6
+}
5 7
 .navbar-version {
6 8
     font-size: 10px;
7 9
     color: #ccc;
8 10
 }
9 11
 
10 12
 .jh-navbar {
11
-    background-color: #353d47;
13
+    background-color: #000000;
12 14
     padding: 0.2em 1em;
13 15
     .profile-image {
14 16
         margin: -10px 0px;
@@ -68,10 +70,10 @@ Logo styles
68 70
         padding: 5px 15px;
69 71
         .logo-img {
70 72
             height: 45px;
71
-            width: 70px;
73
+            width: 75px;
72 74
             display: inline-block;
73 75
             vertical-align: middle;
74
-            background: url('../../../content/images/logo-jhipster.png') no-repeat center center;
76
+            //background: url('../../../content/images/favicon.png') no-repeat center center;
75 77
             background-size: contain;
76 78
         }
77 79
     }

+ 7
- 3
src/main/webapp/app/newsfeed/newsfeed.component.html Целия файл

@@ -1,3 +1,7 @@
1
-<p>
2
-  newsfeed works!
3
-</p>
1
+<!--<p>-->
2
+  <!--newsfeed works!-->
3
+<!--</p>-->
4
+
5
+<div class="col-md-6">
6
+    <p>newsfeed works!</p>
7
+</div>

BIN
src/main/webapp/avicon.ico Целия файл


BIN
src/main/webapp/content/images/Herbacious.png Целия файл


BIN
src/main/webapp/content/images/avicon.png Целия файл


BIN
src/main/webapp/content/images/background.png Целия файл


BIN
src/main/webapp/content/images/blockhome.png Целия файл


BIN
src/main/webapp/content/images/circle.png Целия файл


BIN
src/main/webapp/content/images/face.png Целия файл


BIN
src/main/webapp/content/images/favicon.png Целия файл


BIN
src/main/webapp/content/images/laser.png Целия файл


BIN
src/main/webapp/content/images/zipconnect.png Целия файл


+ 15
- 24
src/main/webapp/content/scss/_bootstrap-variables.scss Целия файл

@@ -1,19 +1,9 @@
1
-/*
2
-* Bootstrap overrides https://getbootstrap.com/docs/4.0/getting-started/theming/
3
-* All values defined in bootstrap source
4
-* https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss can be overwritten here
5
-* Make sure not to add !default to values here
6
-*/
7
-
8
-// Colors:
9
-// Grayscale and brand colors for use across Bootstrap.
10
-
11
-$primary: #3e8acc;
12
-$success: #28a745;
13
-$info: #17a2b8;
14
-$warning: #ffc107;
15
-$danger: #dc3545;
16
-
1
+$primary: #009688;
2
+$success: #4caf50;
3
+$info: #03a9f4;
4
+$warning: #ff5722;
5
+$danger: #f44336;
6
+$blue: #0275d8;
17 7
 // Options:
18 8
 // Quickly modify global styling by enabling or disabling optional features.
19 9
 $enable-rounded: true;
@@ -23,20 +13,21 @@ $enable-transitions: true;
23 13
 $enable-hover-media-query: false;
24 14
 $enable-grid-classes: true;
25 15
 $enable-print-styles: true;
26
-
27 16
 // Components:
28 17
 // Define common padding and border radius sizes and more.
29
-
30 18
 $border-radius: 0.15rem;
31 19
 $border-radius-lg: 0.125rem;
32 20
 $border-radius-sm: 0.1rem;
33
-
34 21
 // Body:
35 22
 // Settings for the `<body>` element.
36
-
37
-$body-bg: #e4e5e6;
38
-
23
+$body-bg: #fff;
39 24
 // Typography:
40 25
 // Font, line-height, and color for body text, headings, and more.
41
-
42
-$font-size-base: 1rem;
26
+$font-size-base: 0.9rem;
27
+$border-radius: 2px;
28
+$border-radius-sm: 1px;
29
+$font-family-sans-serif: 'Roboto', 'Helvetica', 'Arial', sans-serif;
30
+$headings-font-weight: 300;
31
+$link-color: $primary;
32
+$input-focus-border-color: lighten($blue, 25%);
33
+$input-focus-box-shadow: none;

+ 227
- 226
src/main/webapp/content/scss/global.scss Целия файл

@@ -1,226 +1,227 @@
1
-@import 'bootstrap-variables';
2
-
3
-/* ==============================================================
4
-Bootstrap tweaks
5
-===============================================================*/
6
-
7
-body,
8
-h1,
9
-h2,
10
-h3,
11
-h4 {
12
-    font-weight: 300;
13
-}
14
-
15
-a {
16
-    color: #533f03;
17
-    font-weight: bold;
18
-}
19
-
20
-a:hover {
21
-    color: #533f03;
22
-    font-weight: bold;
23
-    /* make sure browsers use the pointer cursor for anchors, even with no href */
24
-    cursor: pointer;
25
-}
26
-
27
-/* ==========================================================================
28
-Browser Upgrade Prompt
29
-========================================================================== */
30
-.browserupgrade {
31
-    margin: 0.2em 0;
32
-    background: #ccc;
33
-    color: #000;
34
-    padding: 0.2em 0;
35
-}
36
-
37
-/* ==========================================================================
38
-Generic styles
39
-========================================================================== */
40
-
41
-/* Error highlight on input fields */
42
-.ng-valid[required],
43
-.ng-valid.required {
44
-    border-left: 5px solid green;
45
-}
46
-
47
-.ng-invalid:not(form) {
48
-    border-left: 5px solid red;
49
-}
50
-
51
-/* other generic styles */
52
-
53
-.jh-card {
54
-    padding: 1.5%;
55
-    margin-top: 20px;
56
-    border: none;
57
-}
58
-
59
-.error {
60
-    color: white;
61
-    background-color: red;
62
-}
63
-
64
-.pad {
65
-    padding: 10px;
66
-}
67
-
68
-.w-40 {
69
-    width: 40% !important;
70
-}
71
-
72
-.w-60 {
73
-    width: 60% !important;
74
-}
75
-
76
-.break {
77
-    white-space: normal;
78
-    word-break: break-all;
79
-}
80
-
81
-.readonly {
82
-    background-color: #eee;
83
-    opacity: 1;
84
-}
85
-
86
-.footer {
87
-    border-top: 1px solid rgba(0, 0, 0, 0.125);
88
-}
89
-
90
-.hand,
91
-[jhisortby] {
92
-    cursor: pointer;
93
-}
94
-
95
-/* ==========================================================================
96
-Custom alerts for notification
97
-========================================================================== */
98
-.alerts {
99
-    .alert {
100
-        text-overflow: ellipsis;
101
-        pre {
102
-            background: none;
103
-            border: none;
104
-            font: inherit;
105
-            color: inherit;
106
-            padding: 0;
107
-            margin: 0;
108
-        }
109
-        .popover pre {
110
-            font-size: 10px;
111
-        }
112
-    }
113
-    .toast {
114
-        position: fixed;
115
-        width: 100%;
116
-        &.left {
117
-            left: 5px;
118
-        }
119
-        &.right {
120
-            right: 5px;
121
-        }
122
-        &.top {
123
-            top: 55px;
124
-        }
125
-        &.bottom {
126
-            bottom: 55px;
127
-        }
128
-    }
129
-}
130
-
131
-@media screen and (min-width: 480px) {
132
-    .alerts .toast {
133
-        width: 50%;
134
-    }
135
-}
136
-
137
-/* ==========================================================================
138
-entity tables helpers
139
-========================================================================== */
140
-
141
-/* Remove Bootstrap padding from the element
142
-http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
143
-@mixin no-padding($side) {
144
-    @if $side == 'all' {
145
-        .no-padding {
146
-            padding: 0 !important;
147
-        }
148
-    } @else {
149
-        .no-padding-#{$side} {
150
-            padding-#{$side}: 0 !important;
151
-        }
152
-    }
153
-}
154
-@include no-padding('left');
155
-@include no-padding('right');
156
-@include no-padding('top');
157
-@include no-padding('bottom');
158
-@include no-padding('all');
159
-
160
-/* bootstrap 3 input-group 100% width
161
-http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
162
-.width-min {
163
-    width: 1% !important;
164
-}
165
-
166
-/* Makes toolbar not wrap on smaller screens
167
-http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
168
-.flex-btn-group-container {
169
-    display: -webkit-flex;
170
-    display: flex;
171
-    -webkit-flex-direction: row;
172
-    flex-direction: row;
173
-    -webkit-justify-content: flex-end;
174
-    justify-content: flex-end;
175
-}
176
-
177
-/* ==========================================================================
178
-entity detail page css
179
-========================================================================== */
180
-.row.jh-entity-details > {
181
-    dd {
182
-        margin-bottom: 15px;
183
-    }
184
-}
185
-
186
-@media screen and (min-width: 768px) {
187
-    .row.jh-entity-details > {
188
-        dt {
189
-            margin-bottom: 15px;
190
-        }
191
-        dd {
192
-            border-bottom: 1px solid #eee;
193
-            padding-left: 180px;
194
-            margin-left: 0;
195
-        }
196
-    }
197
-}
198
-
199
-/* ==========================================================================
200
-ui bootstrap tweaks
201
-========================================================================== */
202
-.nav,
203
-.pagination,
204
-.carousel,
205
-.panel-title a {
206
-    cursor: pointer;
207
-}
208
-
209
-.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default,
210
-.uib-datepicker-popup > li > div.uib-datepicker > table .btn-default {
211
-    border: 0;
212
-}
213
-
214
-.datetime-picker-dropdown > li.date-picker-menu div > table:focus,
215
-.uib-datepicker-popup > li > div.uib-datepicker > table:focus {
216
-    outline: none;
217
-}
218
-
219
-.thread-dump-modal-lock {
220
-    max-width: 450px;
221
-    overflow: hidden;
222
-    text-overflow: ellipsis;
223
-    white-space: nowrap;
224
-}
225
-
226
-/* jhipster-needle-scss-add-main JHipster will add new css style */
1
+////@import 'bootstrap-variables';
2
+////@import "~bootstrap/dist/css/bootstrap.min.css";
3
+//
4
+///* ==============================================================
5
+//Bootstrap tweaks
6
+//===============================================================*/
7
+//
8
+//body,
9
+//h1,
10
+//h2,
11
+//h3,
12
+//h4 {
13
+//    font-weight: 300;
14
+//}
15
+//
16
+//a {
17
+//    color: #533f03;
18
+//    font-weight: bold;
19
+//}
20
+//
21
+//a:hover {
22
+//    color: #533f03;
23
+//    font-weight: bold;
24
+//    /* make sure browsers use the pointer cursor for anchors, even with no href */
25
+//    cursor: pointer;
26
+//}
27
+//
28
+///* ==========================================================================
29
+//Browser Upgrade Prompt
30
+//========================================================================== */
31
+//.browserupgrade {
32
+//    margin: 0.2em 0;
33
+//    background: #ccc;
34
+//    color: #000;
35
+//    padding: 0.2em 0;
36
+//}
37
+//
38
+///* ==========================================================================
39
+//Generic styles
40
+//========================================================================== */
41
+//
42
+///* Error highlight on input fields */
43
+//.ng-valid[required],
44
+//.ng-valid.required {
45
+//    border-left: 5px solid green;
46
+//}
47
+//
48
+//.ng-invalid:not(form) {
49
+//    border-left: 5px solid red;
50
+//}
51
+//
52
+///* other generic styles */
53
+//
54
+//.jh-card {
55
+//    padding: 1.5%;
56
+//    margin-top: 20px;
57
+//    border: none;
58
+//}
59
+//
60
+//.error {
61
+//    color: white;
62
+//    background-color: red;
63
+//}
64
+//
65
+//.pad {
66
+//    padding: 10px;
67
+//}
68
+//
69
+//.w-40 {
70
+//    width: 40% !important;
71
+//}
72
+//
73
+//.w-60 {
74
+//    width: 60% !important;
75
+//}
76
+//
77
+//.break {
78
+//    white-space: normal;
79
+//    word-break: break-all;
80
+//}
81
+//
82
+//.readonly {
83
+//    background-color: #eee;
84
+//    opacity: 1;
85
+//}
86
+//
87
+//.footer {
88
+//    border-top: 1px solid rgba(0, 0, 0, 0.125);
89
+//}
90
+//
91
+//.hand,
92
+//[jhisortby] {
93
+//    cursor: pointer;
94
+//}
95
+//
96
+///* ==========================================================================
97
+//Custom alerts for notification
98
+//========================================================================== */
99
+//.alerts {
100
+//    .alert {
101
+//        text-overflow: ellipsis;
102
+//        pre {
103
+//            background: none;
104
+//            border: none;
105
+//            font: inherit;
106
+//            color: inherit;
107
+//            padding: 0;
108
+//            margin: 0;
109
+//        }
110
+//        .popover pre {
111
+//            font-size: 10px;
112
+//        }
113
+//    }
114
+//    .toast {
115
+//        position: fixed;
116
+//        width: 100%;
117
+//        &.left {
118
+//            left: 5px;
119
+//        }
120
+//        &.right {
121
+//            right: 5px;
122
+//        }
123
+//        &.top {
124
+//            top: 55px;
125
+//        }
126
+//        &.bottom {
127
+//            bottom: 55px;
128
+//        }
129
+//    }
130
+//}
131
+//
132
+//@media screen and (min-width: 480px) {
133
+//    .alerts .toast {
134
+//        width: 50%;
135
+//    }
136
+//}
137
+//
138
+///* ==========================================================================
139
+//entity tables helpers
140
+//========================================================================== */
141
+//
142
+///* Remove Bootstrap padding from the element
143
+//http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
144
+//@mixin no-padding($side) {
145
+//    @if $side == 'all' {
146
+//        .no-padding {
147
+//            padding: 0 !important;
148
+//        }
149
+//    } @else {
150
+//        .no-padding-#{$side} {
151
+//            padding-#{$side}: 0 !important;
152
+//        }
153
+//    }
154
+//}
155
+//@include no-padding('left');
156
+//@include no-padding('right');
157
+//@include no-padding('top');
158
+//@include no-padding('bottom');
159
+//@include no-padding('all');
160
+//
161
+///* bootstrap 3 input-group 100% width
162
+//http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
163
+//.width-min {
164
+//    width: 1% !important;
165
+//}
166
+//
167
+///* Makes toolbar not wrap on smaller screens
168
+//http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
169
+//.flex-btn-group-container {
170
+//    display: -webkit-flex;
171
+//    display: flex;
172
+//    -webkit-flex-direction: row;
173
+//    flex-direction: row;
174
+//    -webkit-justify-content: flex-end;
175
+//    justify-content: flex-end;
176
+//}
177
+//
178
+///* ==========================================================================
179
+//entity detail page css
180
+//========================================================================== */
181
+//.row.jh-entity-details > {
182
+//    dd {
183
+//        margin-bottom: 15px;
184
+//    }
185
+//}
186
+//
187
+//@media screen and (min-width: 768px) {
188
+//    .row.jh-entity-details > {
189
+//        dt {
190
+//            margin-bottom: 15px;
191
+//        }
192
+//        dd {
193
+//            border-bottom: 1px solid #eee;
194
+//            padding-left: 180px;
195
+//            margin-left: 0;
196
+//        }
197
+//    }
198
+//}
199
+//
200
+///* ==========================================================================
201
+//ui bootstrap tweaks
202
+//========================================================================== */
203
+//.nav,
204
+//.pagination,
205
+//.carousel,
206
+//.panel-title a {
207
+//    cursor: pointer;
208
+//}
209
+//
210
+//.datetime-picker-dropdown > li.date-picker-menu div > table .btn-default,
211
+//.uib-datepicker-popup > li > div.uib-datepicker > table .btn-default {
212
+//    border: 0;
213
+//}
214
+//
215
+//.datetime-picker-dropdown > li.date-picker-menu div > table:focus,
216
+//.uib-datepicker-popup > li > div.uib-datepicker > table:focus {
217
+//    outline: none;
218
+//}
219
+//
220
+//.thread-dump-modal-lock {
221
+//    max-width: 450px;
222
+//    overflow: hidden;
223
+//    text-overflow: ellipsis;
224
+//    white-space: nowrap;
225
+//}
226
+//
227
+///* jhipster-needle-scss-add-main JHipster will add new css style */

+ 12
- 12
src/main/webapp/content/scss/vendor.scss Целия файл

@@ -1,12 +1,12 @@
1
-/* after changing this file run 'npm run webpack:build' */
2
-
3
-/***************************
4
-put Sass variables here:
5
-eg $input-color: red;
6
-****************************/
7
-// Override Boostrap variables
8
-@import 'bootstrap-variables';
9
-// Import Bootstrap source files from node_modules
10
-@import '~bootstrap/scss/bootstrap';
11
-
12
-/* jhipster-needle-scss-add-vendor JHipster will add new css style */
1
+///* after changing this file run 'npm run webpack:build' */
2
+//
3
+///***************************
4
+//put Sass variables here:
5
+//eg $input-color: red;
6
+//****************************/
7
+//// Override Boostrap variables
8
+//@import 'bootstrap-variables';
9
+//// Import Bootstrap source files from node_modules
10
+//@import '~bootstrap/scss/bootstrap';
11
+//
12
+///* jhipster-needle-scss-add-vendor JHipster will add new css style */

BIN
src/main/webapp/favicon.ico Целия файл


+ 1
- 1
src/main/webapp/index.html Целия файл

@@ -11,7 +11,7 @@
11 11
     <meta name="theme-color" content="#000000">
12 12
     <link rel="shortcut icon" href="favicon.ico" />
13 13
     <link rel="manifest" href="manifest.webapp" />
14
-    <link rel="stylesheet" href="content/css/loading.css">
14
+    <link rel="stylesheet" href="https://bootswatch.com/4/lux/bootstrap.min.css">
15 15
     <!-- jhipster-needle-add-resources-to-root - JHipster will add new resources here -->
16 16
 </head>
17 17
 <body>