Commit 88a84ce4 authored by Robert Knight's avatar Robert Knight

Move h/templates/client => src/templates

The previous location was a vestigate of when the client was part of the
Hypothesis web service.
parent 6b214942
......@@ -27,7 +27,7 @@ var SCRIPT_DIR = 'build/scripts';
var STYLE_DIR = 'build/styles';
var FONTS_DIR = 'build/fonts';
var IMAGES_DIR = 'build/images';
var TEMPLATES_DIR = 'h/templates/client';
var TEMPLATES_DIR = 'src/templates';
// LiveReloadServer instance for sending messages to connected
// development clients
......
......@@ -53,7 +53,7 @@ function configureLocation($locationProvider) {
}
// @ngInject
var VIEWER_TEMPLATE = require('../../templates/client/viewer.html');
var VIEWER_TEMPLATE = require('../templates/viewer.html');
function configureRoutes($routeProvider) {
$routeProvider.when('/a/:id',
......
......@@ -9,7 +9,7 @@ module.exports = function () {
bindToController: true,
controllerAs: 'vm',
restrict: 'E',
template: require('../../../templates/client/annotation_share_dialog.html'),
template: require('../../templates/annotation_share_dialog.html'),
// @ngInject
controller: function ($scope, $element) {
var shareLinkInput = $element.find('input')[0];
......
......@@ -119,6 +119,6 @@ module.exports = function () {
*/
onForceVisible: '&',
},
template: require('../../../templates/client/annotation_thread.html'),
template: require('../../templates/annotation_thread.html'),
};
};
......@@ -532,7 +532,7 @@ function annotation() {
replyCount: '<',
isCollapsed: '<',
},
template: require('../../../templates/client/annotation.html'),
template: require('../../templates/annotation.html'),
};
}
......
......@@ -7,6 +7,6 @@ module.exports = function () {
restrict: 'E',
controller: AppController,
scope: {},
template: require('../../../templates/client/app.html'),
template: require('../../templates/app.html'),
};
};
......@@ -26,6 +26,6 @@ module.exports = function () {
onClick: '&',
onToggleDropdown: '&',
},
template: require('../../../templates/client/dropdown_menu_btn.html'),
template: require('../../templates/dropdown_menu_btn.html'),
};
};
......@@ -180,7 +180,7 @@ function excerpt(ExcerptOverflowMonitor) {
},
restrict: 'E',
transclude: true,
template: require('../../../templates/client/excerpt.html'),
template: require('../../templates/excerpt.html'),
};
}
......
......@@ -37,7 +37,7 @@ function groupList($window, groups, serviceUrl) {
scope: {
auth: '<',
},
template: require('../../../templates/client/group_list.html'),
template: require('../../templates/group_list.html'),
};
}
......
......@@ -5,7 +5,7 @@ module.exports = function () {
bindToController: true,
controllerAs: 'vm',
restrict: 'E',
template: require('../../../templates/client/help_link.html'),
template: require('../../templates/help_link.html'),
controller: function () {},
scope: {
version: '<',
......
......@@ -31,7 +31,7 @@ module.exports = function () {
);
},
restrict: 'E',
template: require('../../../templates/client/help_panel.html'),
template: require('../../templates/help_panel.html'),
scope: {
auth: '<',
onClose: '&',
......
......@@ -15,6 +15,6 @@ module.exports = function () {
*/
onLogin: '&',
},
template: require('../../../templates/client/loggedout_message.html'),
template: require('../../templates/loggedout_message.html'),
};
};
......@@ -33,6 +33,6 @@ module.exports = function () {
*/
newStyle: '<',
},
template: require('../../../templates/client/login_control.html'),
template: require('../../templates/login_control.html'),
};
};
......@@ -103,7 +103,7 @@ module.exports = {
scope: {
onClose: '&',
},
template: require('../../../templates/client/login_form.html'),
template: require('../../templates/login_form.html'),
};
},
Controller: Controller,
......
......@@ -169,6 +169,6 @@ module.exports = function($sanitize) {
text: '<?',
onEditText: '&',
},
template: require('../../../templates/client/markdown.html'),
template: require('../../templates/markdown.html'),
};
};
......@@ -36,6 +36,6 @@ module.exports = function () {
onSave: '&',
onSetPrivacy: '&',
},
template: require('../../../templates/client/publish_annotation_btn.html'),
template: require('../../templates/publish_annotation_btn.html'),
};
};
......@@ -48,6 +48,6 @@ module.exports = function () {
query: '<',
onSearch: '&',
},
template: require('../../../templates/client/search_input.html'),
template: require('../../templates/search_input.html'),
};
};
......@@ -23,6 +23,6 @@ module.exports = function () {
totalAnnotations: '<',
totalNotes: '<',
},
template: require('../../../templates/client/search_status_bar.html'),
template: require('../../templates/search_status_bar.html'),
};
};
......@@ -41,6 +41,6 @@ module.exports = function () {
totalNotes: '<',
totalOrphans: '<',
},
template: require('../../../templates/client/selection_tabs.html'),
template: require('../../templates/selection_tabs.html'),
};
};
......@@ -37,6 +37,6 @@ module.exports = function () {
scope: {
onClose: '&',
},
template: require('../../../templates/client/share_dialog.html'),
template: require('../../templates/share_dialog.html'),
};
};
......@@ -30,7 +30,7 @@ module.exports = {
controllerAs: 'vm',
restrict: 'E',
scope: {},
template: require('../../../templates/client/sidebar_tutorial.html'),
template: require('../../templates/sidebar_tutorial.html'),
};
},
Controller: SidebarTutorialController,
......
......@@ -12,6 +12,6 @@ module.exports = function () {
/** Called when the user changes the sort key. */
onChangeSortKey: '&',
},
template: require('../../../templates/client/sort_dropdown.html'),
template: require('../../templates/sort_dropdown.html'),
};
};
......@@ -32,6 +32,6 @@ module.exports = function () {
tags: '<',
onEditTags: '&',
},
template: require('../../../templates/client/tag_editor.html'),
template: require('../../templates/tag_editor.html'),
};
};
......@@ -140,6 +140,6 @@ module.exports = function () {
/** Called to clear the current selection. */
onClearSelection: '&',
},
template: require('../../../templates/client/thread_list.html'),
template: require('../../templates/thread_list.html'),
};
};
......@@ -20,6 +20,6 @@ module.exports = function () {
pendingUpdateCount: '<',
onApplyPendingUpdates: '&',
},
template: require('../../../templates/client/top_bar.html'),
template: require('../../templates/top_bar.html'),
};
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment