Structuration
This commit is contained in:
parent
1ef73b1a2f
commit
6b0129987c
16
components/school-info.riot
Normal file
16
components/school-info.riot
Normal 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>
|
@ -7,9 +7,9 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import model from './modelSearch.js';
|
import model from '../javascript/modelSearch.js';
|
||||||
import Controller from './controllerSearch.js';
|
import Controller from '../javascript/controllerSearch.js';
|
||||||
import View from './viewSearch.js';
|
import View from '../javascript/viewSearch.js';
|
||||||
export default function search(){
|
export default function search(){
|
||||||
return {
|
return {
|
||||||
onBeforeMount(props, state) {
|
onBeforeMount(props, state) {
|
@ -1,16 +1,16 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Parcoursup</title>
|
<title>Parcoursup</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<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="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>
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<search></search>
|
<search></search>
|
||||||
|
<script src="javascript/school-info.js" type="javascript"></script>
|
||||||
<script>
|
<script>
|
||||||
riot.compile().then(() => {
|
riot.compile().then(() => {
|
||||||
riot.mount('search', {
|
riot.mount('search', {
|
||||||
|
10
javascript/school-info.js
Normal file
10
javascript/school-info.js
Normal 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
0
style/parcoursup.css
Normal file
Loading…
Reference in New Issue
Block a user