浏览代码

sideMenuTweak

jpsp91 6 年前
父节点
当前提交
2fd4d7a984

+ 1
- 1
.sourcemaps/main.js.map
文件差异内容过多而无法显示
查看文件


+ 9
- 1
src/app/app.html 查看文件

@@ -20,16 +20,21 @@
20 20
       <ion-list-header>
21 21
           <h2>Channels</h2>
22 22
         </ion-list-header>
23
+
23 24
         <!-- <ion-item (click)="openPage(ChannelPage)">General Channel</ion-item> -->
24 25
         <ion-item menuClose (click)="openChannelPage()">General Channel</ion-item>
25 26
 
26 27
         <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>+ New Channel</button>
27 28
         
28
-        <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>View All Channel</button>
29
+        <button menuClose ion-button color="light" type="button"(click)="openPage()" round>
30
+          <div><ion-icon name="eye" style="padding-right: 5px;"></ion-icon>  </div> 
31
+          View All Channel
32
+        </button>
29 33
 
30 34
         <ion-list-header>
31 35
             Direct messages
32 36
           </ion-list-header>
37
+
33 38
           <ion-item (click)="openPage(ChannelPage)">nmaidanos</ion-item>
34 39
           <ion-item (click)="openPage(ChannelPage)">Small_Wrld</ion-item>
35 40
 
@@ -44,6 +49,9 @@
44 49
 
45 50
           </ion-footer>
46 51
 
52
+
53
+
54
+          
47 55
     </ion-list>
48 56
 
49 57
 

+ 2
- 0
src/app/app.scss 查看文件

@@ -16,3 +16,5 @@
16 16
 // To declare rules for a specific mode, create a child rule
17 17
 // for the .md, .ios, or .wp mode classes. The mode class is
18 18
 // automatically applied to the <body> element in the app.
19
+//this removes the scroll bar on the side
20
+

+ 1
- 0
src/pages/channel/channel.scss 查看文件

@@ -6,6 +6,7 @@ page-channel {
6 6
 
7 7
 }
8 8
 ion-footer {
9
+    position:relative;
9 10
     box-shadow: 0 0 4px rgba(0, 0, 0, 0.11);
10 11
     background-color: #fff;
11 12
   }

+ 1
- 5
src/pages/channel/channel.ts 查看文件

@@ -35,6 +35,7 @@ export class ChannelPage {
35 35
     return this.currentChannel.id;
36 36
   }
37 37
   
38
+
38 39
   constructor(public navCtrl: NavController, public navParams: NavParams, 
39 40
     private alertController: AlertController,
40 41
     private messageProvider: MessageProvider,
@@ -122,11 +123,6 @@ export class ChannelPage {
122 123
 
123 124
 
124 125
 
125
-
126
-
127
-
128
-
129
-
130 126
 }
131 127
 
132 128
 

+ 1
- 0
www/build/main.css 查看文件

@@ -25679,6 +25679,7 @@ ion-navbar.toolbar {
25679 25679
 }
25680 25680
 
25681 25681
 ion-footer {
25682
+  position: relative;
25682 25683
   -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.11);
25683 25684
   box-shadow: 0 0 4px rgba(0, 0, 0, 0.11);
25684 25685
   background-color: #fff;

+ 1
- 1
www/build/main.js 查看文件

@@ -612,7 +612,7 @@ var MyApp = /** @class */ (function () {
612 612
         __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* Nav */])
613 613
     ], MyApp.prototype, "nav", void 0);
614 614
     MyApp = __decorate([
615
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/'<ion-menu [content]="content">\n\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Zip-Slack</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n\n      \n\n      <button menuClose ion-item *ngFor="" (click)="openPage(p)">\n        \n      </button>\n\n      \n\n      <ion-list-header>\n          <h2>Channels</h2>\n        </ion-list-header>\n        <!-- <ion-item (click)="openPage(ChannelPage)">General Channel</ion-item> -->\n        <ion-item menuClose (click)="openChannelPage()">General Channel</ion-item>\n\n        <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>+ New Channel</button>\n        \n        <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>View All Channel</button>\n\n        <ion-list-header>\n            Direct messages\n          </ion-list-header>\n          <ion-item (click)="openPage(ChannelPage)">nmaidanos</ion-item>\n          <ion-item (click)="openPage(ChannelPage)">Small_Wrld</ion-item>\n\n          <button ion-button color="light" type="button" (click)="openPage(Channel)">+ New Direcet Message</button>\n          \n\n\n\n          <ion-footer text-center>\n\n              <button menuClose ion-button color="danger" type="submit" (click)="backToLoginPage()" round>Logout</button>\n\n          </ion-footer>\n\n    </ion-list>\n\n\n\n\n\n\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/
615
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/'<ion-menu [content]="content">\n\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Zip-Slack</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n\n      \n\n      <button menuClose ion-item *ngFor="" (click)="openPage(p)">\n        \n      </button>\n\n      \n\n      <ion-list-header>\n          <h2>Channels</h2>\n        </ion-list-header>\n\n        <!-- <ion-item (click)="openPage(ChannelPage)">General Channel</ion-item> -->\n        <ion-item menuClose (click)="openChannelPage()">General Channel</ion-item>\n\n        <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>+ New Channel</button>\n        \n        <button menuClose ion-button color="light" type="button"(click)="openPage()" round>\n          <div><ion-icon name="eye" style="padding-right: 5px;"></ion-icon>  </div> \n          View All Channel\n        </button>\n\n        <ion-list-header>\n            Direct messages\n          </ion-list-header>\n\n          <ion-item (click)="openPage(ChannelPage)">nmaidanos</ion-item>\n          <ion-item (click)="openPage(ChannelPage)">Small_Wrld</ion-item>\n\n          <button ion-button color="light" type="button" (click)="openPage(Channel)">+ New Direcet Message</button>\n          \n\n\n\n          <ion-footer text-center>\n\n              <button menuClose ion-button color="danger" type="submit" (click)="backToLoginPage()" round>Logout</button>\n\n          </ion-footer>\n\n\n\n          \n    </ion-list>\n\n\n\n\n\n\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/
616 616
         }),
617 617
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["i" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
618 618
     ], MyApp);

+ 1
- 1
www/build/main.js.map
文件差异内容过多而无法显示
查看文件


+ 1
- 1
www/build/vendor.js.map
文件差异内容过多而无法显示
查看文件