From ac379a46b8ca8c29dd2b8ad01a0fdde7eecc19fb Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Mon, 18 Nov 2013 16:04:41 -0500 Subject: [PATCH 01/10] Update README.md Adding links to jira and confluence. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a7c2b7..ad3c478 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ Photon-Admin The Photon-Admin is a web-application that used to help manage and publish content for the Rapid MMWR iPhone app (Photon) -Issue tracker is available: TBD +Issue tracker is available: http://code.phiresearchlab.org/jira/browse/PHOT +Project wiki is available: http://code.phiresearchlab.org/confluence/pages/viewpage.action?pageId=8945672 ## Goals To develop an JQuery app that allows easy publishing of content from MMWR Weekly to be consumed by the Photon app. @@ -12,7 +13,7 @@ To develop an JQuery app that allows easy publishing of content from MMWR Weekly * JQuery 2.03 compatible browser (Internet Explorer 9+, Firefox, Opera, Chrome) ## Roadmap -* Active development, 4 week iterations +* Active development, 1 week iterations ## Contributing Anyone is encouraged to contribute to the project by [forking](https://help.github.com/articles/fork-a-repo) and submitting a pull request. (If you are new to GitHub, you might start with a [basic tutorial](https://help.github.com/articles/set-up-git).) From e1c16ee870babba6c2ea86bc53e05bfbaff895af Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Mon, 18 Nov 2013 16:06:20 -0500 Subject: [PATCH 02/10] Update README.md Fixing layout so it looks better. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ad3c478..65ea8fe 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,9 @@ Photon-Admin The Photon-Admin is a web-application that used to help manage and publish content for the Rapid MMWR iPhone app (Photon) -Issue tracker is available: http://code.phiresearchlab.org/jira/browse/PHOT -Project wiki is available: http://code.phiresearchlab.org/confluence/pages/viewpage.action?pageId=8945672 +Issue tracker is available through [Lab Jira](http://code.phiresearchlab.org/jira/browse/PHOT) + +Project wiki is available through [Lab Confluence](http://code.phiresearchlab.org/confluence/pages/viewpage.action?pageId=8945672) ## Goals To develop an JQuery app that allows easy publishing of content from MMWR Weekly to be consumed by the Photon app. From 836dbb7fbb61fd5ad44cb765232fea5aa7eb0eab Mon Sep 17 00:00:00 2001 From: pwhitebe Date: Tue, 19 Nov 2013 16:21:33 -0500 Subject: [PATCH 03/10] Active fancy keyword addition added several libraries alongise examplesEdit which shows a version of the blob-builder class with a fancy subject addition field --- css/jquery.tagit.css | 69 + css/tagit.ui-zendesk.css | 98 + examplesEdit.html | 90 + jquery-ui.js | 15003 +++++++++++++++++++++++++++++++++++++ jquery.tagedit.css | 47 + jquery.tagedit.js | 506 ++ js/tag-it.js | 591 ++ js/tag-it.min.js | 17 + 8 files changed, 16421 insertions(+) create mode 100755 css/jquery.tagit.css create mode 100755 css/tagit.ui-zendesk.css create mode 100644 examplesEdit.html create mode 100644 jquery-ui.js create mode 100644 jquery.tagedit.css create mode 100644 jquery.tagedit.js create mode 100755 js/tag-it.js create mode 100755 js/tag-it.min.js diff --git a/css/jquery.tagit.css b/css/jquery.tagit.css new file mode 100755 index 0000000..f18650d --- /dev/null +++ b/css/jquery.tagit.css @@ -0,0 +1,69 @@ +ul.tagit { + padding: 1px 5px; + overflow: auto; + margin-left: inherit; /* usually we don't want the regular ul margins. */ + margin-right: inherit; +} +ul.tagit li { + display: block; + float: left; + margin: 2px 5px 2px 0; +} +ul.tagit li.tagit-choice { + position: relative; + line-height: inherit; +} +input.tagit-hidden-field { + display: none; +} +ul.tagit li.tagit-choice-read-only { + padding: .2em .5em .2em .5em; +} + +ul.tagit li.tagit-choice-editable { + padding: .2em 18px .2em .5em; +} + +ul.tagit li.tagit-new { + padding: .25em 4px .25em 0; +} + +ul.tagit li.tagit-choice a.tagit-label { + cursor: pointer; + text-decoration: none; +} +ul.tagit li.tagit-choice .tagit-close { + cursor: pointer; + position: absolute; + right: .1em; + top: 50%; + margin-top: -8px; + line-height: 17px; +} + +/* used for some custom themes that don't need image icons */ +ul.tagit li.tagit-choice .tagit-close .text-icon { + display: none; +} + +ul.tagit li.tagit-choice input { + display: block; + float: left; + margin: 2px 5px 2px 0; +} +ul.tagit input[type="text"] { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + + border: none; + margin: 0; + padding: 0; + width: inherit; + background-color: inherit; + outline: none; +} diff --git a/css/tagit.ui-zendesk.css b/css/tagit.ui-zendesk.css new file mode 100755 index 0000000..b91181b --- /dev/null +++ b/css/tagit.ui-zendesk.css @@ -0,0 +1,98 @@ + +/* Optional scoped theme for tag-it which mimics the zendesk widget. */ + + +ul.tagit { + border-style: solid; + border-width: 1px; + border-color: #C6C6C6; + background: inherit; +} +ul.tagit li.tagit-choice { + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-border-radius: 6px; + border: 1px solid #CAD8F3; + + background: none; + background-color: #DEE7F8; + + font-weight: normal; +} +ul.tagit li.tagit-choice .tagit-label:not(a) { + color: #555; +} +ul.tagit li.tagit-choice a.tagit-close { + text-decoration: none; +} +ul.tagit li.tagit-choice .tagit-close { + right: .4em; +} +ul.tagit li.tagit-choice .ui-icon { + display: none; +} +ul.tagit li.tagit-choice .tagit-close .text-icon { + display: inline; + font-family: arial, sans-serif; + font-size: 16px; + line-height: 16px; + color: #777; +} +ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove { + background-color: #bbcef1; + border-color: #6d95e0; +} +ul.tagit li.tagit-choice a.tagLabel:hover, +ul.tagit li.tagit-choice a.tagit-close .text-icon:hover { + color: #222; +} +ul.tagit input[type="text"] { + color: #333333; + background: none; +} +.ui-widget { + font-size: 1.1em; +} + +/* Forked from a jQuery UI theme, so that we don't require the jQuery UI CSS as a dependency. */ +.tagit-autocomplete.ui-autocomplete { position: absolute; cursor: default; } +* html .tagit-autocomplete.ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ +.tagit-autocomplete.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; + float: left; +} +.tagit-autocomplete.ui-menu .ui-menu { + margin-top: -3px; +} +.tagit-autocomplete.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.tagit-autocomplete.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover, +.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +.tagit-autocomplete.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff 50% 50% repeat-x; color: #222222; } +.tagit-autocomplete.ui-corner-all, .tagit-autocomplete .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; } +.tagit-autocomplete .ui-state-hover, .tagit-autocomplete .ui-state-focus { border: 1px solid #999999; background: #dadada; font-weight: normal; color: #212121; } +.tagit-autocomplete .ui-state-active { border: 1px solid #aaaaaa; } + +.tagit-autocomplete .ui-widget-content { border: 1px solid #aaaaaa; } +.tagit .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px,1px,1px,1px); } + + diff --git a/examplesEdit.html b/examplesEdit.html new file mode 100644 index 0000000..8e25392 --- /dev/null +++ b/examplesEdit.html @@ -0,0 +1,90 @@ + + + + + Tag-it! Example + + + + + + + + + + + + + + + + + + + +
+Issue Date:
+Volume Number:
+Issue Number:
+ Article Title:
+ Article Subjects: +
+ +
+
+
+ Highlight Information

+ + What is already known on this Topic:
+ What is added by this report:
+ What are the implications for the public:
+
+
+ + + +
+ +