Merge pull request #1098 from itflow-org/cal-rep-dis

Disable calendar repeat for now until we properly add it
This commit is contained in:
Johnny 2024-11-02 12:39:54 -04:00 committed by GitHub
commit b71bc508f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -70,7 +70,7 @@
<input type="datetime-local" class="form-control" id="event_add_start" name="start" required onblur="updateIncrementEndTime()">
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
@ -86,7 +86,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-recycle"></i></span>
</div>
<select class="form-control select2" name="repeat">
<select class="form-control select2" name="repeat" disabled>
<option value="">Never</option>
<option>Day</option>
<option>Week</option>

View File

@ -72,7 +72,7 @@
<input type="datetime-local" class="form-control" name="start" value="<?php echo date('Y-m-d\TH:i:s', strtotime($event_start)); ?>" required>
</div>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-prepend">
@ -88,7 +88,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-recycle"></i></span>
</div>
<select class="form-control select2" name="repeat">
<select class="form-control select2" name="repeat" disabled>
<option <?php if (empty($event_repeat)) { echo "selected"; } ?> value="">Never</option>
<option <?php if ($event_repeat == "Day") { echo "selected"; } ?>>Day</option>
<option <?php if ($event_repeat == "Week") { echo "selected"; } ?>>Week</option>
@ -96,7 +96,7 @@
<option <?php if ($event_repeat == "Year") { echo "selected"; } ?>>Year</option>
</select>
</div>
</div>
</div>
</div>
@ -115,7 +115,7 @@
<label>Description</label>
<textarea class="form-control" rows="8" name="description" placeholder="Enter a description"><?php echo $event_description; ?></textarea>
</div>
</div>