-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged feature/ICPCO-26 into develop
- Loading branch information
Showing
4 changed files
with
294 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
<?php | ||
$this->extend('/GrouperGroups/base'); | ||
$this->Html->addCrumb('Create a Template Group'); | ||
|
||
?> | ||
<hr /> | ||
<div class="mt-4"> | ||
<div class="row"> | ||
<div class="col-lg-9 col-xs-12 col-xl-6"> | ||
<div class="create-group"> | ||
<?php echo $this->Form->create(false, array( | ||
'url' => array('controller' => 'groupergroups', 'action' => 'groupcreatetemplateform') | ||
)); ?> | ||
|
||
<fieldset id="form" class=""> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Working Group Extension", array( | ||
'for' => 'gsh_input_workingGroupExtension', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->input('gsh_input_workingGroupExtension', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'required' => true, | ||
'maxlength' => '62', | ||
'id' => 'gsh_input_workingGroupExtension' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Working Group Display Extension", array( | ||
'for' => 'gsh_input_workingGroupDisplayExtension', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->input('gsh_input_workingGroupDisplayExtension', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'maxlength' => '62', | ||
'id' => 'gsh_input_workingGroupDisplayExtension' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Working Group Description", array( | ||
'for' => 'gsh_input_workingGroupDescription', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->input('gsh_input_workingGroupDescription', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'maxlength' => '62', | ||
'id' => 'gsh_input_workingGroupDescription' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Enable Sympa for Group?", array( | ||
'for' => 'gsh_input_isSympa', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->checkbox('gsh_input_isSympa', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'id' => 'gsh_input_isSympa' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Sympa Domain", array( | ||
'for' => 'gsh_input_sympaDomain', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->radio( | ||
'gsh_input_sympaDomain', | ||
array( | ||
'internet2' => 'internet2', | ||
'incommon' => 'incommon'), | ||
array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'legend' => false, | ||
'id' => 'gsh_input_sympaDomain' | ||
) | ||
); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Is Sympa Moderated?", array( | ||
'for' => 'gsh_input_isSympaModerated', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->checkbox('gsh_input_isSympaModerated', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'id' => 'gsh_input_isSympaModerated' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Is Group Optin?", array( | ||
'for' => 'gsh_input_isOptin', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->checkbox('gsh_input_isOptin', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'id' => 'gsh_input_isOptin' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Days for Attestation", array( | ||
'for' => 'gsh_input_attestationDays', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->input('gsh_input_attestationDays', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'type' => 'number', | ||
'default' => '30', | ||
'min' => '30', | ||
'max' => '365', | ||
'id' => 'gsh_input_attestationDays' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Add Confluence?", array( | ||
'for' => 'gsh_input_isConfluence', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->checkbox('gsh_input_isConfluence', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'id' => 'gsh_input_isConfluence' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-light"> | ||
<?php echo $this->Form->label(false, "Add Jira?", array( | ||
'for' => 'gsh_input_isJira', | ||
'class' => "col-sm-3 col-form-label" | ||
)); ?> | ||
<div class="col-sm-9"> | ||
<?php echo $this->Form->checkbox('gsh_input_isJira', array( | ||
'label' => false, | ||
'class' => 'form-control', | ||
'id' => 'gsh_input_isJira' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="form-group row py-2 bg-lighter"> | ||
<div class="col-sm-9 offset-sm-3"> | ||
<?php echo $this->Form->button(_txt('pl.grouperlite.form.group.action.save'), array( | ||
'type' => 'submit', | ||
'class' => 'btn btn-grouper btn-primary btn-lg btn-raised' | ||
)); ?> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<?php echo $this->Form->end(); ?> | ||
</div> | ||
</div> | ||
</div> |