- Settings come from widgets config
{
"settings" : [
{
"id" : 1,
"Name" : "Degree Type",
"options" : ["C","F","K"] ,
"description" : "What degree type you would want displayed in your weather widget",
"default" : "F"
Phantom installation failed { [Error: Command failed: tar jxf /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2 | |
tar (child): bzip2: Cannot exec: No such file or directory | |
tar (child): Error is not recoverable: exiting now | |
tar: Child returned status 2 | |
tar: Error is not recoverable: exiting now |
{
"settings" : [
{
"id" : 1,
"Name" : "Degree Type",
"options" : ["C","F","K"] ,
"description" : "What degree type you would want displayed in your weather widget",
"default" : "F"
{ | |
"report":[ | |
{ | |
"entitlement":"Comp Time Balance", | |
"balance":10.5, | |
"job":{ | |
"id":0, | |
"mailDrop":null, | |
"departmentName":"DOIT/ENTERPRISE/PCS", | |
"title":"IS TECH SRV SPECIALIST" |
We recently added some features to uPortal on master to make adding/removing apps using angularjs-portal work. Therefore to get a full experience we suggest using the latest jasig/master version of uPortal for this seminar. It may still work with your local fork, just not all the features will work. Alternatively you could cherry-pick the changes over from master.
This is the basic clone and verify it builds.
git clone [email protected]:UW-Madison-DoIT/angularjs-portal.git
cd angularjs-portal
[ | |
{ | |
"lastModified":{ | |
"year":2015, | |
"weekyear":2015, | |
"yearOfEra":2015, | |
"centuryOfEra":20, | |
"dayOfYear":96, | |
"dayOfMonth":6, | |
"dayOfWeek":1, |
{ | |
"nodeId":"u23l1n234", | |
"title":"/r/uwmadison", | |
"description":"The UW-Madison subreddit. We do not monitor this feed.", | |
"url":"https://www.reddit.com/r/uwmadison", | |
"iconUrl":null, | |
"faIcon":"fa-reddit", | |
"fname":"uwmadison-sub-reddit", | |
"target": "_blank", | |
"widgetURL": "/web/api/uwmadisonreddit.json", |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<portlet-definition xmlns="https://source.jasig.org/schemas/uportal/io/portlet-definition" xmlns:ns2="https://source.jasig.org/schemas/uportal" xmlns:ns3="https://source.jasig.org/schemas/uportal/io/portlet-type" xmlns:ns4="https://source.jasig.org/schemas/uportal/io/event-aggregation" xmlns:ns5="https://source.jasig.org/schemas/uportal/io/stylesheet-descriptor" xmlns:ns6="https://source.jasig.org/schemas/uportal/io/permission-owner" xmlns:ns7="https://source.jasig.org/schemas/uportal/io/subscribed-fragment" xmlns:ns8="https://source.jasig.org/schemas/uportal/io/user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.0" xsi:schemaLocation="https://source.jasig.org/schemas/uportal/io/portlet-definition https://source.jasig.org/schemas/uportal/io/portlet-definition/portlet-definition-4.0.xsd"> | |
<title>Reddit Feed</title> | |
<name>Reddit Feed</name> | |
<fname>my-subreddit</fname> | |
<desc>News feed portlet for reddit feed.</desc> | |
<t |
<div style='max-height : 210px; overflow-y: scroll' ng-init='lim=3'> | |
<loading-gif data-object='content' data-empty='isEmpty'></loading-gif> | |
<ul class='widget-list' style='padding : 0'> | |
<li ng-repeat='item in content.data.children | limitTo:lim'> | |
<a href='{{item.data.url}}' target='_blank'> | |
<p class='bold'>{{item.data.title}}<span class='right'>score: {{item.data.score}}</span></p> | |
<p>{{item.data.selftext}}</p> | |
</a> | |
</li> | |
<li class='center' ng-hide='content.data.children.length <= lim' ng-click='lim=lim+5'> |