PHP Classes

File: resources/views/dm/setting.blade.php

Recommend this page to a friend!
  Classes of Naif Alshaye   PHP Twitter Bot   resources/views/dm/setting.blade.php   Download  
File: resources/views/dm/setting.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Twitter Bot
Application to automate interactions using Twitter
Author: By
Last change:
Date: 5 years ago
Size: 2,308 bytes
 

Contents

Class file image Download
@extends('layouts.app')
@section('content')
    <div class="container">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="panel panel-default">
                    <div class="panel-heading" style="font-size:16px; font-weight: bold; color:#565656;">Direct Message On Follow</div>

                    <div class="panel-body">
                        <form class="form-horizontal" role="form" method="POST" action="{{ url('/dm_config') }}">
                            {{ csrf_field() }}

                            <div align="center" class="alert alert-info">Send Direct Message when someone follow your account.</div>
                            <div class="form-group{{ $errors->has('text') ? ' has-error' : '' }}">
                                <label for="text" class="col-md-4 control-label">DM Text</label>

                                <div class="col-md-6">
                                    <textarea class="form-control" name="text" rows="7" required>@if (isset($dm->text)) {{$dm->text }} @endif</textarea>

                                    @if ($errors->has('text'))
                                        <span class="help-block">
                                        <strong>{{ $errors->first('text') }}</strong>
                                    </span>
                                    @endif
                                </div>
                            </div>

                            <div class="form-group">
                                <label for="disable" class="col-md-4 control-label">Disable</label>
                                <div class="col-md-6">
                                    <input type="checkbox" class="form-control" name="disable" @if (isset($dm->text) && $dm->disable) checked @endif>
                                </div>
                            </div>

                            <div class="form-group">
                                <div align="center">
                                    <button type="submit" class="btn btn-success">Update</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection