OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
47
app/Domain/Goalcanvas/Templates/bigRockDialog.blade.php
Normal file
47
app/Domain/Goalcanvas/Templates/bigRockDialog.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<h4 class="widgettitle title-light">
|
||||
<i class="fa-solid fa-mountain"></i>
|
||||
{{ empty($bigRock['title']) ? __('label.create_new_goalboard') : __('label.goalboard') }} {{ $bigRock['title'] }}
|
||||
</h4>
|
||||
|
||||
<form class="formModal" method="post"
|
||||
action="{{ BASE_URL }}/goalcanvas/bigRock/{{ !empty($bigRock['id']) ? $bigRock['id'] : '' }}">
|
||||
|
||||
<br />
|
||||
<label>{{ __('label.goal_description') }}</label>
|
||||
<x-global::forms.text-input name="title" id="wikiTitle" value="{{ $bigRock['title'] }}" style="width:100%;" /><br />
|
||||
|
||||
<br />
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<x-global::forms.button tag="input" inputType="submit" contentRole="primary" :labelText="__('buttons.save')" id="saveBtn" />
|
||||
</div>
|
||||
<div class="col-md-6 align-right padding-top-sm">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<script>
|
||||
jQuery(document).ready(function() {
|
||||
|
||||
@if (isset($_GET['closeModal']))
|
||||
jQuery.nmTop().close();
|
||||
@endif
|
||||
|
||||
if (jQuery("#wikiTitle").val().length >= 2) {
|
||||
jQuery("#saveBtn").removeAttr("disabled");
|
||||
} else {
|
||||
jQuery("#saveBtn").attr("disabled", "disabled");
|
||||
}
|
||||
|
||||
jQuery("#wikiTitle").keypress(function() {
|
||||
|
||||
if (jQuery("#wikiTitle").val().length >= 2) {
|
||||
jQuery("#saveBtn").removeAttr("disabled");
|
||||
} else {
|
||||
jQuery("#saveBtn").attr("disabled", "disabled");
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user