Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
a827a998
Commit
a827a998
authored
Sep 28, 2022
by
Ade Fikriatul Ilmi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menambahkan site title
parent
dfc1191d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
258 additions
and
146 deletions
+258
-146
empty.jpg
assets/file/empty.jpg
+0
-0
setting_api.dart
lib/api/setting_api.dart
+4
-4
admin_setting.dart
lib/dashboard/admin/admin_setting.dart
+253
-142
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
assets/file/empty.jpg
0 → 100644
View file @
a827a998
37.7 KB
lib/api/setting_api.dart
View file @
a827a998
...
...
@@ -27,18 +27,18 @@ Future<bool> createSetting(im, tt, em, no) async {
}
}
Future
<
bool
>
updateSetting
(
id
,
image
,
name
,
title
,
email
,
no
,)
async
{
Future
<
bool
>
updateSetting
(
id
,
title
,
email
,
no
,)
async
{
final
response
=
await
http
.
put
(
Uri
.
parse
(
'
$cmd
/setting/updateSetting'
),
body:
jsonEncode
({
"idsetting"
:
id
,
"image"
:
image
,
"name"
:
name
,
//
"image": image,
//
"name": name,
"title"
:
title
,
// "tagline": tagline,
"email"
:
email
,
"no"
:
no
,
"idrole"
:
"R001"
,
}),
headers:
{
'Content-type'
:
'application/json; charset=UTF-8'
,
...
...
lib/dashboard/admin/admin_setting.dart
View file @
a827a998
This diff is collapsed.
Click to expand it.
pubspec.yaml
View file @
a827a998
...
...
@@ -81,6 +81,7 @@ flutter:
uses-material-design
:
true
assets
:
-
assets/file/
-
assets/icons/
-
assets/logo/
-
assets/images/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment