mock-portal/src/main/webapp/api/layoutDoc
{
"layout":[
{
"nodeId":"ujnfkds6",
"title":"Rest-Proxy Report",
"description":"The report for your rest proxy",
"url":"/web/api/",
"iconUrl":null,
"faIcon":"fa-envelope",
"fname":"proxy-rest",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":"/web/api/report",
"widgetType":"generic",
"widgetTemplate":" <md-content flex layout-padding style='overflow-y: scroll; overflow-x: hidden; max-height: 228px;'> <md-list flex> <span ng-repeat=\"item in content\"> <md-subheader class='md-no-sticky'>{{item.key}}</md-subheader> <md-list-item ng-repeat=\"(code, dte) in item.lastResultMap\"> <strong>{{code}}</strong> : {{dte | date:'medium' }} </md-list-item> </span> </md-list> </md-content> ",
"widgetConfig":{
},
"staticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n6",
"title":"Email",
"description":"Access UW-Madison Office 365 email account",
"url":"/portal/f/u47l1s4/p/wisc-mail.u47l1n6/max/render.uP",
"iconUrl":null,
"faIcon":"fa-envelope",
"fname":"wisc-mail",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":"/web/staticFeeds/wiscmail-accounts.json",
"widgetType":"option-link",
"widgetTemplate":null,
"widgetConfig":{
"value":"uri",
"display":"email",
"arrayName":"linked",
"singleElement":true
},
"staticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n28",
"title":"Manager Time and Approval",
"description":"Review and approve timesheets and absence requests from your direct reports, for managers or supervisors with a time approval role.",
"url":"/portal/f/u47l1s4/normal/render.uP",
"iconUrl":null,
"faIcon":"fa-thumbs-up",
"fname":"HRSManagerTimeApproval",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":null,
"widgetType":"list-of-links",
"widgetTemplate":null,
"widgetConfig":{
"launchText":"See all approval options",
"additionalText":"FOR MANAGERS ONLY",
"links":[
{
"title":"Approve Time",
"href":"https://uat.ps.wisconsin.edu/psp/hrqa-fd/EMPLOYEE/HRMS/c/ROLE_MANAGER.TL_SRCH_APPRV_GRP.GBL",
"icon":"fa-clock-o",
"target":"_blank"
},
{
"title":"Approve Absence",
"href":"https://uat.ps.wisconsin.edu/psp/hrqa-fd/EMPLOYEE/HRMS/c/ROLE_MANAGER.GP_SS_ABS_APPR_L.GBL",
"icon":"fa-bed",
"target":"_blank"
}
]
},
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n9",
"title":"Payroll Information",
"description":"View earnings and tax statements, and update tax information and direct deposit.",
"url":"/portal/f/u47l1s4/normal/render.uP",
"iconUrl":null,
"faIcon":"fa-money",
"fname":"earnings-statement",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":"/portal/p/earnings-statement/max/earningStatements.resource.uP",
"widgetType":"generic",
"widgetTemplate":"\n <div style='margin : 0 10px 0 10px;'>\n <loading-gif data-object='content' data-empty='isEmpty'></loading-gif>\n <ul class='widget-list'><li ng-repeat='item in content.report |orderBy: [\"-paid.substring(6)\",\"-paid.substring(0,2)\",\"-paid.substring(3,5)\"] | limitTo:3' class='center'><a href='/portal/p/earnings-statement/max/earning_statement.pdf.resource.uP?pP_docId={{item.docId}}' target='_blank'> {{item.paid}}Earnings Statement</a></li></ul>\n <div ng-if='isEmpty' style='padding: 10px; font-size: 14px;'><i class='fa fa-exclamation-triangle fa-3x pull-left' style='color: #b70101;'></i><span style='color: #898989;'>We had a problem finding your statements (or you don't have any).</span></div>\n <div style='background-color: #EAEAEA; border-radius:4px;padding:10px; margin-top:10px;'>\n <span class='bold display-block left' style='text-align: left; padding-left: 10px; font-size: 14px;'>Launch payroll to find::</span> \n <ul style='text-align: left;list-style-type: disc; font-size: 12px;'>\n <li>Earnings statements</li>\n <li>Tax statements (W-2, 1095-C, etc.)</li>\n <li>W-4 and direct deposit forms</li>\n </ul>\n </div>\n </div>\n <a class='btn btn-default launch-app-button' href='/portal/p/earnings-statement'>See all payroll information</a>\n ",
"widgetConfig":{
"evalString":"!$scope.content.report || $scope.content.report.length === 0"
},
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n12",
"title":"Student Center",
"description":"Access Student Center to view and update admissions, financial aid, course, enrollment, tuition, and grades information.",
"url":"/portal/p/student-center/max/action.uP?pP_action=loginAction",
"iconUrl":null,
"faIcon":"fa-group",
"fname":"student-center",
"lifecycleState":"PUBLISHED",
"target":"_blank",
"widgetURL":null,
"widgetType":null,
"widgetTemplate":null,
"widgetConfig":null,
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":true,
"renderOnWeb":false
},
{
"nodeId":"u47l1n15",
"title":"Course Guide",
"description":"Find courses by title, college, department, school, or instructor.",
"url":"/portal/f/u47l1s4/normal/render.uP",
"iconUrl":null,
"faIcon":"fa-compass",
"fname":"CourseGuide-Browse-Courses",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":null,
"widgetType":"generic",
"widgetTemplate":"\n <div>\n <div class='display-block center' style='max-width: 95%; margin: auto;'>\n <form class='form-inline' action='/portal/p/CourseGuide-Browse-Courses/detached/action.uP?pCm=view&pP_action=advancedSearch' method='post' target='_blank'>\n <div class='input-group'> <input type='text' class='form-control' id='keywordSearch' name='keywordSearch' placeholder='Search for courses'> <span class='input-group-btn'> <button type='submit' class='btn btn-primary' style='margin: 0;'><i class='fa fa-search hidden-xs'></i><span class='visible-xs'>Search</span></button> </span> </div>\n </form>\n <div style='background-color: #EAEAEA; border-radius:4px;padding:10px; margin-top:10px;'>\n <span class='bold display-block left' style='text-align: left; padding-left: 10px; font-size: 14px;'>Use My Course Guide for more options:</span> \n <ul style='text-align: left;list-style-type: disc; font-size: 12px;'>\n <li>Search by term</li>\n <li>Search by instructor</li>\n <li>Browse by subject</li>\n <li>Plan your degree</li>\n </ul>\n </div>\n </div>\n <a class='btn btn-default launch-app-button ng-scope' href='/portal/p/CourseGuide-Browse-Courses/detached/action.uP?pCm=view&pP_action=advancedSearch' target='_blank'>Go to my course guide</a>\n </div>\n ",
"widgetConfig":null,
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n19",
"title":"Course Services",
"description":"Access services including Learn@UW, email class list requests, Registrar's Office forms, Teaching and Learning Excellence, and more.",
"url":"/portal/f/u47l1s4/p/course-services.u47l1n19/max/render.uP",
"iconUrl":null,
"faIcon":"fa-list-ul",
"fname":"course-services",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":null,
"widgetType":"list-of-links",
"widgetTemplate":null,
"widgetConfig":{
"launchText":"See all course services",
"links":[
{
"title":"Learn@UW",
"href":"https://wwwtest.coursedashboard.learnuw.wisc.edu/",
"icon":"fa-at",
"target":"_blank"
},
{
"title":"Classlist",
"href":"https://admin.lists.wisc.edu/classlists",
"icon":"fa-envelope-o",
"target":"_blank"
},
{
"title":"Classroom Scheduling",
"href":"http://www.registrar.wisc.edu/classroom_scheduling.htm",
"icon":"fa-calendar",
"target":"_blank"
},
{
"title":"Grading Policy",
"href":"https://registrar.wisc.edu/Grades_and_Grading_%20Policy.htm",
"icon":"fa-pencil",
"target":"_blank"
}
]
},
"staticContent":"\n<div data-role='content'>\n<ul data-role='listview'>\n<li><a href='https://admin.lists.wisc.edu/classlists' target='_blank'>Manage EMAIL CLASS LISTS (Classlist Module)</a></li>\n<li><a href='http://www.registrar.wisc.edu/classroom_scheduling.htm' target='_blank'>Classroom scheduling</a></li>\n<li><a href='http://registrar.wisc.edu/grades_and_grading_policy.htm' target='_blank'>Grades and grading policy</a></li>\n<li><a href='http://www.doit.wisc.edu/learnatuw/' target='_blank'>Learn about Learn@UW</a>\n<img src=\"/static/transparent.gif\" valign=\"bottom\" border=\"0\" height=\"30\" width=\"1\"></li>\n<li><a href='http://www.library.wisc.edu/inst-services' target='_blank'>Library Instructional Services for Faculty</a></li>\n<li><a href='http://registrar.wisc.edu/faculty_staff_forms.htm' target='_blank'>Registrar's Office Faculty/Staff Forms</a></li>\n<li><a href='http://registrar.wisc.edu/documents/Official_Programs_of_Study.pdf' target='_blank'>Academic programs listing</a><img src=\"/static/transparent.gif\" valign=\"bottom\" border=\"0\" height=\"30\" width=\"1\"></li>\n<li><a href='https://tle.wisc.edu/' target='_blank'>Teaching and Learning Excellence@UW-Madison</a></li>\n<li><a href='http://registrar.wisc.edu/curricular_toolkit.htm' target='_blank'>Curricular Toolkit</a></li>\n<li><a href='http://learnuw.wisc.edu/' target='_blank'>LEARN@UW COURSES</a><img src=\"/static/transparent.gif\" valign=\"bottom\" border=\"0\" height=\"30\" width=\"1\"></li>\n\n</ul>\n</div> \n\n",
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n25",
"title":"Learn@UW",
"description":"Access your Learn@UW account.",
"url":"https://wwwtest.coursedashboard.learnuw.wisc.edu/",
"iconUrl":null,
"faIcon":"fa-at",
"fname":"learn-at-uw",
"lifecycleState":"PUBLISHED",
"target":"_blank",
"widgetURL":null,
"widgetType":null,
"widgetTemplate":null,
"widgetConfig": {
"launchText" : "Free Your Mind"
},
"staticContent":"\n \n Click <a href=\"https://wwwtest.coursedashboard.learnuw.wisc.edu/\">here</a> to access Learn@UW.\n \n\t\t",
"pithyStaticContent":null,
"altMaxUrl":true,
"renderOnWeb":false
},
{
"nodeId":"u47l1n26",
"title":"My Courses",
"description":"View your current courses and class schedule, and see each course's library materials and online resources, location, time, and contacts. ",
"url":"/portal/f/u47l1s4/normal/render.uP",
"iconUrl":null,
"faIcon":"fa-pencil",
"fname":"MyCourses",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":"/portal/p/MyCourses/max/jsonCurrentClassSchedule.resource.uP",
"widgetType":"generic",
"widgetTemplate":"\n <div sytle='width:100%'>\n <ul class='widget-list'>\n <li ng-if='!isEmpty' ng-repeat='item in content.currentTermCourses.courses | limitTo:5'>\n <a href='/portal/p/MyCourses?pP_{{item.courseAdditionalInfos[0].key}}={{item.courseAdditionalInfos[0].value}}&pP_action=showCourse&pP_courseId={{item.id}}&pP_subjectCode={{item.courseDepartment.code}}&pP_catalogNbr={{item.code}}&pP_termCode={{content.currentTermCourses.termCode}}'>\n <p class='bold'>{{item.title | truncate:36}}</p>\n <p>{{item.courseDepartment.name}} {{item.code}}</p>\n </a>\n </li>\n </ul>\n <div style='font-size: 14px; height: 200px; display: table;' ng-if='!content || !content.currentTermCourses.courses || isEmpty' class='container-fluid'>\n <div style='display:table-cell; vertical-align:middle;''>\n <loading-gif data-object='content' data-empty='isEmpty' class='center'></loading-gif>\n <div ng-if='isEmpty'> <i class='fa fa-exclamation-triangle fa-3x pull-left' style='color: #b70101;'></i> <span style='color: #898989;'>We had a problem finding your courses. <a href='/web/#/static/myuw-help'>Get help</a>.</span> </div>\n <div ng-if='!content.currentTermCourses.courses.length && !isEmpty' text-align:center' class='row'>\n <div class='col-xs-12' style='text-align:center;'> <span>You don't have any </br>courses right now.</span> </div>\n </div>\n </div>\n </div>\n </div>\n <a class='btn btn-default launch-app-button ng-scope' href='/portal/p/MyCourses'>See all my courses</a>\n ",
"widgetConfig":null,
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n29",
"title":"New Hire NetID Activation",
"description":"Enter basic NetID eligibility information for new employees who do not yet have an appointment/job in the HR system. This action generates a NetID Activation Key to be used by the new employee to activate his/her NetID.",
"url":"/portal/f/u47l1s4/p/new-hire-netid-activation.u47l1n29/max/render.uP",
"iconUrl":null,
"faIcon":"fa-sign-in",
"fname":"new-hire-netid-activation",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":null,
"widgetType":null,
"widgetTemplate":null,
"widgetConfig":null,
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"u47l1n30",
"title":"Benefit Information",
"description":"Summary information about your current benefit enrollments and links to your WRS Statement of Benefits.",
"url":"/portal/f/u47l1s4/normal/render.uP",
"iconUrl":null,
"faIcon":"fa-umbrella",
"fname":"university-staff-benefits-statement",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":null,
"widgetType":null,
"widgetTemplate":"\n <style>\n\t.benefit-info h5 {\n\t\tfont-weight:600;\n\t\tmargin:0;\n\t\tpadding:3px 0px;\n\t\tfont-size:1.1em;\n\t}\n\t.benefit-info .top-h5 {\n\t\tmargin-top:50px;\n\t}\n\t.benefit-info p {\n\t\tmargin:0px 0px 20px 0px;\n\t\tpadding:0;\n\t}\n\t.benefit-info .duringCountdown {\n\t\tcolor:#b70101;\n\t}\n\t.benefit-info .lastDay {\n\t\tcolor: #b70101;\n\t\tfont-size:1.1em;\n\t}\n</style>\n<script type=\"text/javascript\">\n $(document).ready(function() {\n var goLive = new Date(\"10/30/2015\");\n var countdownLength = 26;\n \n $('.duringCountdown').hide();\n\t\t\t$('.afterCountdown').hide();\n\t\t\t$('.paragraphAfterCountdown').hide();\n\t\t\t$('.lastDay').hide();\n\t\t\t\n var today = new Date();\n\t\t\tvar todayParsed = Date.parse(today);\n var countdownStart = new Date();\n countdownStart.setMonth(goLive.getMonth());\n countdownStart.setFullYear(goLive.getFullYear());\n countdownStart.setDate(goLive.getDate() - countdownLength);\n var daysLeft = Math.ceil((Date.parse(goLive) - todayParsed) / (1000 * 60 * 60 * 24));\n $('#days-left').text(daysLeft);\n if (todayParsed <= Date.parse(goLive) && todayParsed >= Date.parse(countdownStart)) {\n $('.duringCountdown').show();\n $('.beforeCountdown').hide();\n\t\t\t\tif (goLive.getDate() === today.getDate()) {\n\t\t\t\t\t$('.duringCountdown').hide();\n\t\t\t\t\t$('.lastDay').show();\n\t\t\t\t}\n }\n\t\t\t\n\t\t\tif (today > Date.parse(goLive)) {\n $('.afterCountdown').show();\n\t\t\t\t$('.paragraphAfterCountdown').show();\n\t\t\t\t$('.beforeCountdown').hide();\n $('.duringCountdown').hide();\n\t\t\t\t$('.getStarted').hide();\n }\n });\n \n</script>\n<div>\n <div class='widget-body benefit-info'>\n <div class=\"row\">\n\t\t\t<div class=\"col-xs-12 center\">\n\t\t\t\t<h5 class=\"top-h5\">Annual Benefits Enrollment</h5>\n\t\t\t\t<h5 class=\"beforeCountdown\">Begins October 5</h5>\n\t\t\t\t<h5 class=\"duringCountdown\"><span id=\"days-left\"></span> days left</h5>\n\t\t\t\t<h5 class=\"lastDay\">Today is the last day to<br>change benefits</h5>\n\t\t\t\t<h5 class=\"afterCountdown\">Ended October 30</h5>\n\t\t\t\t<p class=\"getStarted\">Get started at the <a href=\"https://www.ohr.wisc.edu/benefits2016/\" target=\"_blank\">OHR website</a></p>\n\t\t\t\t<p class=\"paragraphAfterCountdown\">Please take the <a href=\"http://uwsystemadmin.co1.qualtrics.com/jfe/form/SV_23sLr9HHnQrPwxf\" target=\"_blank\">employee survey</a></p>\n\t\t\t</div>\n\t\t</div>\n\t\t<!-- <div class='row'>\n\t\t\t <div class='col-xs-5 col-xs-offset-1 icon-button-div'>\n\t\t\t\t\t<div class='btn btn-primary rounded icon-button'><a href='/portal/p/university-staff-benefits-statement/max/render.uP?pP_tab=statements' target='_blank'><i class='fa fa-files-o'></i></a></div>\n\t\t\t\t\t<p>Statements</p>\n\t\t\t </div>\n\t\t\t <div class='col-xs-5 icon-button-div'>\n\t\t\t\t\t<div class='btn btn-primary rounded icon-button'><a href='/portal/p/university-staff-benefits-statement/max/render.uP?pP_tab=dependents' target='_blank'><i class='fa fa-child'></i></a></div>\n\t\t\t\t\t<p>Dependents</p>\n\t\t\t </div>\n\t\t</div> -->\n </div>\n <a class='btn btn-default launch-app-button' href='{{::portlet.url}}' target='{{::portlet.target}}'>Go to benefit information</a>\n</div>\n\n ",
"widgetConfig":null,
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"n53",
"title":"UW Badger News",
"description":"UW Badger News",
"url":"/portal/f/u47l1s4/normal/render.uP",
"iconUrl":null,
"faIcon":"fa-newspaper-o",
"fname":"badger-news",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":"http://www.uwbadgers.com/rss.aspx",
"widgetType":"rss",
"widgetTemplate":null,
"widgetConfig":{
"lim":5
},
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":false
},
{
"nodeId":"n55",
"title":"Feedback",
"description":"Submit feedback on MyUW-Madison.",
"url":"/portal/f/u47l1s4/p/feedback.n55/max/render.uP",
"iconUrl":null,
"faIcon":"fa-bullhorn",
"fname":"feedback",
"lifecycleState":"PUBLISHED",
"target":null,
"widgetURL":null,
"widgetType":null,
"widgetTemplate":null,
"widgetConfig":null,
"staticContent":null,
"pithyStaticContent":null,
"altMaxUrl":false,
"renderOnWeb":true
}
]
}