Skip to content

Commit

Permalink
[Edit] Layout.controller.js / admin.sidebar.html and sidebar.html (#56)
Browse files Browse the repository at this point in the history
* [Edit] Main.html

Disabled modify, delete button.

* [Edit] Layout.controller.js / admin.sidebar.html and sidebar.html

Disable some buttons on sidebar
Add link on home button (to main page)
  • Loading branch information
mjk0618 authored and pec9399 committed Jun 7, 2018
1 parent 19a66c3 commit 72b7d78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/app/layout/layout.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
link: 'notice',
title: '공지사항',
icon: 'announcement'
}, {
}, /*{
link: 'subject_manage',
title: '과목',
icon: 'assignment'
Expand All @@ -40,18 +40,18 @@
link: 'approveList',
title: '최종 확정 내역',
icon: 'dns'
}, {
}, */{
link: '/admin/users',
title: '사용자 관리',
icon: 'face'
}, {
link: '/admin/project',
title: '프로젝트 관리',
icon: 'event'
}, {
}, /*{
link: 'system',
title: '시스템',
icon: 'data_usage'
}];
}*/];
}
}());
3 changes: 3 additions & 0 deletions src/app/layout/sidebar/admin.sidebar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!-- Font Awesome -->
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<!-- Bootstrap -->
<link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css">

<body class="nav-md">
<div class="container body">
Expand Down
6 changes: 4 additions & 2 deletions src/app/layout/sidebar/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!-- Font Awesome -->
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />


<body class="nav-md" ng-controller="LayoutController as layout">
<div class="container body">
<div class="main_container">
Expand All @@ -19,7 +21,7 @@

<div class="profile_info">
<span>Welcome,</span>
<h2>John Doe</h2>
<h2>{{data.u_name}}</h2>
</div>
</div>
<!-- /menu profile quick info -->
Expand All @@ -30,7 +32,7 @@ <h2>John Doe</h2>
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<ul class="nav side-menu">
<li><a><i class="fa fa-home"></i> Home <span class="fa"></span></a></li>
<li><a href="/main"><i class="fa fa-home"></i> Home <span class="fa"></span></a></li>
<li ng-click="layout.change()"><a><i class="fa fa-table"></i> Projects <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu" ng-style="{'display' : layout.act}">
<li ng-repeat="i in layout.admin"><a href="{{i.link}}">{{i.title}}</a></li>
Expand Down

0 comments on commit 72b7d78

Please sign in to comment.