index.php 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. <?php
  2. session_start();
  3. if (isset($_SESSION['userlogin'], $_SESSION['userfirstname'])) {
  4. $email = $_SESSION['userlogin'];
  5. $name = $_SESSION['userfirstname'];
  6. }
  7. if (isset($_SESSION['canvas_id'])) {
  8. $canvas_id = $_SESSION['canvas_id'];
  9. }
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <meta name="description" content="Brainstorm about the ethical implications of your project and represent them in a canvas.">
  17. <meta name="keywords" content="ethics canvas, ethics, social entrepreneurship, research, innovation, privacy, business development, business model canvas, open source tools">
  18. <title>The Ethics Canvas</title>
  19. <!-- Favicon -->
  20. <link rel="icon" href="../icon/favicon.ico" />
  21. <!-- Bootstrap -->
  22. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous" />
  23. <!-- Google font -->
  24. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
  25. <!-- App style -->
  26. <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css" />
  27. <link rel="stylesheet" type="text/css" href="css/canvas.css" />
  28. <!-- PHP variables have to be retieved here as js variable -->
  29. <script type="text/javascript">
  30. var email_save_canvas = '<?php echo $email; ?>';
  31. var user_save_canvas = '<?php echo $name; ?>';
  32. var current_canvas_id = '<?php echo $canvas_id; ?>';
  33. </script>
  34. </head>
  35. <body>
  36. <div class="container-fluid">
  37. <form class="canvas-form form" action="mpdf/canvas-pdf.php" method="post" target="_blank">
  38. <!-- Username -->
  39. <!-- <input type="hidden" name="username" value="<?php echo($email) ?>" /> -->
  40. <input type="hidden" name="username" value="dave.lewis@adaptcentre.ie" />
  41. <!-- Canvas Form Header -->
  42. <div class="form-header row text-center">
  43. <div class="col-md-3">
  44. <!-- Logo -->
  45. <h1 class="page_title">
  46. <a class="logo" href="../index.html">
  47. <img src="icons/logo-black-text.svg" alt="Online Ethics Canvas"/>
  48. </a>
  49. </h1>
  50. </div>
  51. <div class="col-md-3 ">
  52. <label class="project_title">Project Title</label>
  53. <input class="proj_title" name="field_00[]" type="text"/>
  54. </div>
  55. <div class="col-md-3 ">
  56. <label class="project_date">Date</label>
  57. <input class="proj_date" name="field_00[]" type="date"/>
  58. </div>
  59. <!-- Login coming soon -->
  60. <div class="col-md-3 ">
  61. <?php if (!empty($name)) { ?>
  62. <!-- Bootstrap dropdown component -->
  63. <div class="dropdown user-profile">
  64. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  65. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  66. <span class="caret"></span>
  67. </button>
  68. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  69. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  70. <!-- <li><a href="#">Something else here</a></li> -->
  71. <li role="separator" class="divider"></li>
  72. <li><a id="logout" href="#">Log Out</a></li>
  73. </ul>
  74. </div>
  75. <?php } ?>
  76. </div>
  77. </div>
  78. <!-- Jump to -->
  79. <div class="jump-to row">
  80. <div class="col-s-12">
  81. <a href="#"><label class="jump_to"><img class="arrow-img rotate2" style="height: 20px; width: 20px;" src="icons/glyphicon-chevron-right.gif" />&nbsp;Jump to...</label></a>
  82. <!-- <a href="#"><label class="jump_to"><span class="jump-to-arrow glyphicon glyphicon-chevron-right"></span> Jump to...</label></a> -->
  83. <ul>
  84. <li>
  85. <a href="#row_saved_tags">Saved tags</a>
  86. </li>
  87. <li>
  88. <a href="#panel_01">1.&nbsp;&nbsp;Individuals Affected</a>
  89. </li>
  90. <li>
  91. <a href="#panel_02">2.&nbsp;&nbsp;Groups Affected</a>
  92. </li>
  93. <li>
  94. <a href="#panel_03">3.&nbsp;&nbsp;Behaviour</a>
  95. </li>
  96. <li>
  97. <a href="#panel_04">4.&nbsp;&nbsp;Relations</a>
  98. </li>
  99. <li>
  100. <a href="#panel_05">5.&nbsp;&nbsp;Worldviews</a>
  101. </li>
  102. <li>
  103. <a href="#panel_06">6.&nbsp;&nbsp;Group Conflicts</a>
  104. </li>
  105. <li>
  106. <a href="#panel_07">7.&nbsp;&nbsp;Product or Service Failure</a>
  107. </li>
  108. <li>
  109. <a href="#panel_08">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  110. </li>
  111. <li>
  112. <a href="#panel_09">9.&nbsp;&nbsp;What can we do?</a>
  113. </li>
  114. </ul>
  115. </div>
  116. </div>
  117. <!-- Saved tags -->
  118. <div class="saved-tags row" id="row_saved_tags">
  119. <div class="col-s-12">
  120. <label>Saved Tags</label>
  121. <p>You haven't added any tags yet.</p>
  122. </div>
  123. </div>
  124. <!-- LAYOUT -->
  125. <!-- ================ 7/5 col ================ -->
  126. <div class="canvas-box">
  127. <div class="masonry-layout7-5" id="7-5-col-layout">
  128. <div class="masonry-layout__panel" id="panel_01">
  129. <div class="card field_01 masonry-layout__panel-content bg--purple">
  130. <h2 class="field-title">
  131. <!-- FIELD -->
  132. <a href="#" data-toggle="tooltip" data-placement="left" title="Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Individuals Affected&nbsp;&nbsp;
  133. </h2>
  134. <!--
  135. <p class="intro">
  136. Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?
  137. </p>
  138. -->
  139. <!-- Into text toggle -->
  140. <!-- <button type="button" class="intro-toggle"> -->
  141. <!-- glyphicon glyphicon-minus-sign -->
  142. <!--
  143. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  144. <span class="intro-toggle-text">Hide description</span>
  145. </button>
  146. -->
  147. <!-- Item list in the field -->
  148. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  149. <ul id="field_01" class="item_list sortable connectedList">
  150. </ul>
  151. <!-- The Box With All User input Thing -->
  152. <!-- # Tag selected term link -->
  153. <p class="tag-selected-term">
  154. <a href="#">
  155. Tag selected term
  156. </a>
  157. </p>
  158. <div class="add_box">
  159. <!-- # Add idea link -->
  160. <p>
  161. <a class="add-idea" href="#">
  162. Add an idea
  163. </a>
  164. </p>
  165. <!-- # User Input -->
  166. <div class="user-input">
  167. <label>Your Idea</label><br />
  168. <p>
  169. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  170. </p>
  171. <p class="chars-count">
  172. <span class="chars">100</span>
  173. characters remaining
  174. </p>
  175. <button type="button" class="add_btn">Add</button>
  176. </div>
  177. <!-- End of user input -->
  178. </div>
  179. <!-- End of add_box -->
  180. <div class="field-bottom">
  181. <img src="./icons/field1.svg" alt="field1" />
  182. <img src="./icons/number1.svg" alt="number1" />
  183. </div>
  184. </div>
  185. <!-- End of .card -->
  186. </div>
  187. <div class="masonry-layout__panel" id="panel_03">
  188. <div class="card field_03 masonry-layout__panel-content bg--blue">
  189. <h2 class="field-title">
  190. <!-- FIELD -->
  191. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Behaviour
  192. </h2>
  193. <!--
  194. <p class="intro">
  195. How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?
  196. </p>
  197. -->
  198. <!-- Into text toggle -->
  199. <!-- <button type="button" class="intro-toggle"> -->
  200. <!-- glyphicon glyphicon-minus-sign -->
  201. <!--
  202. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  203. <span class="intro-toggle-text">Hide description</span>
  204. </button>
  205. -->
  206. <!-- Item list in the field -->
  207. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  208. <ul id="field_03" class="item_list sortable connectedList">
  209. </ul>
  210. <!-- The Box With All User input Thing -->
  211. <!-- # Tag selected term link -->
  212. <p class="tag-selected-term">
  213. <a href="#">
  214. Tag selected term
  215. </a>
  216. </p>
  217. <div class="add_box">
  218. <!-- # Add idea link -->
  219. <p>
  220. <a class="add-idea" href="#">
  221. Add an idea
  222. </a>
  223. </p>
  224. <!-- # User Input -->
  225. <div class="user-input">
  226. <label>Your Idea</label><br />
  227. <p>
  228. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  229. </p>
  230. <p class="chars-count">
  231. <span class="chars">100</span>
  232. characters remaining
  233. </p>
  234. <button type="button" class="add_btn">Add</button>
  235. </div>
  236. <!-- End of user input -->
  237. </div>
  238. <!-- End of add_box -->
  239. <div class="field-bottom">
  240. <img src="./icons/field3.svg" alt="field3" />
  241. <img src="./icons/number3.svg" alt="number3" />
  242. </div>
  243. </div>
  244. <!-- End of .card -->
  245. </div>
  246. <div class="masonry-layout__panel" id="panel_04">
  247. <div class="card field_04 masonry-layout__panel-content bg--green">
  248. <h2 class="field-title">
  249. <!-- Field -->
  250. <a href="#" data-toggle="tooltip" data-placement="left" title="How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Relations
  251. </h2>
  252. <!--
  253. <p class="intro">
  254. How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?
  255. </p>
  256. -->
  257. <!-- Into text toggle -->
  258. <!-- <button type="button" class="intro-toggle"> -->
  259. <!-- glyphicon glyphicon-minus-sign -->
  260. <!--
  261. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  262. <span class="intro-toggle-text">Hide description</span>
  263. </button>
  264. -->
  265. <!-- Item list in the field -->
  266. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  267. <ul id="field_04" class="item_list sortable connectedList">
  268. </ul>
  269. <!-- The Box With All User input Thing -->
  270. <!-- # Tag selected term link -->
  271. <p class="tag-selected-term">
  272. <a href="#">
  273. Tag selected term
  274. </a>
  275. </p>
  276. <div class="add_box">
  277. <!-- # Add idea link -->
  278. <p>
  279. <a class="add-idea" href="#">
  280. Add an idea
  281. </a>
  282. </p>
  283. <!-- # User Input -->
  284. <div class="user-input">
  285. <label>Your Idea</label><br />
  286. <p>
  287. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  288. </p>
  289. <p class="chars-count">
  290. <span class="chars">100</span>
  291. characters remaining
  292. </p>
  293. <button type="button" class="add_btn">Add</button>
  294. </div>
  295. <!-- End of user input -->
  296. </div>
  297. <!-- End of add_box -->
  298. <div class="field-bottom">
  299. <img src="./icons/field4.svg" alt="field4" />
  300. <img src="./icons/number4.svg" alt="number4" />
  301. </div>
  302. </div>
  303. <!-- End of .card -->
  304. </div>
  305. <div class="masonry-layout__panel" id="panel_09">
  306. <div class="card field_09 masonry-layout__panel-content bg--darkblue">
  307. <h2 class="field-title">
  308. <!-- Field -->
  309. <a href="#" data-toggle="tooltip" data-placement="left" title="What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>What can we do?
  310. </h2>
  311. <!--
  312. <p class="intro">
  313. What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?
  314. </p>
  315. -->
  316. <!-- Into text toggle -->
  317. <!-- <button type="button" class="intro-toggle"> -->
  318. <!-- glyphicon glyphicon-minus-sign -->
  319. <!--
  320. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  321. <span class="intro-toggle-text">Hide description</span>
  322. </button>
  323. -->
  324. <!-- Item list in the field -->
  325. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  326. <ul id="field_09" class="item_list sortable connectedList">
  327. </ul>
  328. <!-- The Box With All User input Thing -->
  329. <!-- # Tag selected term link -->
  330. <p class="tag-selected-term">
  331. <a href="#">
  332. Tag selected term
  333. </a>
  334. </p>
  335. <div class="add_box">
  336. <!-- # Add idea link -->
  337. <p>
  338. <a class="add-idea" href="#">
  339. Add an idea
  340. </a>
  341. </p>
  342. <!-- # User Input -->
  343. <div class="user-input">
  344. <label>Your Idea</label><br />
  345. <p>
  346. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  347. </p>
  348. <p class="chars-count">
  349. <span class="chars">100</span>
  350. characters remaining
  351. </p>
  352. <button type="button" class="add_btn">Add</button>
  353. </div>
  354. <!-- End of user input -->
  355. </div>
  356. <!-- End of add_box -->
  357. <div class="field-bottom">
  358. <img src="./icons/field9.svg" alt="field9" />
  359. <img src="./icons/number9.svg" alt="number9" />
  360. </div>
  361. </div>
  362. <!-- End of .card -->
  363. </div>
  364. <div class="masonry-layout__panel" id="panel_05">
  365. <div class="card field_05 masonry-layout__panel-content bg--seagreen">
  366. <h2 class="field-title">
  367. <!-- Field -->
  368. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Worldviews
  369. </h2>
  370. <!--
  371. <p class="intro">
  372. How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?
  373. </p>
  374. -->
  375. <!-- Into text toggle -->
  376. <!-- <button type="button" class="intro-toggle"> -->
  377. <!-- glyphicon glyphicon-minus-sign -->
  378. <!--
  379. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  380. <span class="intro-toggle-text">Hide description</span>
  381. </button>
  382. -->
  383. <!-- Item list in the field -->
  384. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  385. <ul id="field_05" class="item_list sortable connectedList">
  386. </ul>
  387. <!-- The Box With All User input Thing -->
  388. <!-- # Tag selected term link -->
  389. <p class="tag-selected-term">
  390. <a href="#">
  391. Tag selected term
  392. </a>
  393. </p>
  394. <div class="add_box">
  395. <!-- # Add idea link -->
  396. <p>
  397. <a class="add-idea" href="#">
  398. Add an idea
  399. </a>
  400. </p>
  401. <!-- # User Input -->
  402. <div class="user-input">
  403. <label>Your Idea</label><br />
  404. <p>
  405. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  406. </p>
  407. <p class="chars-count">
  408. <span class="chars">100</span>
  409. characters remaining
  410. </p>
  411. <button type="button" class="add_btn">Add</button>
  412. </div>
  413. <!-- End of user input -->
  414. </div>
  415. <!-- End of add_box -->
  416. <div class="field-bottom">
  417. <img src="./icons/field5.svg" alt="field5" />
  418. <img src="./icons/number5.svg" alt="number5" />
  419. </div>
  420. </div>
  421. <!-- End of .card -->
  422. </div>
  423. <div class="masonry-layout__panel" id="panel_06">
  424. <div class="card field_06 masonry-layout__panel-content bg--green1">
  425. <h2 class="field-title">
  426. <!-- Field -->
  427. <a href="#" data-toggle="tooltip" data-placement="left" title="How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Group Conflicts
  428. </h2>
  429. <!--
  430. <p class="intro">
  431. How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?
  432. </p>
  433. -->
  434. <!-- Into text toggle -->
  435. <!-- <button type="button" class="intro-toggle"> -->
  436. <!-- glyphicon glyphicon-minus-sign -->
  437. <!--
  438. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  439. <span class="intro-toggle-text">Hide description</span>
  440. </button>
  441. -->
  442. <!-- Item list in the field -->
  443. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  444. <ul id="field_06" class="item_list sortable connectedList">
  445. </ul>
  446. <!-- The Box With All User input Thing -->
  447. <!-- # Tag selected term link -->
  448. <p class="tag-selected-term">
  449. <a href="#">
  450. Tag selected term
  451. </a>
  452. </p>
  453. <div class="add_box">
  454. <!-- # Add idea link -->
  455. <p>
  456. <a class="add-idea" href="#">
  457. Add an idea
  458. </a>
  459. </p>
  460. <!-- # User Input -->
  461. <div class="user-input">
  462. <label>Your Idea</label><br />
  463. <p>
  464. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  465. </p>
  466. <p class="chars-count">
  467. <span class="chars">100</span>
  468. characters remaining
  469. </p>
  470. <button type="button" class="add_btn">Add</button>
  471. </div>
  472. <!-- End of user input -->
  473. </div>
  474. <!-- End of add_box -->
  475. <div class="field-bottom">
  476. <img src="./icons/field6.svg" alt="field6" />
  477. <img src="./icons/number6.svg" alt="number6" />
  478. </div>
  479. </div>
  480. <!-- End of .card -->
  481. </div>
  482. <div class="masonry-layout__panel" id="panel_02">
  483. <div class="card field_02 masonry-layout__panel-content bg--purple">
  484. <h2 class="field-title">
  485. <!-- Field -->
  486. <a href="#" data-toggle="tooltip" data-placement="left" title="Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Groups Affected
  487. </h2>
  488. <!--
  489. <p class="intro">
  490. Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?
  491. </p>
  492. -->
  493. <!-- Into text toggle -->
  494. <!-- <button type="button" class="intro-toggle"> -->
  495. <!-- glyphicon glyphicon-minus-sign -->
  496. <!--
  497. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  498. <span class="intro-toggle-text">Hide description</span>
  499. </button>
  500. -->
  501. <!-- Item list in the field -->
  502. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  503. <ul id="field_02" class="item_list sortable connectedList">
  504. </ul>
  505. <!-- The Box With All User input Thing -->
  506. <!-- # Tag selected term link -->
  507. <p class="tag-selected-term">
  508. <a href="#">
  509. Tag selected term
  510. </a>
  511. </p>
  512. <div class="add_box">
  513. <!-- # Add idea link -->
  514. <p>
  515. <a class="add-idea" href="#">
  516. Add an idea
  517. </a>
  518. </p>
  519. <!-- # User Input -->
  520. <div class="user-input">
  521. <label>Your Idea</label><br />
  522. <p>
  523. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  524. </p>
  525. <p class="chars-count">
  526. <span class="chars">100</span>
  527. characters remaining
  528. </p>
  529. <button type="button" class="add_btn">Add</button>
  530. </div>
  531. <!-- End of user input -->
  532. </div>
  533. <!-- End of add_box -->
  534. <div class="field-bottom">
  535. <img src="./icons/field2.svg" alt="field2" />
  536. <img src="./icons/number2.svg" alt="number2" />
  537. </div>
  538. </div>
  539. <!-- End of .card -->
  540. </div>
  541. </div>
  542. <!-- ================ 4 col ================ -->
  543. <div class="masonry-layout2" id="4-col-layout">
  544. <div class="masonry-layout__panel" id="panel_07">
  545. <div class="card field_07 masonry-layout__panel-content bg--blue">
  546. <h2 class="field-title">
  547. <!-- Field -->
  548. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impact of your product or service failing to operate or to be used as intended? What happens with technical errors, security failures, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Product or Service Failure
  549. </h2>
  550. <!--
  551. <p class="intro">
  552. What are potential negative impact of your product or service failing to operate or to be used as intended?
  553. What happens with technical errors, security failures, etc?
  554. </p>
  555. -->
  556. <!-- Into text toggle -->
  557. <!-- <button type="button" class="intro-toggle"> -->
  558. <!-- glyphicon glyphicon-minus-sign -->
  559. <!--
  560. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  561. <span class="intro-toggle-text">Hide description</span>
  562. </button>
  563. -->
  564. <!-- Item list in the field -->
  565. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  566. <ul id="field_07" class="item_list sortable connectedList">
  567. </ul>
  568. <!-- The Box With All User input Thing -->
  569. <!-- # Tag selected term link -->
  570. <p class="tag-selected-term">
  571. <a href="#">
  572. Tag selected term
  573. </a>
  574. </p>
  575. <div class="add_box">
  576. <!-- # Add idea link -->
  577. <p>
  578. <a class="add-idea" href="#">
  579. Add an idea
  580. </a>
  581. </p>
  582. <!-- # User Input -->
  583. <div class="user-input">
  584. <label>Your Idea</label><br />
  585. <p>
  586. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  587. </p>
  588. <p class="chars-count">
  589. <span class="chars">100</span>
  590. characters remaining
  591. </p>
  592. <button type="button" class="add_btn">Add</button>
  593. </div>
  594. <!-- End of user input -->
  595. </div>
  596. <!-- End of add_box -->
  597. <div class="field-bottom">
  598. <img src="./icons/field7.svg" alt="field7" />
  599. <img src="./icons/number7.svg" alt="number7" />
  600. </div>
  601. </div>
  602. <!-- End of .card -->
  603. </div>
  604. <div class="masonry-layout__panel" id="panel_08">
  605. <div class="card field_08 masonry-layout__panel-content bg--green">
  606. <h2 class="field-title">
  607. <!-- Field -->
  608. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Problematic Use of Resources
  609. </h2>
  610. <!--
  611. <p class="intro">
  612. What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?
  613. </p>
  614. -->
  615. <!-- Into text toggle -->
  616. <!-- <button type="button" class="intro-toggle"> -->
  617. <!-- glyphicon glyphicon-minus-sign -->
  618. <!--
  619. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  620. <span class="intro-toggle-text">Hide description</span>
  621. </button>
  622. -->
  623. <!-- Item list in the field -->
  624. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  625. <ul id="field_08" class="item_list sortable connectedList">
  626. </ul>
  627. <!-- The Box With All User input Thing -->
  628. <!-- # Tag selected term link -->
  629. <p class="tag-selected-term">
  630. <a href="#">
  631. Tag selected term
  632. </a>
  633. </p>
  634. <div class="add_box">
  635. <!-- # Add idea link -->
  636. <p>
  637. <a class="add-idea" href="#">
  638. Add an idea
  639. </a>
  640. </p>
  641. <!-- # User Input -->
  642. <div class="user-input">
  643. <label>Your Idea</label><br />
  644. <p>
  645. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  646. </p>
  647. <p class="chars-count">
  648. <span class="chars">100</span>
  649. characters remaining
  650. </p>
  651. <button type="button" class="add_btn">Add</button>
  652. </div>
  653. <!-- End of user input -->
  654. </div>
  655. <!-- End of add_box -->
  656. <div class="field-bottom">
  657. <img src="./icons/field8.svg" alt="field8" />
  658. <img src="./icons/number8.svg" alt="number8" />
  659. </div>
  660. </div>
  661. <!-- End of .card -->
  662. </div>
  663. </div>
  664. </div>
  665. <!-- End of .canvas.box -->
  666. <!-- FORM BUTTON BOX -->
  667. <div class="row">
  668. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  669. <!-- Form button -->
  670. <?php if (!empty($name)) { ?>
  671. <p class="text-center">
  672. <!-- Export JSON and also save the canvas for the registered user -->
  673. <button class="json_exp" type="button" name="json_exp">Save This Canvas</button>
  674. </p>
  675. <!-- BEGIN SHARE CANVAS -->
  676. <p class="text-center">
  677. <button class="share_canvas" type="submit" name="share-canvas">Share This Canvas</button>
  678. </p>
  679. <div class="share_canvas_email text-center">
  680. <p>
  681. <label>Send this canvas to:</label>
  682. </p>
  683. <p>
  684. <input type="email" name="share-canvas-email" placeholder="type an email adress here..."/>
  685. </p>
  686. <p class="text-center">
  687. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  688. </p>
  689. </div>
  690. <!-- END SHARE CANVAS -->
  691. <?php } else { ?>
  692. <p class="text-center">
  693. <!-- Export JSON and also save the canvas for the registered user -->
  694. <a class="login-to-save" href="../index.html">Sign up or login to save your canvas</a>
  695. </p>
  696. <?php }?>
  697. <!-- BEGIN EXPORT PDF -->
  698. <p class="text-center">
  699. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  700. </p>
  701. <!-- END EXPORT PDF -->
  702. </div>
  703. </div>
  704. <!-- Start of move-window -->
  705. <div class="window" id="move-window">
  706. <button type="button" class="close" aria-label="Close">
  707. <span aria-hidden="true">&times;</span>
  708. </button>
  709. <h2>Move idea</h2>
  710. <ul>
  711. <li>
  712. <a href="#">1.&nbsp;&nbsp;Individuals Affected</a>
  713. </li>
  714. <li>
  715. <a href="#">2.&nbsp;&nbsp;Groups Affected</a>
  716. </li>
  717. <li>
  718. <a href="#">3.&nbsp;&nbsp;Behaviour</a>
  719. </li>
  720. <li>
  721. <a href="#">4.&nbsp;&nbsp;Relations</a>
  722. </li>
  723. <li>
  724. <a href="#">5.&nbsp;&nbsp;Worldviews</a>
  725. </li>
  726. <li>
  727. <a href="#">6.&nbsp;&nbsp;Group Conflicts</a>
  728. </li>
  729. <li>
  730. <a href="#">7.&nbsp;&nbsp;Product or Service Failure</a>
  731. </li>
  732. <li>
  733. <a href="#">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  734. </li>
  735. <li>
  736. <a href="#">9.&nbsp;&nbsp;What can we do?</a>
  737. </li>
  738. </ul>
  739. <!--
  740. <h2 id="tag-description">
  741. My description of this tag
  742. </h2>
  743. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  744. <p class="chars-count">
  745. <span class="chars">200</span>
  746. characters remaining
  747. </p>
  748. <button type="button" class="move-window-button" id="save-tag">Save tag</button>&nbsp;
  749. <button type="button" class="move-window-button" id="delete-tag">Delete tag</button>
  750. <h2 class="similar-tags">Similar tags by other users</h2>
  751. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  752. -->
  753. </div>
  754. <!-- End of move-window -->
  755. <!-- Start of tag-window -->
  756. <div class="window" id="tag-window">
  757. <button type="button" class="close" aria-label="Close">
  758. <span aria-hidden="true">&times;</span>
  759. </button>
  760. <h2 id="tag-description">
  761. My description of this tag
  762. </h2>
  763. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  764. <p class="chars-count">
  765. <span class="chars">200</span>
  766. characters remaining
  767. </p>
  768. <button type="button" class="tag-window-button" id="save-tag">Save tag</button>&nbsp;
  769. <button type="button" class="tag-window-button" id="delete-tag">Delete tag</button>
  770. <h2 class="similar-tags">Similar tags by other users</h2>
  771. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  772. </div>
  773. <!-- End of tag-window -->
  774. </form>
  775. <!-- End of .form -->
  776. <!-- Hidden place to show JSON info -->
  777. <pre id="result" class="text-center">
  778. </pre>
  779. <div class="row">
  780. <footer class="col-md-12 text-center">
  781. <div class="contact">
  782. <h2>Contact us:</h2>
  783. <p> hello@ethicscanvas.org </p>
  784. </div>
  785. <div class="license">
  786. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  787. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  788. </p>
  789. <p>
  790. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  791. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  792. <p>
  793. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  794. </p>
  795. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  796. View the original Business Model Canvas on:
  797. </p>
  798. <p>
  799. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  800. </p>
  801. </div>
  802. <div class="license-icons">
  803. <ul>
  804. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  805. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  806. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  807. <li> <img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  808. <li> <img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  809. </ul>
  810. </div>
  811. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  812. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  813. <p class="ethics-copy">The ADAPT Centre for Digital Content Technology</p> <p class="ethics-copy">is funded under the SFI Research Centres Programme (Grant 13/RC/2106).</p><p class="ethics-copy">It is co-funded under the European Regional Development Fund.</p>
  814. <p class="ethics-copy">Ethics Canvas v1.7|&copy; ADAPT Center &amp; Trinity College Dublin &amp; Dublin City University, 2016</p>
  815. </footer>
  816. </div>
  817. </div>
  818. <!-- End of container-fluid -->
  819. <!-- Start of dialogs -->
  820. <div id="shadow">&nbsp;</div>
  821. <div class="dialog" id="dialog-log-in" title="Please log in">
  822. <p>Please log in to use this function.</p>
  823. </div>
  824. <div class="dialog" id="dialog-select-term" title="Please select term">
  825. <p>Please select a term to be tagged.</p>
  826. </div>
  827. <!--
  828. <div class="dialog" id="dialog-tag-already-exists" title="Tag already exists">
  829. <p>The tag already exists!</p>
  830. </div>
  831. -->
  832. <!-- End of ialogs -->
  833. <!-- jQuery -->
  834. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  835. <!-- jquery UI -->
  836. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  837. <!-- Bootstrap -->
  838. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  839. <!-- Bootstrap -->
  840. <script src="js/jquery-fieldselection.min.js"></script>
  841. <!-- The app javascript -->
  842. <script src="js/canvas.js" charset="utf-8"></script>
  843. <script language="javascript" type="text/javascript"></script>
  844. </body>
  845. </html>