Skip to content

Commit

Permalink
Merge pull request #81 from ccnmtl/onomy
Browse files Browse the repository at this point in the history
Onomy.org Taxonomy Import
  • Loading branch information
sdreher committed Jan 31, 2015
2 parents 70fb4e0 + e4dece4 commit 2b511cb
Show file tree
Hide file tree
Showing 15 changed files with 608 additions and 104 deletions.
54 changes: 52 additions & 2 deletions media/css/mediathread.css
Original file line number Diff line number Diff line change
Expand Up @@ -4017,6 +4017,14 @@ div#asset-view-details {
height: 100%;
}

form#edit-global-annotation-form {
overflow-y: auto;
overflow-x: hidden;
margin-right: -10px;
padding-right: 20px;
padding-bottom: 10px;
}

form#edit-annotation-form {
overflow-y: auto;
overflow-x: hidden;
Expand Down Expand Up @@ -4518,7 +4526,7 @@ div#taxonomy input[type="text"] {
display: inline-block;
height: 20px;
padding: 4px 6px;
margin: 5px 0 5px 5px;
margin: 5px 0 15px 5px;
font-size: 14px;
line-height: 20px;
color: #555555;
Expand All @@ -4537,6 +4545,10 @@ div#taxonomy input[type="text"].name {
width: 60%;
}

div#taxonomy input[name='onomy_url'] {
width: 87%;
}

div#taxonomy a.icon-link {
float: right;
margin: .5em 0;
Expand Down Expand Up @@ -4636,6 +4648,24 @@ div#taxonomy .ui-tabs-vertical .ui-tabs-panel {
width: 65%;
}

div#taxonomy .btn-primary.onomy {
font-size: .65em;
float: right;
margin-right: 5px;
}

div#taxonomy .btn-primary.onomy img {
vertical-align: middle;
}

div#taxonomy .vocabulary-import {
margin: 0 -1px .4em 0;
outline: 0;
padding: 10px 20px;
background-color: #ededed;
border-radius: 5px;
}

div#taxonomy div.vocabulary-display a.create-vocabulary-open {
width: 94%;
height: 24px;
Expand All @@ -4651,6 +4681,8 @@ div#taxonomy div.term-container a.edit-term-close,
div#taxonomy div.term-container a.edit-term-submit,
div#taxonomy div.vocabulary-edit a.edit-vocabulary-close,
div#taxonomy div.vocabulary-edit a.edit-vocabulary-submit,
div#taxonomy div.vocabulary-import a.import-vocabulary-close,
div#taxonomy div.vocabulary-import a.import-vocabulary-submit,
div#taxonomy div.vocabulary-create a.create-vocabulary-close,
div#taxonomy div.vocabulary-create a.create-vocabulary-submit {
float: right;
Expand All @@ -4662,6 +4694,7 @@ div#taxonomy div.vocabulary-create a.create-vocabulary-submit {

div#taxonomy div.term-container a.edit-term-close,
div#taxonomy div.vocabulary-edit a.edit-vocabulary-close,
div#taxonomy div.vocabulary-import a.import-vocabulary-close,
div#taxonomy div.vocabulary-create a.create-vocabulary-close {
margin: 0 5px 0 5px;
}
Expand All @@ -4687,6 +4720,24 @@ div#taxonomy div.terms a.create-term-submit {
padding: 4px;
}

div#taxonomy div.terms a.refresh-button-submit {
padding: 5px 0 5px 5px;
float: right;
}

div#taxonomy div.onomy a.onomy-terms-submit img {
padding: 0;
}

div#taxonomy div.onomy a.refresh-button-submit img {
padding: 0;
}

div#taxonomy div.onomy a.onomy-terms-submit {
margin: 0 0 0 5px;
padding: 4px;
}

div#taxonomy div.terms a.create-term-submit img {
padding: 0;
}
Expand All @@ -4703,7 +4754,6 @@ div#taxonomy div.term-container {
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
width: 73%;
margin: 5px 0 5px 5px;
}

Expand Down
Binary file added media/img/icons/refreshIcon.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/img/onomy_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions media/js/app/assetmgr/assetpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ AssetPanelHandler.prototype.resize = function () {
jQuery(self.el).find('.ui-tabs-panel').css('height', (visible - 10) + "px");

jQuery(self.el).find('form#edit-annotation-form').css('height', (visible - 56) + "px");
jQuery(self.el).find('form#edit-global-annotation-form').css('height', (visible - 66) + "px");

visible -= jQuery("div#asset-global-annotation").outerHeight();
jQuery(self.el).find('div#annotations-organized').css('height', (visible - 5) + "px");
Expand Down
Loading

0 comments on commit 2b511cb

Please sign in to comment.