Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
course-search-enroll-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Scott Berg
course-search-enroll-fe
Commits
1c52da37
Commit
1c52da37
authored
6 years ago
by
Isaac Evavold
Browse files
Options
Downloads
Patches
Plain Diff
add degree plan settings menu
parent
838cba4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/degree-planner/degree-planner.component.html
+8
-4
8 additions, 4 deletions
src/app/degree-planner/degree-planner.component.html
src/app/degree-planner/degree-planner.component.ts
+15
-0
15 additions, 0 deletions
src/app/degree-planner/degree-planner.component.ts
with
23 additions
and
4 deletions
src/app/degree-planner/degree-planner.component.html
+
8
−
4
View file @
1c52da37
...
...
@@ -27,11 +27,15 @@
</mat-option>
</mat-select>
</mat-form-field>
<button
mat-button
class=
"btn-primary"
>
Check Plan (DARS)
</button>
<button
id=
"menu-toggle-btn"
mat-button
(click)=
"rightMenu.toggle()"
>
<i
*ngIf=
"rightMenu.opened"
class=
"material-icons"
>
chevron_right
</i>
<i
*ngIf=
"!rightMenu.opened"
class=
"material-icons"
>
chevron_left
</i>
<button
mat-icon-button
[matMenuTriggerFor]=
"degreePlanMenu"
>
<mat-icon>
settings
</mat-icon>
</button>
<mat-menu
#degreePlanMenu
="
matMenu
"
>
<button
mat-menu-item
(click)=
"onRenamePlanClick()"
>
Rename plan
</button>
<button
mat-menu-item
(click)=
"onPrintPlanClick()"
>
Print plan
</button>
<button
mat-menu-item
(click)=
"onSharePlanClick()"
>
Share plan
</button>
</mat-menu>
</div>
<div
fxLayout=
"column"
fxLayoutGap=
"20px"
fxLayoutAlign=
"start stretch"
style=
"margin: 24px"
>
...
...
This diff is collapsed.
Click to expand it.
src/app/degree-planner/degree-planner.component.ts
+
15
−
0
View file @
1c52da37
...
...
@@ -63,6 +63,21 @@ export class DegreePlannerComponent implements OnInit {
}
}
public
onRenamePlanClick
()
{
// TODO
console
.
log
(
'
onRenamePlanClick
'
);
}
public
onPrintPlanClick
()
{
// TODO
console
.
log
(
'
onPrintPlanClick
'
);
}
public
onSharePlanClick
()
{
// TODO
console
.
log
(
'
onSharePlanClick
'
);
}
public
getTermDropZone
()
{
const
termCodes
=
[
'
favoriteCourse-dropZone
'
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment