Skip to content

Commit

Permalink
layout files restored to origin state
Browse files Browse the repository at this point in the history
  • Loading branch information
paynegreen committed Jan 13, 2017
1 parent 47a471b commit 9ec0011
Show file tree
Hide file tree
Showing 11 changed files with 621 additions and 621 deletions.
4 changes: 2 additions & 2 deletions resources/views/api_docs/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@
</div>
<button type="button" id="scroll" name="button" class="btn btn-warning pull-right">Scroll Up</button>
</div>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/ace/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="{{ Request::secure(Request::root()).'js/src-min-noconflict/ace.js' }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ Request::secure(Request::root()).'js/ace/jquery-1.8.3.min.js' }}" type="text/javascript" charset="utf-8"></script>
<script>
window.onload(function () {
document.getElementById('query').style.display = 'none';
Expand Down
12 changes: 6 additions & 6 deletions resources/views/app/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
@endif
</div>
</div>

<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<!-- Button trigger modal -->
Expand All @@ -123,7 +123,7 @@
</div>
</div>
<!--body wrapper end-->

<!-- Modal -->
<div class="modal fade" id="connect-to-app" tabindex="-1" role="dialog" aria-labelledby="Label" aria-hidden="true">
<div class="modal-dialog" role="document">
Expand All @@ -147,19 +147,19 @@
<pre>
<code class="language-markup"><xmp style="word-wrap: break-word;
">
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/devless-sdk.js" class="devless-connection" devless-con-token="{{$app->token}}"></script>
<script src="{{URL::to('/')}}/js/devless-sdk.js" class="devless-connection" devless-con-token="{{$app->token}}"></script>

</xmp></code></pre>

</div>
<div class="tab-pane" id="android"><center>NA</center></div>
<div class="tab-pane" id="ios"><center>NA</center></div>
<div class="tab-pane" id="raw"><center>
Domain:
Domain:
</center></div>
</div>
</div>

</div>
</div>
</div>
Expand Down
69 changes: 35 additions & 34 deletions resources/views/auth/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,45 +30,24 @@
<div class="wrapper">
<div class="row">
<a href="https://devless.io">
<img src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>img/logo.png" class="setup-logo" alt="Devless">
<img src="{{Request::secure(Request::root()).'img/logo.png'}}" class="setup-logo" alt="Devless">
</a>
<div class="col-lg-6 col-md-offset-3 col-sm-10 col-sm-offset-1">
<section class="panel">
<header class="panel-heading">
DB & App Setup
App Setup
</header>
<div class="panel-body">
<form action="{{ url('/install') }}" class="form-horizontal" method="POST">
<div class="form-group @if($errors->has('db_name')) has-error @endif">
<label for="db_name" class="col-lg-2 control-label">DB Name</label>
<div class="col-lg-10">
<input type="text" id="db_name-field" name="db_name" class="form-control" required="">
@if($errors->has("db_name"))
<span class="help-block">{{ $errors->first("db_name") }}</span>
@endif
</div>
</div>
<div class="form-group @if($errors->has('db_user')) has-error @endif" >
<label for="db_user" class="col-lg-2 control-label">DB User</label>
<form action="{{ url('/setup') }}" class="form-horizontal" method="POST">
<div class="form-group @if($errors->has('username')) has-error @endif" >
<label for="username" class="col-lg-2 control-label">Username</label>
<div class="col-lg-10">
<input type="text" id="db_user-field" name="db_user" class="form-control" required="">
@if($errors->has("db_user"))
<span class="help-block">{{ $errors->first("db_user") }}</span>
<input type="text" id="username-field" name="username" class="form-control" required="">
@if($errors->has("username"))
<span class="help-block">{{ $errors->first("username") }}</span>
@endif
</div>
</div>
<div class="form-group @if($errors->has('db_pass')) has-error @endif" >
<label for="db_pass" class="col-lg-2 control-label">DB Pass</label>
<div class="col-lg-10">
<input type="text" id="db_pass-field" name="db_pass" class="form-control" required="">
@if($errors->has("db_pass"))
<span class="help-block">{{ $errors->first("db_pass") }}</span>
@endif
</div>
</div>

<hr>

<div class="form-group @if($errors->has('email')) has-error @endif" >
<label for="email" class="col-lg-2 control-label">Email</label>
<div class="col-lg-10">
Expand Down Expand Up @@ -99,11 +78,33 @@
</div>
</div>


<input type="hidden" id="app_name-field" name="app_name" class="form-control" required="" value="My Backend">

<input type="hidden" id="app_token-field" name="app_token" class="form-control" readonly="" value="{{$app['app_token']}}">

<div class="form-group @if($errors->has('app_name')) has-error @endif" >
<label for="app_name" class="col-lg-2 control-label">App Name</label>
<div class="col-lg-10">
<input type="text" id="app_name-field" name="app_name" class="form-control" required="">
@if($errors->has("app_name"))
<span class="help-block">{{ $errors->first("app_name") }}</span>
@endif
</div>
</div>
<div class="form-group @if($errors->has('app_description')) has-error @endif">
<label for="app_description" class="col-lg-2 control-label">App Description</label>
<div class="col-lg-10">
<textarea class="form-control" id="app_description-field" rows="3" name="app_description"></textarea>
@if($errors->has("app_description"))
<span class="help-block">{{ $errors->first("app_description") }}</span>
@endif
</div>
</div>
<div class="form-group @if($errors->has('app_token')) has-error @endif" >
<label for="app_token" class="col-lg-2 control-label">App Token</label>
<div class="col-lg-10">
<input type="text" id="app_token-field" name="app_token" class="form-control" readonly="" value="{{$app['app_token']}}">
@if($errors->has("app_token"))
<span class="help-block">{{ $errors->first("app_token") }}</span>
@endif
</div>
</div>

<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
Expand Down
6 changes: 3 additions & 3 deletions resources/views/auth/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</div>
</div>
</div>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery-1.10.2.min.js"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/bootstrap.min.js"></script>
<script src="{{Request::secure(Request::root()).'/js/jquery-1.10.2.min.js'}}"></script>
<script src="{{Request::secure(Request::root()).'/js/bootstrap.min.js'}}"></script>
<script charset="utf-8">
$(function modal() {
$('#flash_msg').modal({
Expand All @@ -33,7 +33,7 @@ function modalHide() {
<div class="wrapper">
<div class="row">
<a href="https://devless.io">
<img src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>img/logo.png" class="login-logo" alt="Devless">
<img src="{{Request::secure(Request::root()).'/img/logo.png'}}" class="login-logo" alt="Devless">
</a>
<center>
<div class="col-lg-6 col-md-6 " style="margin-left:24%;margin-right:24%;">
Expand Down
38 changes: 19 additions & 19 deletions resources/views/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,45 +16,45 @@
</section>

<!-- Placed js at the end of the document so the pages load faster -->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery-1.10.2.min.js"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery-migrate.js"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/bootstrap.min.js"></script>
<script src="{{ Request::secure(Request::root()).'js/jquery-1.10.2.min.js' }}"></script>
<script src="{{ Request::secure(Request::root()).'js/jquery-migrate.js' }}"></script>
<script src="{{ Request::secure(Request::root()).'js/bootstrap.min.js' }}"></script>
<!--notification pan-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/modernizr.min.js"></script>
<script src="{{ Request::secure(Request::root()).'js/modernizr.min.js' }}"></script>

<!--Nice Scroll-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="{{ Request::secure(Request::root()).'js/jquery.nicescroll.js' }}" type="text/javascript"></script>

<!--right slidebar-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/slidebars.min.js"></script>
<script src="{{ Request::secure(Request::root()).'js/slidebars.min.js' }}"></script>

<!--switchery-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/switchery/switchery.min.js"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/switchery/switchery-init.js"></script>
<script src="{{ Request::secure(Request::root()).'js/switchery/switchery.min.js' }}"></script>
<script src="{{ Request::secure(Request::root()).'js/switchery/switchery-init.js' }}"></script>

<!--Sparkline Chart-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/sparkline/jquery.sparkline.js"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/sparkline/sparkline-init.js"></script>
<script src="{{ Request::secure(Request::root()).'js/sparkline/jquery.sparkline.js' }}"></script>
<script src="{{ Request::secure(Request::root()).'js/sparkline/sparkline-init.js' }}"></script>

<!--Form Validation-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/bootstrap-validator.min.js" type="text/javascript"></script>
<script src="{{ Request::secure(Request::root()).'js/bootstrap-validator.min.js' }}" type="text/javascript"></script>

<!--Form Wizard-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery.steps.min.js" type="text/javascript"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery.validate.min.js" type="text/javascript"></script>
<script src="{{ Request::secure(Request::root()).'js/jquery.steps.min.js' }}" type="text/javascript"></script>
<script src="{{ Request::secure(Request::root()).'js/jquery.validate.min.js' }}" type="text/javascript"></script>

<!--wizard initialization-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/wizard-init.js" type="text/javascript"></script>
<script src="{{ Request::secure(Request::root()).'js/wizard-init.js'}}" type="text/javascript"></script>


<!--common scripts for all pages-->
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/scripts.js"></script>
<script src="{{ Request::secure(Request::root()).'js/scripts.js' }}"></script>
<!-- Ace Editor -->
@if(\Request::path() != 'console')
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/ace/ace.js" type="text/javascript" ></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/ace/theme-github.js" type="text/javascript" ></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/ace/mode-php.js" type="text/javascript" ></script>
<script src="js/ace/jquery-ace.min.js" type="text/javascript" ></script>
<script src="{{ Request::secure(Request::root()).'js/ace/ace.js' }}" type="text/javascript" ></script>
<script src="{{ Request::secure(Request::root()).'js/ace/theme-github.js' }}" type="text/javascript" ></script>
<script src="{{ Request::secure(Request::root()).'js/ace/mode-php.js' }}" type="text/javascript" ></script>
<script src="{{ Request::secure(Request::root()).'js/ace/jquery-ace.min.js' }}" type="text/javascript" ></script>
@endif
@include('notifier')
</body>
Expand Down
22 changes: 10 additions & 12 deletions resources/views/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,27 @@
<meta name="description" content="Devless is a backend as a service framework that provide developers an easier way to rollout their web and mobile platform ">
<meta name="author" content="Devless">
<meta name="keyword" content="Devless, opensource, BAAS, Backend as a service, robust, php, laravel ">

<link rel="shortcut icon" href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>favicon.ico" type="image/x-icon">
<link rel="icon" href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="javascript:;" type="image/png">

<title>Devless 1.1.2 </title>

<!--right slidebar-->
<link href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>css/slidebars.css" rel="stylesheet">
<link href="{{ Request::secure(Request::root()).'css/slidebars.css' }}" rel="stylesheet">

<!--switchery-->
<link href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/switchery/switchery.min.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{{ Request::secure(Request::root()).'js/switchery/switchery.min.css'}}" rel="stylesheet" type="textcss" media="screen" />

<!--Form Wizard-->
<link rel="stylesheet" type="text/css" href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>css/jquery.steps.css" />
<link rel="stylesheet" type="textcss" href="{{ Request::secure(Request::root()).'css/jquery.steps.css' }}" />

<!--common style-->
<link href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>css/style.css" rel="stylesheet">
<link href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>css/style-responsive.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>css/custom.css">
<link href="{{ Request::secure(Request::root()).'css/style.css' }}" rel="stylesheet">
<link href="{{ Request::secure(Request::root()).'css/style-responsive.css' }}" rel="stylesheet">
<link rel="stylesheet" type="textcss" href="{{ Request::secure(Request::root()).'css/custom.css'}}">
@if( \Request::path() == 'privacy' || \Request::path() == 'datatable' || \Request::path() == 'services')
<link rel="stylesheet" href="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>css/helper.css" media="screen" title="no title" charset="utf-8">
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/jquery-1.10.2.min.js"></script>
<script src="<?= str_replace("index.php", "", $_SERVER["SCRIPT_NAME"]) ?>js/bootstrap.min.js"></script>
<link rel="stylesheet" href="{{ Request::secure(Request::root()).'css/helper.css' }}" media="screen" title="no title" charset="utf-8">
<script src="{{ Request::secure(Request::root()).'js/jquery-1.10.2.min.js' }}"></script>
<script src="{{ Request::secure(Request::root()).'js/bootstrap.min.js' }}"></script>
@endif
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
Expand Down
27 changes: 14 additions & 13 deletions resources/views/hub/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="page-head">
<h3>Hub</h3>
<span class="sub-title">Hub/</span>
<form method="post" action="#" class="search-content">
<form method="post" action="index.html" class="search-content">
<input type="text" placeholder="Search module or service..." name="keyword" class="form-control">
</form>
</div>
Expand All @@ -26,14 +26,13 @@
<div class="name column-name">
<h3>
<a href="#" data-toggle="modal" data-target="#service-desc">
<!--src="{{$service['image_url']}}"-->
<!--src="{{$service['image_url']}}"-->
{{$service['name']}}<img width=2 class="plugin-icon img-responsive" src="{{$service['image_url']}}" alt="N/A">
</a>
</h3>
</div>
<div class="desc column-description">
<p>{{$service['description']}} </p>
<!--<a href="#" data-toggle="modal" data-target="#service-desc">More Details</a>-->
</div>
</div>
<div class="plugin-card-bottom">
Expand All @@ -45,12 +44,12 @@
<p class="authors"><cite>By <a href="#">{{$service['author']}}</a></cite></p>
</div>
</div>
</div>
</div>
</div>
@endforeach

@else
<h3 class="text-center alert alert-info">Sorry Services could not be fetched !</h3>
<h3 class="text-center alert alert-info">Sorry Services could not be fetched !</h3>
@endif
</div>
</div><!--body wrapper end-->
Expand All @@ -70,28 +69,28 @@ function install(url, service_name) {
setTimeout(function () {
$('#notif').modal('hide');
},3000)
$('#'+service_name).html('Installed').closest('button').attr('disabled', 'true');
}
})
}
function httpGetAsync(theUrl, callback){
{ var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function() {
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200)
callback(xmlHttp.responseText);
}
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.send(null);
} }
</script>


<div class="modal fade" id="notif" tabindex="-1" role="dialog"
<div class="modal fade" id="notif" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true" >
<div class="modal-dialog" style="width:250px;height:3%;">
<div class="modal-content" style="background-color:#7BE454;">

<div class="modal-body">
<div id="left">
<div>
Expand All @@ -100,12 +99,14 @@ function httpGetAsync(theUrl, callback){
Check services menu <br>
If service not installed, Please Try again.</font></p>
</center>

</div>

</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
</div>
@endsection


Loading

0 comments on commit 9ec0011

Please sign in to comment.