Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Doc/Changelog#Sprint3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog (บันทึกการเปลี่ยนแปลงระบบ)

**📌เพิ่มฟังก์ชัน**
* แสดงรายละเอียด highlight
* Menu highlight
* Add highlight
* Tag


**📌Database ที่เพิ่ม**
*
26 changes: 26 additions & 0 deletions Doc/User_Manual#Sprint3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 📃คู่มือการใช้งานระบบ (User Manual)
ชื่อระบบ : Research Document Management System

## ขั้นตอนการใช้งานและการทดสอบ
### **📌สำหรับผู้ใช้งานทั่วไป(User)**
เนื้อหา : เพื่แแสดงรายละเอียดเพิ่มเติมเกี่ยวกับ ข้อมูล

1. กดที่ highlight เพื่อดูรายละเอียด

2. กด tag เพื่อดู tag ที่เกี่ยวข้องเพิ่มเติม



### **📌สำหรับ Administrative staff**
เนื้อหา :
1. เข้าหน้า main page และกด login

2. เข้าใช้งานในฐานะ Administrative staff

3. ไปที่ menu highlight

***Manage Highlight (administrative staff)**
เนื้อหา :
1.
2.

49 changes: 49 additions & 0 deletions Doc/User_Manual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

# **คู่มือการใช้งานระบบ(User Manual)**
เอกสารนี้เป็นคู่มือสำหรับการใช้งานระบบ Research Information Management System

# เครื่องมือท่ใช้ในการพัฒนา
* XAMPP ใช้ในการจำลองเว็บเซิร์ฟเวอร์
* Visual Studio Code ใช้ในการเขียนโปรแกรม
* Git Hub Desktop ใช้ในการอัปโหลดไฟล์ลง git

## 1. การเปลี่ยนภาษา
### ภาพร่วม
ช่วให้ผู้ใช้งนสามารถเปลี่ยนภาษาได้ตอลดเวลาและทุกส่วนในเว็บไซต์ เพื่อความสะดวกในการใช้งาน
### การใช้งาน
1. ไปที่ URL: http://127.0.0.1:8000/ เพื่อเข้าสู่เว็บไซต์
2. กดเมนูเปลี่ยนภาษา
3. เลือกภาษาที่ต้องการ

## 2. highlighs
### ภาพร่วม
ช่วยให้ Admin แก้ไข highlighs ได้สะดวกมากขึ้น
### การใช้งาน
1. ไปที่ URL: http://127.0.0.1:8000/ เพื่อเข้าสู่เว็บไซต์
2. Login ในฐานนะ Admin
3. เพิ่มหรือแก้ไขข้อมูลในส่วนของ Highlighs
=======
# **คู่มือการใช้งานระบบ(User Manual)**
เอกสารนี้เป็นคู่มือสำหรับการใช้งานระบบ Research Information Management System

# เครื่องมือท่ใช้ในการพัฒนา
* XAMPP ใช้ในการจำลองเว็บเซิร์ฟเวอร์
* Visual Studio Code ใช้ในการเขียนโปรแกรม
* Git Hub Desktop ใช้ในการอัปโหลดไฟล์ลง git

## 1. การเปลี่ยนภาษา
### ภาพร่วม
ช่วให้ผู้ใช้งนสามารถเปลี่ยนภาษาได้ตอลดเวลาและทุกส่วนในเว็บไซต์ เพื่อความสะดวกในการใช้งาน
### การใช้งาน
1. ไปที่ URL: http://127.0.0.1:8000/ เพื่อเข้าสู่เว็บไซต์
2. กดเมนูเปลี่ยนภาษา
3. เลือกภาษาที่ต้องการ

## 2. highlighs
### ภาพร่วม
ช่วยให้ Admin แก้ไข highlighs ได้สะดวกมากขึ้น
### การใช้งาน
1. ไปที่ URL: http://127.0.0.1:8000/ เพื่อเข้าสู่เว็บไซต์
2. Login ในฐานนะ Admin
3. เพิ่มหรือแก้ไขข้อมูลในส่วนของ Highlighs

15 changes: 15 additions & 0 deletions Initial_project/lib/๊User_Manual_Sprint2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# **คู่มือการใช้งานระบบ(User Manual)**
เอกสารนี้เป็นคู่มือสำหรับการใช้งานระบบ Research Information Management System

# เครื่องมือท่ใช้ในการพัฒนา
* XAMPP ใช้ในการจำลองเว็บเซิร์ฟเวอร์
* Visual Studio Code ใช้ในการเขียนโปรแกรม
* Git Hub Desktop ใช้ในการอัปโหลดไฟล์ลง git

## 1. การเปลี่ยนภาษา
### ภาพร่วม
ช่วให้ผู้ใช้งานสามารถเปลี่ยนภาษาได้ตอลดเวลาและทุกส่วนในเว็บไซต์ เพื่อความสะดวกในการใช้งาน
### การใช้งาน
1. ไปที่ URL: http://127.0.0.1:8000/ เพื่อเข้าสู่เว็บไซต์
2. กดเมนูเปลี่ยนภาษา
3. เลือกภาษาที่ต้องการ
28 changes: 28 additions & 0 deletions Initial_project/resources/views/researchers.blade.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
@extends('layouts.layout')
@section('content')
<div class="container card-2">


<p class="title"> Researchers </p>
@foreach($request as $res)
<span>
<ion-icon name="caret-forward-outline" size="small"></ion-icon> {{$res->program_name_en}}

<p class="title"> {{ trans('message.Researchers') }} </p>

<p class="title"> Researchers </p>
@foreach($request as $res)
<span>
<ion-icon name="caret-forward-outline" size="small"></ion-icon> {{$res->program_name_en}}

@else
<ion-icon name="caret-forward-outline" size="small"></ion-icon> {{$res->program_name_th}}
@endif


</span>
<div class="d-flex">
<div class="ml-auto">
<form class="row row-cols-lg-auto g-3" method="GET" action="{{ route('searchresearchers',['id'=>$res->id])}}">
<div class="col-md-8">
<div class="input-group">

<input type="text" class="form-control" name="textsearch" placeholder="Research interests">

<input type="text" class="form-control" name="textsearch" placeholder={{ trans('message.researchInterest') }}>

<input type="text" class="form-control" name="textsearch" placeholder="Research interests">

</div>
</div>
<!-- <div class="col-12">
Expand All @@ -24,7 +45,14 @@
</select>
</div> -->
<div class="col-md-4">


<button type="submit" class="btn btn-outline-primary">Search</button>

<button type="submit" class="btn btn-outline-primary"> {{ trans('message.search') }}</button>

<button type="submit" class="btn btn-outline-primary">Search</button>

</div>
</form>
</div>
Expand Down
1 change: 1 addition & 0 deletions code/app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class Handler extends ExceptionHandler
{

/**
* A list of the exception types that are not reported.
*
Expand Down
10 changes: 10 additions & 0 deletions code/app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,16 @@ public function index()

//$key="watchara";
//return response()->json($bb);

return view('home', compact('papers'))->with('year', json_encode($year, JSON_NUMERIC_CHECK))

//Highlights
// Fetch active highlights sorted by priority
$highlights = Highlight::orderBy('priority', 'asc')->get();


return view('home', compact('papers', 'highlights'))->with('year', json_encode($year, JSON_NUMERIC_CHECK))

->with('paper_tci', json_encode($paper_tci, JSON_NUMERIC_CHECK))
->with('paper_scopus', json_encode($paper_scopus, JSON_NUMERIC_CHECK))
->with('paper_wos', json_encode($paper_wos, JSON_NUMERIC_CHECK))
Expand All @@ -198,6 +202,7 @@ public function index()
// return $papers;
// (DB::raw('YEAR(paper_yearpub)')
//return view('home',compact('papers'));


//Highlights
// Fetch active highlights sorted by priority
Expand All @@ -220,6 +225,7 @@ public function index()
->with('paper_tci_numall', json_encode($paper_tci_numall, JSON_NUMERIC_CHECK))
->with('paper_scopus_numall', json_encode($paper_scopus_numall, JSON_NUMERIC_CHECK))
->with('paper_wos_numall', json_encode($paper_wos_numall, JSON_NUMERIC_CHECK));

}

public function getnum()
Expand All @@ -238,7 +244,11 @@ public function getnum()

//return $paper_tci;




//

$paper_wos = Paper::whereHas('source', function ($query) {
return $query->where('source_data_id', '=', 2);
})->whereIn('paper_type', ['Conference Proceeding', 'Journal'])->count();
Expand Down
2 changes: 2 additions & 0 deletions code/database/seeders/PermissionTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ public function run()
'departments-create',
'departments-edit',
'departments-delete',

'highlights-list',
'highlights-create',
'highlights-edit',
'highlights-delete',

];

foreach ($data as $permission) {
Expand Down
16 changes: 8 additions & 8 deletions code/lib/lib_bibtex.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Bibtex {
var $usedCnt = 0;


//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Constructor
//////////////////////////////////////////////////////////////////////////////
function __construct() {
Expand Down Expand Up @@ -112,37 +112,37 @@ function Parse($pathname) {
$line = preg_replace($pattern, $replacement, $line);

$pattern = "/\{\\\'(\w+)\}/";
$replacement = '&${1}acute;'; // for: �
$replacement = '&${1}acute;'; // for: �
$line = preg_replace($pattern, $replacement, $line);
$pattern = "/\\\'\{(\w+)\}/";
$line = preg_replace($pattern, $replacement, $line);

$pattern = "/\{\\\`(\w+)\}/";
$replacement = '&${1}grave;'; // for: �
$replacement = '&${1}grave;'; // for: �
$line = preg_replace($pattern, $replacement, $line);

$pattern = "/\{\\\^(\w+)\}/";
$replacement = '&${1}circ;'; // for: � -- needs to be re-checked, somehow, doesnt always work (jv, 2015-11-12)
$replacement = '&${1}circ;'; // for: � -- needs to be re-checked, somehow, doesnt always work (jv, 2015-11-12)
$line = preg_replace($pattern, $replacement, $line);

$pattern = '/\{\\\"(\w+)\}/';
$replacement = '&${1}uml;'; // for: �
$replacement = '&${1}uml;'; // for: �
$line = preg_replace($pattern, $replacement, $line);
$pattern = '/\\\"\{[\\\]?(\w+)\}/';
$line = preg_replace($pattern, $replacement, $line);

$replacement = '&ccedil;'; // for: �
$replacement = '&ccedil;'; // for: �
$line = str_replace('\cc', $replacement, $line);
$line = preg_replace($pattern, $replacement, $line);
$pattern = '/\\\c\{c\}/';
$line = preg_replace($pattern, $replacement, $line);

$pattern = "/\{\\\\[o]{1}\}/";
$replacement = '&oslash;'; // for: �
$replacement = '&oslash;'; // for: �
$line = preg_replace($pattern, $replacement, $line);

$pattern = "/\{\\\\[O]{1}\}/";
$replacement = '&Oslash;'; // for: �
$replacement = '&Oslash;'; // for: �
$line = preg_replace($pattern, $replacement, $line);

$pattern = '/\{\\\noopsort\{\w+\}\}/'; // remove meta-tag 'noopsort' (currently not supported)
Expand Down
3 changes: 3 additions & 0 deletions code/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,11 @@ Colors:
border-bottom-color: #959595;
}



/***************************************** ที่ออกแบบใหม่แปลภาษาของLogin ************************************/
.language-switcher {

display: inline-flex;
border: 1px solid #c2c2c2;
border-radius: 20px;
Expand Down
2 changes: 2 additions & 0 deletions code/public/test.bib
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ @article{kittiphong2017a
doi = {10.1109/JCSSE.2017.8025918},
number = {3},
volume = {},

}
@article{kittiphong2020an on,
author = {Kittiphong Sengloiluean and Ngamnij Arch-int and Somjit Arch-int},
Expand All @@ -171,4 +172,5 @@ @article{antonio2019it
doi = {10.17705/1CAIS.04515},
number = {1},
volume = {45},

}
9 changes: 9 additions & 0 deletions code/resources/views/books/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,21 @@
<table id="example1" class="table table-striped">
<thead>
<tr>

<th>No.</th>
<th>ชื่อ</th>
<th>ปี(พ.ศ.)</th>
<th>แหล่งเผยแพร่</th>
<th>หน้า</th>
<th width="280px">Action</th>

<th>{{ trans('message.no') }}</th>
<th>{{ trans('message.name') }}</th>
<th>{{ trans('message.year') }}(พ.ศ.)</th>
<th>แหล่งเผยแพร่</th>
<th>หน้า</th>
<th width="280px">{{ trans('message.action') }}</th>

</tr>
<thead>
<tbody>
Expand Down
7 changes: 7 additions & 0 deletions code/resources/views/dashboards/users/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

@section('content')


<h3 style="padding-top: 10px;">ยินดีต้อนรับเข้าสู่ระบบจัดการข้อมูลวิจัยของสาขาวิชาวิทยาการคอมพิวเตอร์</h3>
<br>
<h4>สวัสดี {{Auth::user()->position_th}} {{Auth::user()->fname_th}} {{Auth::user()->lname_th}}</h2>


<h3 style="padding-top: 10px;">{{ trans('message.welcomeTextDashboard') }}</h3>
<br>

Expand All @@ -12,4 +18,5 @@
<h4>{{ trans('message.hello') }} {{Auth::user()->position_th}} {{Auth::user()->fname_th}} {{Auth::user()->lname_th}}</h2>
@endif


@endsection
Loading