mirror of https://github.com/apache/archiva.git
[MRM-1575] rewrite repositories group page
add various files layout (js templates). git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243817 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5168f86afb
commit
5900017ec0
|
@ -86,6 +86,7 @@ $.ajax(
|
|||
.script(buildLoadJsUrl("archiva/network-proxies.js")).wait()
|
||||
.script(buildLoadJsUrl("archiva/proxy-connectors.js")).wait()
|
||||
.script(buildLoadJsUrl("redback/operation.js")).wait()
|
||||
.script(buildLoadJsUrl("repository-groups.js")).wait()
|
||||
.script(buildLoadJsUrl("redback/redback-tmpl.js")).wait()
|
||||
.script(buildLoadJsUrl("bootstrap.js"))
|
||||
.script(buildLoadJsUrl("knockout.simpleGrid.js"))
|
||||
|
|
|
@ -23,8 +23,10 @@ require(["text!js/archiva/templates/menu.html"+appendTemplateUrl(),
|
|||
"text!js/archiva/templates/grids-generics.html?"+appendTemplateUrl(),
|
||||
"text!js/archiva/templates/repositories.html?"+appendTemplateUrl(),
|
||||
"text!js/archiva/templates/network-proxies.html?"+appendTemplateUrl(),
|
||||
"text!js/archiva/templates//proxy-connectors.html?"+appendTemplateUrl()],
|
||||
function(menu,topbar,message,modal,grids_generics,repositories,network_proxies,proxies_connectors) {
|
||||
"text!js/archiva/templates/proxy-connectors.html?"+appendTemplateUrl(),
|
||||
"text!js/archiva/templates/repository-groups.html?"+appendTemplateUrl()],
|
||||
function(menu,topbar,message,modal,grids_generics,repositories,network_proxies,proxies_connectors,
|
||||
repository_groups) {
|
||||
|
||||
// template loading
|
||||
$.tmpl( menu ).appendTo("#html-fragments");
|
||||
|
@ -35,6 +37,7 @@ require(["text!js/archiva/templates/menu.html"+appendTemplateUrl(),
|
|||
$("#html-fragments").append(repositories);
|
||||
$("#html-fragments").append(network_proxies);
|
||||
$("#html-fragments").append(proxies_connectors);
|
||||
$.log("main-tmpl.js menu loaded");
|
||||
$("#html-fragments").append(repository_groups);
|
||||
$.log("main-tmpl.js loaded");
|
||||
}
|
||||
);
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
$(function() {
|
||||
|
||||
|
||||
});
|
|
@ -0,0 +1,18 @@
|
|||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||
~ or more contributor license agreements. See the NOTICE file
|
||||
~ distributed with this work for additional information
|
||||
~ regarding copyright ownership. The ASF licenses this file
|
||||
~ to you under the Apache License, Version 2.0 (the
|
||||
~ "License"); you may not use this file except in compliance
|
||||
~ with the License. You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
Loading…
Reference in New Issue