mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge branch 'fixes/accessibility_fixes'
# Conflicts: # public/css/build/all.css # public/css/dist/all.css # public/js/build/all.js # public/js/build/vue.js # public/js/build/vue.js.map # public/js/dist/all.js # public/mix-manifest.json # resources/assets/js/components/importer/importer-file.vue
This commit is contained in:
commit
a0f7fdc57a
|
@ -198,7 +198,7 @@ class AccessoriesController extends Controller
|
|||
if (isset($accessory->id)) {
|
||||
return view('accessories/view', compact('accessory'));
|
||||
}
|
||||
return redirect()->route('accessories.index')->with('error', trans('admin/accessories/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('accessories.index')->with('error', trans('admin/accessories/message.does_not_exist'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -259,11 +259,8 @@ class AssetModelsController extends Controller
|
|||
if (isset($model->id)) {
|
||||
return view('models/view', compact('model'));
|
||||
}
|
||||
// Prepare the error message
|
||||
$error = trans('admin/models/message.does_not_exist', compact('id'));
|
||||
|
||||
// Redirect to the user management page
|
||||
return redirect()->route('models.index')->with('error', $error);
|
||||
return redirect()->route('models.index')->with('error', trans('admin/models/message.does_not_exist'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -219,10 +219,7 @@ class CategoriesController extends Controller
|
|||
->with('category_type_route',$category_type_route);
|
||||
}
|
||||
|
||||
// Prepare the error message
|
||||
$error = trans('admin/categories/message.does_not_exist', compact('id'));
|
||||
// Redirect to the user management page
|
||||
return redirect()->route('categories.index')->with('error', $error);
|
||||
return redirect()->route('categories.index')->with('error', trans('admin/categories/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -199,10 +199,8 @@ class ComponentsController extends Controller
|
|||
$this->authorize('view', $component);
|
||||
return view('components/view', compact('component'));
|
||||
}
|
||||
// Prepare the error message
|
||||
$error = trans('admin/components/message.does_not_exist', compact('id'));
|
||||
// Redirect to the user management page
|
||||
return redirect()->route('components.index')->with('error', $error);
|
||||
|
||||
return redirect()->route('components.index')->with('error', trans('admin/components/message.does_not_exist'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -179,14 +179,19 @@ class CustomFieldsetsController extends Controller
|
|||
|
||||
$this->authorize('update', $set);
|
||||
|
||||
foreach ($set->fields as $field) {
|
||||
if ($field->id == $request->input('field_id')) {
|
||||
return redirect()->route("fieldsets.show", [$id])->withInput()->withErrors(['field_id' => trans('admin/custom_fields/message.field.already_added')]);
|
||||
if ($request->filled('field_id')) {
|
||||
foreach ($set->fields as $field) {
|
||||
if ($field->id == $request->input('field_id')) {
|
||||
return redirect()->route("fieldsets.show", [$id])->withInput()->withErrors(['field_id' => trans('admin/custom_fields/message.field.already_added')]);
|
||||
}
|
||||
}
|
||||
|
||||
$results = $set->fields()->attach(Input::get('field_id'), ["required" => ($request->input('required') == "on"),"order" => $request->input('order', 1)]);
|
||||
|
||||
return redirect()->route("fieldsets.show", [$id])->with("success", trans('admin/custom_fields/message.field.create.assoc_success'));
|
||||
}
|
||||
return redirect()->route("fieldsets.show", [$id])->with("error", 'No field selected.');
|
||||
|
||||
$results = $set->fields()->attach(Input::get('field_id'), ["required" => ($request->input('required') == "on"),"order" => $request->input('order', 1)]);
|
||||
|
||||
return redirect()->route("fieldsets.show", [$id])->with("success", trans('admin/custom_fields/message.field.create.assoc_success'));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ class DepartmentsController extends Controller
|
|||
if (isset($department->id)) {
|
||||
return view('departments/view', compact('department'));
|
||||
}
|
||||
return redirect()->route('departments.index')->with('error', trans('admin/departments/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('departments.index')->with('error', trans('admin/departments/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -455,7 +455,7 @@ class LicensesController extends Controller
|
|||
$this->authorize('view', $license);
|
||||
return view('licenses/view', compact('license'));
|
||||
}
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
@ -524,9 +524,8 @@ class LicensesController extends Controller
|
|||
}
|
||||
return redirect()->route('licenses.show', $license->id)->with('error', trans('admin/licenses/message.upload.nofiles'));
|
||||
}
|
||||
// Prepare the error message
|
||||
$error = trans('admin/licenses/message.does_not_exist', compact('id'));
|
||||
return redirect()->route('licenses.index')->with('error', $error);
|
||||
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
@ -562,7 +561,7 @@ class LicensesController extends Controller
|
|||
}
|
||||
|
||||
// Redirect to the licence management page
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
@ -613,7 +612,7 @@ class LicensesController extends Controller
|
|||
}
|
||||
|
||||
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('licenses.index')->with('error', trans('admin/licenses/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ class LocationsController extends Controller
|
|||
return view('locations/view', compact('location'));
|
||||
}
|
||||
|
||||
return redirect()->route('locations.index')->with('error', trans('admin/locations/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('locations.index')->with('error', trans('admin/locations/message.does_not_exist'));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ class StatuslabelsController extends Controller
|
|||
return view('statuslabels.view')->with('statuslabel', $statuslabel);
|
||||
}
|
||||
|
||||
return redirect()->route('statuslabels.index')->with('error', trans('admin/statuslabels/message.does_not_exist', compact('id')));
|
||||
return redirect()->route('statuslabels.index')->with('error', trans('admin/statuslabels/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -195,11 +195,8 @@ class SuppliersController extends Controller
|
|||
if (isset($supplier->id)) {
|
||||
return view('suppliers/view', compact('supplier'));
|
||||
}
|
||||
// Prepare the error message
|
||||
$error = trans('admin/suppliers/message.does_not_exist', compact('id'));
|
||||
|
||||
// Redirect to the user management page
|
||||
return redirect()->route('suppliers.index')->with('error', $error);
|
||||
return redirect()->route('suppliers.index')->with('error', trans('admin/suppliers/message.does_not_exist'));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -606,10 +606,12 @@ class UsersController extends Controller
|
|||
*/
|
||||
public function show($userId = null)
|
||||
{
|
||||
if(!$user = User::with('assets', 'assets.model', 'consumables', 'accessories', 'licenses', 'userloc')->withTrashed()->find($userId)) {
|
||||
$error = trans('admin/users/message.user_not_found', compact('id'));
|
||||
// Redirect to the user management page
|
||||
return redirect()->route('users.index')->with('error', $error);
|
||||
if (!$user = User::with('assets', 'assets.model', 'consumables', 'accessories', 'licenses', 'userloc')
|
||||
->withTrashed()
|
||||
->find($userId))
|
||||
{
|
||||
|
||||
return redirect()->route('users.index')->with('error', trans('admin/users/message.user_not_found', ['id' => $userId]));
|
||||
}
|
||||
|
||||
$userlog = $user->userlog->load('item');
|
||||
|
@ -706,10 +708,8 @@ class UsersController extends Controller
|
|||
->with('userGroups', $userGroups)
|
||||
->with('clone_user', $user_to_clone);
|
||||
} catch (UserNotFoundException $e) {
|
||||
// Prepare the error message
|
||||
$error = trans('admin/users/message.user_not_found', compact('id'));
|
||||
// Redirect to the user management page
|
||||
return redirect()->route('users.index')->with('error', $error);
|
||||
|
||||
return redirect()->route('users.index')->with('error', trans('admin/users/message.user_not_found'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -731,30 +731,38 @@ class UsersController extends Controller
|
|||
if (isset($user->id)) {
|
||||
$this->authorize('update', $user);
|
||||
|
||||
foreach (Input::file('file') as $file) {
|
||||
if (!$request->has('file')) {
|
||||
\Log::debug('No file selected: ');
|
||||
\Log::debug(print_r($request, true));
|
||||
return redirect()->back()->with('error', 'No file submitted.');
|
||||
|
||||
$extension = $file->getClientOriginalExtension();
|
||||
$filename = 'user-' . $user->id . '-' . str_random(8);
|
||||
$filename .= '-' . str_slug($file->getClientOriginalName()) . '.' . $extension;
|
||||
$upload_success = $file->move($destinationPath, $filename);
|
||||
} else {
|
||||
foreach ($request->file('file') as $file) {
|
||||
|
||||
//Log the uploaded file to the log
|
||||
$logAction = new Actionlog();
|
||||
$logAction->item_id = $user->id;
|
||||
$logAction->item_type = User::class;
|
||||
$logAction->user_id = Auth::user()->id;
|
||||
$logAction->note = e(Input::get('notes'));
|
||||
$logAction->target_id = null;
|
||||
$logAction->created_at = date("Y-m-d H:i:s");
|
||||
$logAction->filename = $filename;
|
||||
$logAction->action_type = 'uploaded';
|
||||
$logAction->save();
|
||||
$extension = $file->getClientOriginalExtension();
|
||||
$filename = 'user-' . $user->id . '-' . str_random(8);
|
||||
$filename .= '-' . str_slug($file->getClientOriginalName()) . '.' . $extension;
|
||||
$upload_success = $file->move($destinationPath, $filename);
|
||||
|
||||
//Log the uploaded file to the log
|
||||
$logAction = new Actionlog();
|
||||
$logAction->item_id = $user->id;
|
||||
$logAction->item_type = User::class;
|
||||
$logAction->target_type = User::class;
|
||||
$logAction->target_id = $user->id;
|
||||
$logAction->user_id = Auth::user()->id;
|
||||
$logAction->note = $request->input('notes');
|
||||
$logAction->created_at = date("Y-m-d H:i:s");
|
||||
$logAction->filename = $filename;
|
||||
$logAction->action_type = 'uploaded';
|
||||
$logAction->save();
|
||||
|
||||
}
|
||||
return redirect()->back()->with('success', 'File uploaded');
|
||||
}
|
||||
return JsonResponse::create($logAction);
|
||||
|
||||
}
|
||||
return JsonResponse::create(["error" => "Failed validation: ".print_r($logAction->getErrors(), true)], 500);
|
||||
return redirect()->route('users.index')->with('error', 'Error uploading files');
|
||||
}
|
||||
|
||||
|
||||
|
@ -782,10 +790,8 @@ class UsersController extends Controller
|
|||
$log->delete();
|
||||
return redirect()->back()->with('success', trans('admin/users/message.deletefile.success'));
|
||||
}
|
||||
// Prepare the error message
|
||||
$error = trans('admin/users/message.does_not_exist', compact('id'));
|
||||
// Redirect to the licence management page
|
||||
return redirect()->route('users.index')->with('error', $error);
|
||||
|
||||
return redirect()->route('users.index')->with('error', trans('admin/users/message.does_not_exist'));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ class ActionlogsTransformer
|
|||
|
||||
'item' => ($actionlog->item) ? [
|
||||
'id' => (int) $actionlog->item->id,
|
||||
'name' => e($actionlog->item->getDisplayNameAttribute()),
|
||||
'name' => ($actionlog->itemType()=='user') ? $actionlog->filename : e($actionlog->item->getDisplayNameAttribute()),
|
||||
'type' => e($actionlog->itemType()),
|
||||
] : null,
|
||||
'location' => ($actionlog->location) ? [
|
||||
|
|
|
@ -67,7 +67,7 @@ class AssetModelPresenter extends Presenter
|
|||
public function imageUrl()
|
||||
{
|
||||
if (!empty($this->image)) {
|
||||
return '<img src="' . url('/') . '/uploads/models/' . $this->image . '" height=50 width=50>';
|
||||
return '<img src="' . url('/') . '/uploads/models/' . $this->image . '" alt="'.$this->name.'" height="50" width="50">';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
|
|
@ -324,12 +324,14 @@ class AssetPresenter extends Presenter
|
|||
$imagePath = '';
|
||||
if ($this->image && !empty($this->image)) {
|
||||
$imagePath = $this->image;
|
||||
$imageAlt = $this->name;
|
||||
} elseif ($this->model && !empty($this->model->image)) {
|
||||
$imagePath = $this->model->image;
|
||||
$imageAlt = $this->model->name;
|
||||
}
|
||||
$url = config('app.url');
|
||||
if (!empty($imagePath)) {
|
||||
$imagePath = "<img src='{$url}/uploads/assets/{$imagePath}' height=50 width=50>";
|
||||
$imagePath = '<img src="'.$url.'/uploads/assets/'.$imagePath.' height="50" width="50" alt="'.$imageAlt.'">';
|
||||
}
|
||||
return $imagePath;
|
||||
}
|
||||
|
@ -516,6 +518,6 @@ class AssetPresenter extends Presenter
|
|||
|
||||
public function glyph()
|
||||
{
|
||||
return '<i class="fa fa-barcode"></i>';
|
||||
return '<i class="fa fa-barcode" aria-hidden="true"></i>';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ class CompanyPresenter extends Presenter
|
|||
"field" => "assets_count",
|
||||
"searchable" => false,
|
||||
"sortable" => true,
|
||||
"title" => '<span class="hidden-xs"><i class="fa fa-barcode"></i></span><span class="hidden-md hidden-lg">'.trans('general.assets').'</span>',
|
||||
"title" => '<span class="hidden-xs"><i class="fa fa-barcode" aria-hidden="true"></i></span><span class="hidden-md hidden-lg">'.trans('general.assets').'</span>',
|
||||
"visible" => true,
|
||||
|
||||
],[
|
||||
|
|
|
@ -190,7 +190,7 @@ class LocationPresenter extends Presenter
|
|||
|
||||
public function glyph()
|
||||
{
|
||||
return '<i class="fa fa-map-marker"></i>';
|
||||
return '<i class="fa fa-map-marker" aria-hidden="true"></i>';
|
||||
}
|
||||
|
||||
public function fullName() {
|
||||
|
|
|
@ -353,6 +353,6 @@ class UserPresenter extends Presenter
|
|||
|
||||
public function glyph()
|
||||
{
|
||||
return '<i class="fa fa-user"></i>';
|
||||
return '<i class="fa fa-user" aria-hidden="true"></i>';
|
||||
}
|
||||
}
|
||||
|
|
5190
npm-shrinkwrap.json
generated
5190
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load diff
|
@ -35,8 +35,9 @@
|
|||
"jquery.iframe-transport": "^1.0.0",
|
||||
"less": "less/less.js#efa6eb5306f28a7ef7e235d79ce854b780345591",
|
||||
"less-loader": "^4.1.0",
|
||||
"list.js": "^1.5.0",
|
||||
"papaparse": "^4.3.3",
|
||||
"select2": "^4.0.3",
|
||||
"select2": "4.0.13",
|
||||
"tether": "^1.4.0",
|
||||
"vue-resource": "^1.3.3"
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ a, a:link, a:visited, .btn-primary.hover {
|
|||
background-color: var(--back-sub);
|
||||
color: var(--header);
|
||||
}
|
||||
.btn-primary, .btn-primary.hover, .btn-primary:active, .btn-primary:hover, .text-blue {
|
||||
.btn-primary, .btn-primary.hover, .btn-primary:active, .btn-primary:hover, .text-green {
|
||||
color: var(--text-main)!important;
|
||||
}
|
||||
#componentsTable>tbody>tr>td>nobr>a>i.fa {
|
||||
|
@ -130,10 +130,10 @@ input[type=text], input[type=search] {
|
|||
background-color: var(--back-main);
|
||||
color: var(--text-main);
|
||||
}
|
||||
.skin-blue .main-header .navbar .dropdown-menu li a {
|
||||
.skin-green .main-header .navbar .dropdown-menu li a {
|
||||
color: var(--header);
|
||||
}
|
||||
.skin-blue .sidebar-menu>li.active>a, .skin-blue .sidebar-menu>li:hover>a, .sidebar-toggle:hover {
|
||||
.skin-green .sidebar-menu>li.active>a, .skin-green .sidebar-menu>li:hover>a, .sidebar-toggle:hover {
|
||||
background-color: var(--header)!important;
|
||||
}
|
||||
.tab-content, .tab-pane {
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/css/skins/skin-black-dark.css
Normal file
BIN
public/css/skins/skin-black-dark.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-black-dark.css.map
Normal file
BIN
public/css/skins/skin-black-dark.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-black-light.css
Normal file
BIN
public/css/skins/skin-black-light.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-black-light.css.map
Normal file
BIN
public/css/skins/skin-black-light.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-black.css
Normal file
BIN
public/css/skins/skin-black.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-black.css.map
Normal file
BIN
public/css/skins/skin-black.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-blue-dark.css
Normal file
BIN
public/css/skins/skin-blue-dark.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-blue-dark.css.map
Normal file
BIN
public/css/skins/skin-blue-dark.css.map
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/css/skins/skin-blue-light.css.map
Normal file
BIN
public/css/skins/skin-blue-light.css.map
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/css/skins/skin-blue.css.map
Normal file
BIN
public/css/skins/skin-blue.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-contrast.css
Normal file
BIN
public/css/skins/skin-contrast.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-contrast.css.map
Normal file
BIN
public/css/skins/skin-contrast.css.map
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/css/skins/skin-green-dark.css.map
Normal file
BIN
public/css/skins/skin-green-dark.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-green-light.css
Normal file
BIN
public/css/skins/skin-green-light.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-green-light.css.map
Normal file
BIN
public/css/skins/skin-green-light.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-green.css
Normal file
BIN
public/css/skins/skin-green.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-green.css.map
Normal file
BIN
public/css/skins/skin-green.css.map
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/css/skins/skin-orange-dark.css.map
Normal file
BIN
public/css/skins/skin-orange-dark.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-orange-light.css
Normal file
BIN
public/css/skins/skin-orange-light.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-orange-light.css.map
Normal file
BIN
public/css/skins/skin-orange-light.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-orange.css
Normal file
BIN
public/css/skins/skin-orange.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-orange.css.map
Normal file
BIN
public/css/skins/skin-orange.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-purple-dark.css
Normal file
BIN
public/css/skins/skin-purple-dark.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-purple-dark.css.map
Normal file
BIN
public/css/skins/skin-purple-dark.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-purple-light.css
Normal file
BIN
public/css/skins/skin-purple-light.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-purple-light.css.map
Normal file
BIN
public/css/skins/skin-purple-light.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-purple.css
Normal file
BIN
public/css/skins/skin-purple.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-purple.css.map
Normal file
BIN
public/css/skins/skin-purple.css.map
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/css/skins/skin-red-dark.css.map
Normal file
BIN
public/css/skins/skin-red-dark.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-red-light.css
Normal file
BIN
public/css/skins/skin-red-light.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-red-light.css.map
Normal file
BIN
public/css/skins/skin-red-light.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-red.css
Normal file
BIN
public/css/skins/skin-red.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-red.css.map
Normal file
BIN
public/css/skins/skin-red.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-yellow-dark.css
Normal file
BIN
public/css/skins/skin-yellow-dark.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-yellow-dark.css.map
Normal file
BIN
public/css/skins/skin-yellow-dark.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-yellow-light.css
Normal file
BIN
public/css/skins/skin-yellow-light.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-yellow-light.css.map
Normal file
BIN
public/css/skins/skin-yellow-light.css.map
Normal file
Binary file not shown.
BIN
public/css/skins/skin-yellow.css
Normal file
BIN
public/css/skins/skin-yellow.css
Normal file
Binary file not shown.
BIN
public/css/skins/skin-yellow.css.map
Normal file
BIN
public/css/skins/skin-yellow.css.map
Normal file
Binary file not shown.
BIN
public/js/app.js
BIN
public/js/app.js
Binary file not shown.
BIN
public/js/bootstrap-table.js
vendored
BIN
public/js/bootstrap-table.js
vendored
Binary file not shown.
BIN
public/js/bootstrap/js/bootstrap.js
vendored
BIN
public/js/bootstrap/js/bootstrap.js
vendored
Binary file not shown.
BIN
public/js/bootstrap/js/bootstrap.min.js
vendored
BIN
public/js/bootstrap/js/bootstrap.min.js
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/js/ekko-lightbox.min.js
vendored
BIN
public/js/ekko-lightbox.min.js
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/js/plugins/timepicker/bootstrap-timepicker.js
vendored
BIN
public/js/plugins/timepicker/bootstrap-timepicker.js
vendored
Binary file not shown.
Binary file not shown.
BIN
public/js/vue.js
BIN
public/js/vue.js
Binary file not shown.
|
@ -1,14 +1,44 @@
|
|||
{
|
||||
"/js/build/vue.js": "/js/build/vue.js?id=d56de5a98803eaa78eda",
|
||||
"/css/AdminLTE.css": "/css/AdminLTE.css?id=5e72463a66acbcc740d5",
|
||||
"/js/build/vue.js": "/js/build/vue.js?id=0f14185e42c7104f84ac",
|
||||
"/css/AdminLTE.css": "/css/AdminLTE.css?id=56b8066cfbc70df10545",
|
||||
"/css/app.css": "/css/app.css?id=407edb63cc6b6dc62405",
|
||||
"/css/overrides.css": "/css/overrides.css?id=2d81c3704393bac77011",
|
||||
"/js/build/vue.js.map": "/js/build/vue.js.map?id=bd9e0251bec521f1d018",
|
||||
"/css/AdminLTE.css.map": "/css/AdminLTE.css.map?id=0be7790b84909dca6a0a",
|
||||
"/css/overrides.css": "/css/overrides.css?id=f4993c1ca8a18864253d",
|
||||
"/css/skins/skin-blue.css": "/css/skins/skin-blue.css?id=c28283a1d468e2337428",
|
||||
"/css/skins/skin-red.css": "/css/skins/skin-red.css?id=079dd6c501fa9ea60a98",
|
||||
"/css/skins/skin-contrast.css": "/css/skins/skin-contrast.css?id=47303dc15032d3ecb343",
|
||||
"/css/skins/skin-green.css": "/css/skins/skin-green.css?id=2c53f7ed585fcad563b2",
|
||||
"/css/skins/skin-green-dark.css": "/css/skins/skin-green-dark.css?id=cb34691dbbb72cae7f5f",
|
||||
"/css/skins/skin-black.css": "/css/skins/skin-black.css?id=1dfec89b8640b69dc0fc",
|
||||
"/css/skins/skin-black-dark.css": "/css/skins/skin-black-dark.css?id=2729852ce23eb6c53e1f",
|
||||
"/css/skins/skin-red-dark.css": "/css/skins/skin-red-dark.css?id=5c8c8a8612f7f6d249e9",
|
||||
"/css/skins/skin-purple.css": "/css/skins/skin-purple.css?id=c70f96a9bd3c18264998",
|
||||
"/css/skins/skin-purple-dark.css": "/css/skins/skin-purple-dark.css?id=ac1bf57c994303df68f9",
|
||||
"/css/skins/skin-yellow.css": "/css/skins/skin-yellow.css?id=4861a639314b1685a5b9",
|
||||
"/css/skins/skin-yellow-dark.css": "/css/skins/skin-yellow-dark.css?id=ef5c5bffa1729937cbda",
|
||||
"/css/skins/skin-blue-dark.css": "/css/skins/skin-blue-dark.css?id=d25c77d9c6f4cfe2efd4",
|
||||
"/css/skins/skin-orange-dark.css": "/css/skins/skin-orange-dark.css?id=abc219c1fed59cecb860",
|
||||
"/css/skins/skin-orange.css": "/css/skins/skin-orange.css?id=59664dbd286988d2a438",
|
||||
"/js/build/vue.js.map": "/js/build/vue.js.map?id=4c9dc902aba2bdf1573c",
|
||||
"/css/AdminLTE.css.map": "/css/AdminLTE.css.map?id=5a2d6f3c59191ce716e2",
|
||||
"/css/app.css.map": "/css/app.css.map?id=96b5c985e860716e6a16",
|
||||
"/css/overrides.css.map": "/css/overrides.css.map?id=f7ce9ca49027594ac402",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=98db4e9b7650453c8b00",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=ab131b69f6d45367c0aa",
|
||||
"/css/build/all.css": "/css/build/all.css?id=98db4e9b7650453c8b00",
|
||||
"/js/build/all.js": "/js/build/all.js?id=ab131b69f6d45367c0aa"
|
||||
"/css/overrides.css.map": "/css/overrides.css.map?id=c8c0d4bc9d470e05669e",
|
||||
"/css/skins/skin-blue.css.map": "/css/skins/skin-blue.css.map?id=129b9523e6ffd5683230",
|
||||
"/css/skins/skin-red.css.map": "/css/skins/skin-red.css.map?id=292dfa49bf2b6f23fa59",
|
||||
"/css/skins/skin-contrast.css.map": "/css/skins/skin-contrast.css.map?id=141c0891e3ed15673d22",
|
||||
"/css/skins/skin-green.css.map": "/css/skins/skin-green.css.map?id=50461604ff9b1934d580",
|
||||
"/css/skins/skin-green-dark.css.map": "/css/skins/skin-green-dark.css.map?id=988cf7da13d22c56bd8c",
|
||||
"/css/skins/skin-black.css.map": "/css/skins/skin-black.css.map?id=ad0bf20283280a01b34f",
|
||||
"/css/skins/skin-black-dark.css.map": "/css/skins/skin-black-dark.css.map?id=f15511c14609c70c641f",
|
||||
"/css/skins/skin-red-dark.css.map": "/css/skins/skin-red-dark.css.map?id=de49574e94466ac1b2c5",
|
||||
"/css/skins/skin-purple.css.map": "/css/skins/skin-purple.css.map?id=98a83bd7f857ca052319",
|
||||
"/css/skins/skin-purple-dark.css.map": "/css/skins/skin-purple-dark.css.map?id=9bd3178f252823e99c70",
|
||||
"/css/skins/skin-yellow.css.map": "/css/skins/skin-yellow.css.map?id=c9fcf2ca55e830230e18",
|
||||
"/css/skins/skin-yellow-dark.css.map": "/css/skins/skin-yellow-dark.css.map?id=8ef6b327183be556c708",
|
||||
"/css/skins/skin-blue-dark.css.map": "/css/skins/skin-blue-dark.css.map?id=32784cb5d02773eb0e69",
|
||||
"/css/skins/skin-orange-dark.css.map": "/css/skins/skin-orange-dark.css.map?id=68b998638217fd08ef29",
|
||||
"/css/skins/skin-orange.css.map": "/css/skins/skin-orange.css.map?id=f90fda3cc0a48c048a9e",
|
||||
"/css/dist/all.css": "/css/dist/all.css?id=9c6b075989db098ee828",
|
||||
"/js/dist/all.js": "/js/dist/all.js?id=537ba021a5bbcf29b28a",
|
||||
"/css/build/all.css": "/css/build/all.css?id=9c6b075989db098ee828",
|
||||
"/js/build/all.js": "/js/build/all.js?id=537ba021a5bbcf29b28a"
|
||||
}
|
2
resources/assets/js/bootstrap-js.js
vendored
2
resources/assets/js/bootstrap-js.js
vendored
|
@ -1788,7 +1788,7 @@ if (typeof jQuery === 'undefined') {
|
|||
placement: 'right',
|
||||
trigger: 'click',
|
||||
content: '',
|
||||
template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
|
||||
template: '<div class="popover" role="tooltip"><div class="arrow"></div><h2 class="popover-title"></h2><div class="popover-content"></div></div>'
|
||||
})
|
||||
|
||||
|
||||
|
|
2
resources/assets/js/bootstrap.min.js
vendored
2
resources/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@
|
|||
<div class="col-md-12" :class="alertType">
|
||||
<div class="alert" :class="alertClassName">
|
||||
<button type="button" class="close" @click="hideEvent">×</button>
|
||||
<i class="fa fa-check faa-pulse animated" v-show="alertType == 'success'"></i>
|
||||
<i class="fa fa-check faa-pulse animated" aria-hidden="true" v-show="alertType == 'success'"></i>
|
||||
<strong>{{ title }} </strong>
|
||||
<slot></slot>
|
||||
</div>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div>
|
||||
<div v-if="tokens.length > 0">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Authorized Applications</div>
|
||||
<h2 class="panel-heading">Authorized Applications</h2>
|
||||
|
||||
<div class="panel-body">
|
||||
<!-- Authorized Tokens -->
|
||||
|
@ -21,7 +21,7 @@
|
|||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Scopes</th>
|
||||
<th></th>
|
||||
<th><span class="sr-only">Delete</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>
|
||||
<h2>
|
||||
OAuth Clients
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<a class="action-link" @click="showCreateClientForm">
|
||||
Create New Client
|
||||
|
@ -35,8 +35,8 @@
|
|||
<th>Client ID</th>
|
||||
<th>Name</th>
|
||||
<th>Secret</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th><span class="sr-only">Edit</span></th>
|
||||
<th><span class="sr-only">Delete</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
@ -83,7 +83,7 @@
|
|||
<div class="modal-header">
|
||||
<button type="button " class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
|
||||
<h4 class="modal-title">
|
||||
<h2 class="modal-title">
|
||||
Create Client
|
||||
</h4>
|
||||
</div>
|
||||
|
@ -104,10 +104,10 @@
|
|||
<form class="form-horizontal" role="form">
|
||||
<!-- Name -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">Name</label>
|
||||
<label class="col-md-3 control-label" for="create-client-name">Name</label>
|
||||
|
||||
<div class="col-md-7">
|
||||
<input id="create-client-name" type="text" class="form-control"
|
||||
<input id="create-client-name" type="text" aria-label="create-client-name" class="form-control"
|
||||
@keyup.enter="store" v-model="createForm.name">
|
||||
|
||||
<span class="help-block">
|
||||
|
@ -118,10 +118,10 @@
|
|||
|
||||
<!-- Redirect URL -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">Redirect URL</label>
|
||||
<label class="col-md-3 control-label" for="redirect">Redirect URL</label>
|
||||
|
||||
<div class="col-md-7">
|
||||
<input type="text" class="form-control" name="redirect"
|
||||
<input type="text" class="form-control" aria-label="redirect" name="redirect"
|
||||
@keyup.enter="store" v-model="createForm.redirect">
|
||||
|
||||
<span class="help-block">
|
||||
|
@ -151,7 +151,7 @@
|
|||
<div class="modal-header">
|
||||
<button type="button " class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
|
||||
<h4 class="modal-title">
|
||||
<h2 class="modal-title">
|
||||
Edit Client
|
||||
</h4>
|
||||
</div>
|
||||
|
@ -172,10 +172,10 @@
|
|||
<form class="form-horizontal" role="form">
|
||||
<!-- Name -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">Name</label>
|
||||
<label class="col-md-3 control-label" for="edit-client-name">Name</label>
|
||||
|
||||
<div class="col-md-7">
|
||||
<input id="edit-client-name" type="text" class="form-control"
|
||||
<input id="edit-client-name" type="text" aria-label="edit-client-name" class="form-control"
|
||||
@keyup.enter="update" v-model="editForm.name">
|
||||
|
||||
<span class="help-block">
|
||||
|
@ -186,10 +186,10 @@
|
|||
|
||||
<!-- Redirect URL -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">Redirect URL</label>
|
||||
<label class="col-md-3 control-label" for="redirect">Redirect URL</label>
|
||||
|
||||
<div class="col-md-7">
|
||||
<input type="text" class="form-control" name="redirect"
|
||||
<input type="text" class="form-control" name="redirect" aria-label="redirect"
|
||||
@keyup.enter="update" v-model="editForm.redirect">
|
||||
|
||||
<span class="help-block">
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<span>
|
||||
<h2>
|
||||
Personal Access Tokens
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<a class="action-link" @click="showCreateTokenForm">
|
||||
Create New Token
|
||||
|
@ -35,7 +35,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th></th>
|
||||
<th><span class="sr-only">Delete</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
|||
<div class="modal-header">
|
||||
<button type="button " class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
|
||||
<h4 class="modal-title">
|
||||
<h2 class="modal-title">
|
||||
Create Token
|
||||
</h4>
|
||||
</div>
|
||||
|
@ -87,10 +87,10 @@
|
|||
<form class="form-horizontal" role="form" @submit.prevent="store">
|
||||
<!-- Name -->
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Name</label>
|
||||
<label class="col-md-4 control-label" for="name">Name</label>
|
||||
|
||||
<div class="col-md-6">
|
||||
<input id="create-token-name" type="text" class="form-control" name="name" v-model="form.name">
|
||||
<input id="create-token-name" type="text" aria-label="name" class="form-control" name="name" v-model="form.name">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -117,7 +117,7 @@
|
|||
|
||||
<!-- Modal Actions -->
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn primary" data-dismiss="modal">Close</button>
|
||||
|
||||
<button type="button" class="btn btn-primary" @click="store">
|
||||
Create
|
||||
|
@ -134,7 +134,7 @@
|
|||
<div class="modal-header">
|
||||
<button type="button " class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
|
||||
<h4 class="modal-title">
|
||||
<h2 class="modal-title">
|
||||
Personal Access Token
|
||||
</h4>
|
||||
</div>
|
||||
|
|
|
@ -22,7 +22,7 @@ License: https://github.com/ashleydw/lightbox/blob/master/LICENSE
|
|||
this.$element = $(element);
|
||||
content = '';
|
||||
this.modal_id = this.options.modal_id ? this.options.modal_id : 'ekkoLightbox-' + Math.floor((Math.random() * 1000) + 1);
|
||||
header = '<div class="modal-header"' + (this.options.title || this.options.always_show_close ? '' : ' style="display:none"') + '><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title">' + (this.options.title || " ") + '</h4></div>';
|
||||
header = '<div class="modal-header"' + (this.options.title || this.options.always_show_close ? '' : ' style="display:none"') + '><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h2 class="modal-title">' + (this.options.title || " ") + '</h4></div>';
|
||||
footer = '<div class="modal-footer"' + (this.options.footer ? '' : ' style="display:none"') + '>' + this.options.footer + '</div>';
|
||||
$(document.body).append('<div id="' + this.modal_id + '" class="ekko-lightbox modal fade" tabindex="-1"><div class="modal-dialog"><div class="modal-content">' + header + '<div class="modal-body"><div class="ekko-lightbox-container"><div></div></div></div>' + footer + '</div></div></div>');
|
||||
this.modal = $('#' + this.modal_id);
|
||||
|
|
2
resources/assets/js/ekko-lightbox.min.js
vendored
2
resources/assets/js/ekko-lightbox.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -14415,9 +14415,9 @@ function program7(depth0,data) {
|
|||
buffer += "<li>\n <div class=\"bootstrap-wysihtml5-insert-image-modal modal fade\" data-wysihtml5-dialog=\"insertImage\">\n <div class=\"modal-dialog ";
|
||||
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 && depth0.options)),stack1 == null || stack1 === false ? stack1 : stack1.toolbar)),stack1 == null || stack1 === false ? stack1 : stack1.smallmodals), {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data});
|
||||
if(stack1 || stack1 === 0) { buffer += stack1; }
|
||||
buffer += "\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <a class=\"close\" data-dismiss=\"modal\">×</a>\n <h3>"
|
||||
buffer += "\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <a class=\"close\" data-dismiss=\"modal\">×</a>\n <h2>"
|
||||
+ escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.locale)),stack1 == null || stack1 === false ? stack1 : stack1.image)),stack1 == null || stack1 === false ? stack1 : stack1.insert)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
+ "</h3>\n </div>\n <div class=\"modal-body\">\n <div class=\"form-group\">\n <input value=\"http://\" class=\"bootstrap-wysihtml5-insert-image-url form-control\" data-wysihtml5-dialog-field=\"src\">\n </div> \n </div>\n <div class=\"modal-footer\">\n <a class=\"btn btn-default\" data-dismiss=\"modal\" data-wysihtml5-dialog-action=\"cancel\" href=\"#\">"
|
||||
+ "</h2>\n </div>\n <div class=\"modal-body\">\n <div class=\"form-group\">\n <input value=\"http://\" class=\"bootstrap-wysihtml5-insert-image-url form-control\" data-wysihtml5-dialog-field=\"src\">\n </div> \n </div>\n <div class=\"modal-footer\">\n <a class=\"btn btn-default\" data-dismiss=\"modal\" data-wysihtml5-dialog-action=\"cancel\" href=\"#\">"
|
||||
+ escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.locale)),stack1 == null || stack1 === false ? stack1 : stack1.image)),stack1 == null || stack1 === false ? stack1 : stack1.cancel)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
+ "</a>\n <a class=\"btn btn-primary\" data-dismiss=\"modal\" data-wysihtml5-dialog-action=\"save\" href=\"#\">"
|
||||
+ escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.locale)),stack1 == null || stack1 === false ? stack1 : stack1.image)),stack1 == null || stack1 === false ? stack1 : stack1.insert)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
|
@ -14467,9 +14467,9 @@ function program7(depth0,data) {
|
|||
buffer += "<li>\n <div class=\"bootstrap-wysihtml5-insert-link-modal modal fade\" data-wysihtml5-dialog=\"createLink\">\n <div class=\"modal-dialog ";
|
||||
stack1 = helpers['if'].call(depth0, ((stack1 = ((stack1 = (depth0 && depth0.options)),stack1 == null || stack1 === false ? stack1 : stack1.toolbar)),stack1 == null || stack1 === false ? stack1 : stack1.smallmodals), {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data});
|
||||
if(stack1 || stack1 === 0) { buffer += stack1; }
|
||||
buffer += "\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <a class=\"close\" data-dismiss=\"modal\">×</a>\n <h3>"
|
||||
buffer += "\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <a class=\"close\" data-dismiss=\"modal\">×</a>\n <h2>"
|
||||
+ escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.locale)),stack1 == null || stack1 === false ? stack1 : stack1.link)),stack1 == null || stack1 === false ? stack1 : stack1.insert)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
+ "</h3>\n </div>\n <div class=\"modal-body\">\n <div class=\"form-group\">\n <input value=\"http://\" class=\"bootstrap-wysihtml5-insert-link-url form-control\" data-wysihtml5-dialog-field=\"href\">\n </div> \n <div class=\"checkbox\">\n <label> \n <input type=\"checkbox\" class=\"bootstrap-wysihtml5-insert-link-target\" checked>"
|
||||
+ "</h2>\n </div>\n <div class=\"modal-body\">\n <div class=\"form-group\">\n <input value=\"http://\" class=\"bootstrap-wysihtml5-insert-link-url form-control\" data-wysihtml5-dialog-field=\"href\">\n </div> \n <div class=\"checkbox\">\n <label> \n <input type=\"checkbox\" class=\"bootstrap-wysihtml5-insert-link-target\" checked>"
|
||||
+ escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.locale)),stack1 == null || stack1 === false ? stack1 : stack1.link)),stack1 == null || stack1 === false ? stack1 : stack1.target)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
+ "\n </label>\n </div>\n </div>\n <div class=\"modal-footer\">\n <a class=\"btn btn-default\" data-dismiss=\"modal\" data-wysihtml5-dialog-action=\"cancel\" href=\"#\">"
|
||||
+ escapeExpression(((stack1 = ((stack1 = ((stack1 = (depth0 && depth0.locale)),stack1 == null || stack1 === false ? stack1 : stack1.link)),stack1 == null || stack1 === false ? stack1 : stack1.cancel)),typeof stack1 === functionType ? stack1.apply(depth0) : stack1))
|
||||
|
|
File diff suppressed because one or more lines are too long
15692
resources/assets/js/plugins/chartjs/Chart.js
vendored
15692
resources/assets/js/plugins/chartjs/Chart.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -328,7 +328,7 @@
|
|||
template = '<div class="bootstrap-timepicker-widget modal hide fade in" data-backdrop="'+ (this.modalBackdrop ? 'true' : 'false') +'">'+
|
||||
'<div class="modal-header">'+
|
||||
'<a href="#" class="close" data-dismiss="modal">×</a>'+
|
||||
'<h3>Pick a Time</h3>'+
|
||||
'<h2>Pick a Time</h2>'+
|
||||
'</div>'+
|
||||
'<div class="modal-content">'+
|
||||
templateContent +
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -248,7 +248,7 @@ $(document).ready(function () {
|
|||
var markup = "<div class='clearfix'>" ;
|
||||
markup +="<div class='pull-left' style='padding-right: 10px;'>";
|
||||
if (datalist.image) {
|
||||
markup += "<div style='width: 30px;'><img src='" + datalist.image + "' style='max-height: 20px; max-width: 30px;'></div>";
|
||||
markup += "<div style='width: 30px;'><img src='" + datalist.image + "' style='max-height: 20px; max-width: 30px;' alt='" + datalist.text + "'></div>";
|
||||
} else {
|
||||
markup += "<div style='height: 20px; width: 30px;'></div>";
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue