Structuration

This commit is contained in:
HORVILLE 2023-03-25 20:29:49 +01:00
parent 1ef73b1a2f
commit 6b0129987c
8 changed files with 32 additions and 6 deletions

View File

@ -0,0 +1,16 @@
<school-info>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.3/css/bulma.min.css">
<div>
<div>
</div>
</div>
<script>
export default {
onMounted() {
}
}
</script>
</school-info>

View File

@ -7,9 +7,9 @@
</label>
<script>
import model from './modelSearch.js';
import Controller from './controllerSearch.js';
import View from './viewSearch.js';
import model from '../javascript/modelSearch.js';
import Controller from '../javascript/controllerSearch.js';
import View from '../javascript/viewSearch.js';
export default function search(){
return {
onBeforeMount(props, state) {

View File

@ -1,16 +1,16 @@
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<title>Parcoursup</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="parcoursup.css">
<link rel="stylesheet" href="style/parcoursup.css">
<script src="search.riot" type="riot"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/riot/7.1.0/riot+compiler.min.js" integrity="sha512-sSGKGR9MvL0bUx3CScaBb56crXwspwDkL/JnB0IrLFQfw3uvSUlITQtsTtDZctshhv5wdwIt+qZeN8zThRF4Dw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
<search></search>
<script src="javascript/school-info.js" type="javascript"></script>
<script>
riot.compile().then(() => {
riot.mount('search', {

10
javascript/school-info.js Normal file
View File

@ -0,0 +1,10 @@
var schoolInfo = {
css: null,
exports: {
onMounted() {}
},
template: (template, expressionTypes, bindingTypes, getComponent) => template('<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.3/css/bulma.min.css"/><div><div></div></div>', []),
name: 'school-info'
};
export { schoolInfo as default };

0
style/parcoursup.css Normal file
View File