THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

72 lines
2.8 KiB

@**
* Yobi, Project Hosting SW
*
* Copyright 2013 NAVER Corp.
* http://yobi.io
*
* @Author Jihan Kim
*
* Licensed 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.
**@
@(message: String)(projectForm: play.data.Form[Project], project:Project)
@import helper._
@import utils.TemplateHelper._
@projectLayout(message, project, utils.MenuType.PROJECT_SETTING) {
@projectMenu(project, utils.MenuType.PROJECT_SETTING, "")
<div class="page-wrap-outer">
<div class="project-page-wrap">
@partial_settingmenu(project)
<div class="bubble-wrap gray wp">
<div class="cu-label">@Messages("project.delete")</div>
<div class="cu-desc">
<p><strong class="notice">@Messages("project.delete.description")</strong></p>
<p>
<input type="checkbox" class="checkbox" autocomplete="off" id="accept"><!--
--><label for="accept" class="bg-checkbox label-agreement">@Messages("project.delete.accept")</label>
</p>
</div>
</div>
<div class="box-wrap bottom">
<a id="btnDelete" href="#alertDeletion" class="ybtn ybtn-danger" data-toggle="modal" ><!--
--><i class="yobicon-database-remove"></i> @Messages("project.delete.this")</a>
</div>
@** Confirm to delete project **@
<div id="alertDeletion" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3>@Messages("project.delete.requestion")</h3>
</div>
<div class="modal-body">
<p> @Messages("project.delete.description")</p>
<p> @Messages("project.delete.reaccept") </p>
</div>
<div class="modal-footer">
<button id="btnDeleteExec" type="button" class="ybtn ybtn-danger">@Messages("button.yes")</button>
<button type="button" class="ybtn" data-dismiss="modal">@Messages("button.no")</button>
</div>
</div>
@** // -- // **@
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$yobi.loadModule("project.Delete", {
"sDeleteURL": "@routes.ProjectApp.deleteProject(project.owner, project.name)"
});
});
</script>
}