2017-02-10 17:14:07 +01:00
|
|
|
<script src="<?= APP_URL; ?>assets/vendor/codemirror/lib/codemirror.js"></script>
|
|
|
|
<script src="<?= APP_URL; ?>assets/vendor/codemirror/mode/yaml/yaml.js"></script>
|
|
|
|
<link href="<?= APP_URL; ?>assets/vendor/codemirror/lib/codemirror.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
|
|
CodeMirror.fromTextArea(document.getElementById('element-build_config'), {
|
|
|
|
mode: "yaml",
|
|
|
|
lineWrapping: true,
|
|
|
|
lineNumbers: true
|
|
|
|
});
|
2017-02-15 14:16:40 +01:00
|
|
|
|
|
|
|
setupProjectForm();
|
2017-02-10 17:14:07 +01:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2016-07-19 20:28:11 +02:00
|
|
|
<?php use PHPCensor\Helper\Lang; ?>
|
2013-05-10 13:28:43 +02:00
|
|
|
<div class="row">
|
2014-04-30 15:13:07 +02:00
|
|
|
|
2017-01-06 12:39:04 +01:00
|
|
|
<div class="col-sm-8">
|
|
|
|
<div class="box ">
|
2014-12-02 17:26:55 +01:00
|
|
|
<div class="box-header">
|
2014-12-04 12:42:21 +01:00
|
|
|
<h3 class="box-title"><?php Lang::out('project_details'); ?></h3>
|
2014-04-30 15:13:07 +02:00
|
|
|
</div>
|
|
|
|
|
2014-12-02 17:26:55 +01:00
|
|
|
<div class="box-body">
|
2014-04-30 15:13:07 +02:00
|
|
|
<?php print $form; ?>
|
|
|
|
</div>
|
2013-10-08 08:21:46 +02:00
|
|
|
</div>
|
2017-01-06 12:39:04 +01:00
|
|
|
</div>
|
2014-12-02 17:26:55 +01:00
|
|
|
|
|
|
|
<?php if(!is_null($key)): ?>
|
|
|
|
<div class="col-sm-4">
|
2017-01-06 12:39:04 +01:00
|
|
|
<div class="box">
|
2014-12-02 17:26:55 +01:00
|
|
|
<div class="box-body">
|
2017-02-10 17:14:07 +01:00
|
|
|
<p><?php Lang::out('public_key_help'); ?></p>
|
|
|
|
<textarea style="width: 90%; height: 150px;"><?php print $key ?></textarea>
|
2014-12-02 17:26:55 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2013-05-14 10:00:56 +02:00
|
|
|
</div>
|